JSPM

iterable-to-stream

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

Converts iterable objects into readable streams.

Package Exports

  • iterable-to-stream

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 (iterable-to-stream) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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