into-stream

Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream

MIT License

Downloads
14.6M
Stars
205
Committers
10

Bot releases are visible (Hide)

into-stream - Latest Release

Published by sindresorhus 11 months ago

  • Throw user-friendly error message on undefined input d38670e

https://github.com/sindresorhus/into-stream/compare/v8.0.0...v8.0.1

into-stream -

Published by sindresorhus over 1 year ago

Breaking

  • Require Node.js 16 ebbad60
  • It no longer chunks up the input if it's a string.
    • This should not really matter as the chunks are not guaranteed to be preserved anyway.

https://github.com/sindresorhus/into-stream/compare/v7.0.0...v8.0.0

into-stream -

Published by sindresorhus over 3 years ago

Breaking

  • Require Node.js 12 1bf0852
  • This package is now pure ESM. Please read this.

https://github.com/sindresorhus/into-stream/compare/v6.0.0...v7.0.0

into-stream -

Published by sindresorhus about 4 years ago

Breaking

  • Require Node.js 10 0d08ee4

Breaking for TypeScript users

  • Only use a CommonJS export for the TypeScript definition (reason)
    You need to change import intoStream from 'into-stream'; to import intoStream = require('into-stream');

Enhancements

  • Support async iterables (#16) 62f1ed7
  • Allow arrays of arrays in intoStream.object TypeScript type definition (#15) ef2b8dc

https://github.com/sindresorhus/into-stream/compare/v5.1.1...v6.0.0

into-stream -

Published by sindresorhus about 5 years ago

  • Fix TypeScript definition for TypeScript 3.5 d83ec15

https://github.com/sindresorhus/into-stream/compare/v5.1.0...v5.1.1

into-stream -

Published by sindresorhus over 5 years ago

  • Refactor TypeScript definition to CommonJS compatible export (#12) ea52348

https://github.com/sindresorhus/into-stream/compare/v5.0.0...v5.1.0

into-stream -

Published by sindresorhus over 5 years ago

Breaking:

  • Rename intoStream.obj to intoStream.object f6b7454
  • Require Node.js 8 (#11) 1e656a6

Enhancements:

  • Add TypeScript definition (#11) 1e656a6

https://github.com/sindresorhus/into-stream/compare/v4.0.0...v5.0.0

into-stream -

Published by sindresorhus about 6 years ago

Breaking:

  • Require Node.js 6. 05b9ac0

Other:

  • Add support for TypedArray and ArrayBuffer. ec6ef5c