[Pkg-javascript-commits] [node-stream-combiner2] 04/41: update docs
Bastien Roucariès
rouca at moszumanska.debian.org
Wed Sep 6 09:57:51 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-stream-combiner2.
commit 7fa9d2202291035011e9cc01522e83d86f02cb55
Author: Dominic Tarr <dominic.tarr at gmail.com>
Date: Mon Mar 18 14:18:16 2013 +1300
update docs
---
README.md | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index d0c129c..565e0e2 100644
--- a/README.md
+++ b/README.md
@@ -2,18 +2,18 @@
<img src=https://secure.travis-ci.org/dominictarr/stream-combiner.png?branch=master>
-## pipeline (stream1,...,streamN)
+## 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.
-> `connect` is an alias for `pipeline`.
-
``` js
+ var Combine = require('stream-combiner')
+ var es = require('event-stream')
- es.pipeline( //connect streams together with `pipe`
+ 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-stream-combiner2.git
More information about the Pkg-javascript-commits
mailing list