LazyStreams v1.0.12
π LazyStreams v1.0.12 β Powerful, Modular, Lazy Evaluation Streams
Monadica's LazyStreams has reached its v1.0.12 release! This version delivers an elegantly modular approach to lazy data evaluation for TypeScript applications, now with optimized features and full support for multiple module formats. And yes the version number generator got stuck in a loop and incremented it a dozen times before I could spam ^C in my terminal window.
π Highlights of v1.0.12
- Multi-Format Distribution: Seamless integration across ESM, CommonJS, UMD, and AMD, with compiled files in the dist/folder for versatile use in any JavaScript environment.
- Enhanced Documentation: Dive into our comprehensive documentation at docs/, including the LazyStream API, ILazyStream interface, and detailed class/module pages, complete with navigation, search, and highlighted code snippets.
- Strong Typing & Type Declarations: Full TypeScript type declarations, ensuring type safety and helping your editor give better suggestions, available in LazyStream.d.tsandindex.d.ts.
- Lazy Evaluation Core: Efficient, powerful functions for lazy data handling with support for map,filter, andtakemethods that make streaming data processing effortless.
π§ Whatβs Inside
The release package includes:
- dist/: All compiled and minified modules (ESM, CommonJS, UMD, AMD) with maps and type definitions.
- docs/: Auto-generated documentation that gives you easy-to-navigate pages for each class, interface, and module.
π Installation
To install the latest version from npm:
npm install @monadica/lazy-streamsβ‘ Quick Start Example
Hereβs how to use LazyStreams for a lazy data processing pipeline:
import { LazyStream } from '@monadica/lazy-streams';
const stream = LazyStream.from([1, 2, 3, 4, 5])
  .map(x => x * 2)
  .filter(x => x > 4)
  .take(2);
console.log(stream.toArray()); // Output: [6, 8]π Links
Thank you for being a part of Monadicaβs journey toward creating modular, powerful, and efficient tools. Happy coding with LazyStreams! π
Full Changelog: v1.0.3...v1.0.12