iterable-to-stream
Converts iterable objects into readable streams.
Last updated 3 years ago by jason-dent .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install iterable-to-stream 
SYNC missed versions from official npm registry.

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

Current Tags

  • 2.0.0                                ...           latest (3 years ago)

3 Versions

  • 2.0.0                                ...           3 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (12)

Copyright 2013 - present © cnpmjs.org | Home |