streamify-array
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.0.062latest

Version History

VersionDownloads (Last 7 Days)Published
2.0.062
1.0.116,132
1.0.02

Package Sidebar

Install

npm i streamify-array

Weekly Downloads

16,196

Version

2.0.0

License

MIT

Unpacked Size

4.06 kB

Total Files

6

Last publish

Collaborators

  • rubensworks