Package Exports
- streamify-array
- streamify-array/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (streamify-array) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Streamify Array
Converts an array into a Node readable stream.
This is a very simple zero-dependency implementation.
Usage
import { streamifyArray } from 'streamify-array';
let stream = streamifyArray([ 'a', 'b', 'c' ]);
stream.on('data', (d) => console.log('Data: ' + d));
stream.on('end', () => console.log('Done!'))
License
This software is written by Ruben Taelman.
This code is released under the MIT license.