Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

iterable-to-stream

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iterable-to-stream

Converts iterable objects into readable streams.

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
24K
increased by22.45%
Maintainers
1
Weekly downloads
 
Created
Source

iterable-to-stream

Convert iterable objects into node readable streams.

import iterableToStream from 'iterable-to-stream';

iterableToStream(['one', 'two', 'three']).pipe(process.stdout);

Note

With version 10, Node introduced stream.Readable.from which converts an iterator to a stream.

This library will use the Node version if it is available.

Notice of Deprecation

This library will be deprecated when Node 12 is deprecated.

Supported Node Versions

  • 12.x, 14.x, 15.x
  • Unsupported, but should still work: 8.x, 10.x

Keywords

FAQs

Package last updated on 12 May 2021

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc