node-lazystream
node-lazystream copied to clipboard
Create streams lazily when they are accessed (read from/written to).
readable-stream is on versions 4.x now. 2.x gets duplicated against newer versions and includes unneeded legacy dependencies like `isarray`.
Just noticed this while auditing my npm modules. You might want to use the `files` property in your package.json to ship only the necessary files (lib/)
fixed by replace line 2 `var PassThrough = require('readable-stream/passthrough');` with `var {PassThrough} = require('readable-stream');`
This will require a new major release.