duplexer2
duplexer2 copied to clipboard
Like duplexer (http://npm.im/duplexer) but using streams2
With default options, the error on the first stream is emitted twice: ```javascript var duplexer = require('duplexer2'); var through = require('through2'); var combinedStream = duplexer( through(function(chunk, enc, next) { next(new...
* Fix testing issue with Node version >= 10 (fixes #29) * Update dependencies to fix security issues found by NPM * Update TravisCI to use supported versions of Node...
WHEN stream is no more required and need to be disabled like suggested in subtitle node module : BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core...
Hello, I had to add this patch to make tests work: ```diff --- a/test/tests.js +++ b/test/tests.js @@ -173,7 +173,7 @@ var duplexStream = duplexer3(writable, readable); duplexStream.end("aaa"); - assert.equal(readable._readableState.flowing, null); +...
changed the call to duplexer2() in the example, and added a comment indicating that its objectMode option should be set to match the writable and readable streams
I'm not sure if there's anything you can reasonably do about this without getting even deeper into the stream internals, but a documentation update would be great so future people...
Currently this repo has some unreviewed (and important) PRs and open issues, but hasn't been updated for a long time. @deoxxa I'd happily maintain this repo if you want to...