Permalink
Browse files

Merge pull request #5 from juliangruber/patch-1

documented from(array)
  • Loading branch information...
dominictarr committed Feb 19, 2013
2 parents 2640810 + 76aa518 commit 6694bc61557e4b09fe64ed28b88aa3d653ec6c6a
Showing with 5 additions and 1 deletion.
  1. +5 −1 readme.markdown
View
@@ -12,7 +12,7 @@ until the user emits `'end'`
if `pause()` is called, the `getChunk` won't be called again untill `resume()` is called.
-``` js
+```js
var from = require('from')
var stream =
@@ -30,5 +30,9 @@ var stream =
})
```
+## from(array)
+
+from also takes an `Array` whose elements it emits one after another.
+
## License
MIT / Apache2

0 comments on commit 6694bc6

Please sign in to comment.