Skip to content

LazyStreams v1.0.12

Choose a tag to compare

@gneissguise gneissguise released this 12 Nov 06:52
· 10 commits to main since this release

πŸš€ 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.ts and index.d.ts.
  • Lazy Evaluation Core: Efficient, powerful functions for lazy data handling with support for map, filter, and take methods 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

GitHub Repository
npm package


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