NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #87 most downloaded on npm
Get a stream as a string, Buffer, ArrayBuffer or array
Last release 3 years ago
no release in 18 months
Release timing varies
gaps range from 4 weeks to 2.1 years
Some releases are documented
notes for 11 of 22 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
22 releases · first in 2015
Upgrade ReadableStream[Symbol.asyncIterator] ponyfill ( #128 ) df42674
One column per quarter.
Ensure error.bufferedData is as full as possible.
error.bufferedData is as full as possible. (#106)maxBuffer option being one byte off in some edge case. (#105)Huge thanks to @ehmicky for doing all the work for this release 🙌
Huge thanks to @ehmicky for doing all the work for this release 🙌
encoding option. (#69, #67)
buffer.toString('hex') or buffer.toString('base64') can also be used.ReadableStream). (#82, #78, #79, #80)getStreamAsArray() method to pass streams in object mode. (#86)getStreamAsArrayBuffer() method to return the stream as an ArrayBuffer. (#81)ArrayBuffer, set error.bufferedData with the partially read data instead of leaving it empty. (#68, #48)maxBuffer stops infinite streams. (#62)maxBuffer. (#42, #69).error.bufferedData when the stream errors for other reasons than maxBuffer. (#56, #63)error.bufferedData is smaller than maxBuffer. (#89)stream argument must be a Readable, ReadableStream or AsyncIterable. (#71)Blob and JSON streaming. (#58, #95, #96, #97)Work around issue with handling large sizes e58d141
This package is now pure ESM. Please read this .
getStream.array()
readableStream.toArray() instead. Exampleconst getStream = require('get-stream'); getStream.buffer(…); → import {getStreamAsBuffer} from 'get-stream'; getStreamAsBuffer(…);const getStream = require('get-stream'); getStream.MaxBufferError; → import {MaxBufferError} from 'get-stream'; MaxBufferError;You may not need this package anymore.
Fix TypeScript type for the .buffer() method ( #44 ) 0ee784a
Only use a CommonJS export for the TypeScript definition ( reason ) You need to change import getStream from 'get-stream'; to import getStream = requi
Allow maxBuffer option to be set to Buffer MAX_LENGTH ( #40 ) 127d83c
Refactor TypeScript definition to CommonJS compatible export ( #31 ) 0c3b07d
Require Node.js 8 (#28) 4ddb7f0
Breaking:
Enhancements:
https://github.com/sindresorhus/get-stream/compare/v4.1.0...v5.0.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →