Login
OneManager
Home
/
Bethel
/
tmp
/
october-report-20261021
/
node_modules
/
stream-combiner
File
OriginalPic
Thumbnails
CopyAllDownloadUrl
EditTime
Size
test
2026-10-14 12:35:22
1.02 KB
index.js
2026-10-21 07:16:33
912 B
LICENSE
2026-10-21 07:16:33
1.05 KB
package.json
2026-10-21 07:16:33
530 B
README.md
2026-10-21 07:16:33
890 B
# stream-combiner
## Combine (stream1,...,streamN) Turn a pipeline into a single stream. `pipeline` returns a stream that writes to the first stream and reads from the last stream. Listening for 'error' will recieve errors from all streams inside the pipe. ``` js var Combine = require('stream-combiner') var es = require('event-stream') Combine( //connect streams together with `pipe` process.openStdin(), //open stdin es.split(), //split stream to break on newlines es.map(function (data, callback) {//turn this async function into a stream callback(null , inspect(JSON.parse(data))) //render it nicely }), process.stdout // pipe it to stdout ! ) ``` ## License MIT
Close
2026-10-29 08:07:38 Thursday 216.73.216.30 Runningtime:1.025s Mem:414.37 KB