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

0.0.13 • Public • Published

Streams

Node CI

A lazy streams library for functional composition in JavaScript.

import "streams/polyfill";

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

Readme

Keywords

none

Package Sidebar

Install

npm i streams

Weekly Downloads

221

Version

0.0.13

License

MIT

Unpacked Size

48.2 kB

Total Files

35

Last publish

Collaborators

  • cohara87
  • nikolaybotev