Codebase list node-stream-array / upstream/1.1.2+git20160430.707f590
Import upstream version 1.1.2+git20160430.707f590, md5 99996fcf8464ae83cc11bc40dc692257 Debian Janitor 5 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
2727 The result of [require][13] is a 'function()' that when invoked, will return a
2828 [Readable][11] [Stream][12].
2929
30 ```
30 ```js
3131 var streamify = require('stream-array');
3232 ```
3333
3535 stream can handle it. Each element in the array will be [pushed][14] into the
3636 [piped][15] stream, **without** modifying the source array.
3737
38 ```
38 ```js
3939 var readable = streamify(['Hello', new Buffer('World')]);
4040 ```
4141
4242 This [Stream][12] will [push][14] each element of the source array into the
4343 [piped][15] array.
4444
45 ```
45 ```js
4646 readable(['1', '2', '3', os.EOL]).pipe(process.stdout);
4747 ```
4848