streams
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

Streams

Node CI

A lazy streams library for functional composition in JavaScript.

import "streams/factories";

process.stdin
  .lines()
  .stream()
  .map((s) => s.toLocaleUpperCase())
  .filter((s) => s.length > 3)
  .batch(3)
  .take(2)
  .forEach(console.log)
  .then((_) => console.log("-- all done --"));

Readme

Keywords

none

Package Sidebar

Install

npm i streams

Weekly Downloads

1,618

Version

2.0.0

License

MIT

Unpacked Size

119 kB

Total Files

73

Last publish

Collaborators

  • cohara87
  • nikolaybotev