🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

streamify-array

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
s

streamify-array

Converts an array into a Node readable stream

2.0.0
latest
80

Supply Chain Security

100

Vulnerability

62

Quality

79

Maintenance

100

License

Version published
Weekly downloads
8.5K
4.67%
Maintainers
0
Weekly downloads
 
Created
Issues
6

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.

FAQs

Package last updated on 18 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts