lazy-stream

2.0.1 • Public • Published

lazy-stream

Lazily created streams.

Installation

npm install lazy-stream

API

lazyStream.Readable(opts, Factory)

lazyStream.Readable(Factory)

lazyStream.Writable(opts, Factory)

lazyStream.Writable(Factory)

lazyStream.Duplex(opts, Factory)

lazyStream.Duplex(Factory)

Returns a lazy stream. It will call new Factory(opts) when anyone tries to read from it, and pass data through from the stream returned.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.1
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.1
    0
  • 2.0.0
    0
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    1

Package Sidebar

Install

npm i lazy-stream

Weekly Downloads

1

Version

2.0.1

License

MIT

Last publish

Collaborators

  • nathan7