summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/through/readme.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/through/readme.markdown')
-rw-r--r--deps/npm/node_modules/through/readme.markdown6
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/npm/node_modules/through/readme.markdown b/deps/npm/node_modules/through/readme.markdown
index 4939fffe42..cb34c8135f 100644
--- a/deps/npm/node_modules/through/readme.markdown
+++ b/deps/npm/node_modules/through/readme.markdown
@@ -3,14 +3,14 @@
[![build status](https://secure.travis-ci.org/dominictarr/through.png)](http://travis-ci.org/dominictarr/through)
[![testling badge](https://ci.testling.com/dominictarr/through.png)](https://ci.testling.com/dominictarr/through)
-Easy way to create a `Stream` that is both `readable` and `writable`.
+Easy way to create a `Stream` that is both `readable` and `writable`.
* Pass in optional `write` and `end` methods.
* `through` takes care of pause/resume logic if you use `this.queue(data)` instead of `this.emit('data', data)`.
* Use `this.pause()` and `this.resume()` to manage flow.
* Check `this.paused` to see current flow state. (`write` always returns `!this.paused`).
-This function is the basis for most of the synchronous streams in
+This function is the basis for most of the synchronous streams in
[event-stream](http://github.com/dominictarr/event-stream).
``` js
@@ -32,7 +32,7 @@ var through = require('through')
through(function write(data) {
this.emit('data', data)
- //this.pause()
+ //this.pause()
},
function end () { //optional
this.emit('end')