Permalink
Browse files

documented from(array)

  • Loading branch information...
1 parent 2640810 commit 76aa5188be3d6cdb6700b42e9b42b810c88d5df1 @juliangruber juliangruber committed Feb 19, 2013
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 76aa518

Please sign in to comment.