JSPM

streamify-array

2.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 8180
  • Score
    100M100P100Q129052F
  • License MIT

Converts an array into a Node readable stream

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

npm version

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.