git ssb

2+

Dominic / pull-stream



Commit 9d9abd26492b94a6b650b38e7db4ef41257d64d7

update docs

nichoth authored on 10/13/2016, 10:58:53 PM
GitHub committed on 10/13/2016, 10:58:53 PM
Parent: a81d5b4839992b6e494921404deee61709e162bf

Files changed

docs/throughs/flatten.mdchanged
docs/throughs/flatten.mdView
@@ -1,8 +1,12 @@
11 # pull-stream/throughs/flatten
22
3-`flatten = require('pull-stream/throughs/flatten')`
3+## usage
4+### `flatten = require('pull-stream/throughs/flatten')`
5+### `flatten(streams)`
6+Turn a stream of streams or a stream of arrays into a stream of their items, (undoes group).
47
8+
59 ## example
610 ```js
711 test('flatten arrays', function (t) {
812 pull(
@@ -35,10 +39,4 @@
3539 )
3640
3741 })
3842 ```
39-
40-## usage
41-
42-### `flatten(streams)`
43-
44-Turn a stream of streams or a stream of arrays into a stream of their items, (undoes group).

Built with git-ssb-web