GitShow/sindresorhus/into-stream
sindresorhus

into-stream

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

by sindresorhus
nodejsnpm-packagereadable-streamstream
Star on GitHubForknpm

JavaScript

215 stars15 forks10 contributorsQuiet · 5mo agoSince 2015MIT

Meet the team

See all 10 on GitHub →
sindresorhus
sindresorhus42 contributions
BendingBender
BendingBender2 contributions
darsain
darsain2 contributions
amitguptagwl
amitguptagwl1 contribution
aheuermann
aheuermann1 contribution
mifi
mifi1 contribution
papb
papb1 contribution
Richienb
Richienb1 contribution

Languages

View on GitHub →
JavaScript78.2%
TypeScript21.8%

Recent fixes

View closed PRs →
louisgv
ReadableStream supportClosedIssue

It would be awesome if this library can convert ReadableStream into stream.Readable. Key use case is to stream a file from the browser.

louisgv · 5mo ago
fleg
Add readable stream supportClosedIssue

Check with isStream.readable and if it readable stream just return . What do you think? It would be extremely convenient in cases like this:

fleg · 5mo ago
raskyer
Does this library supports AsyncIterator<Uint8Array> ? ClosedIssue

By using @remix/remix-run and its multipart feature, we receive an AsyncIterator as data. In order to easily upload to Azure storage, we need to transform this AsyncIterator to : ArrayBuffer / Blob or Readable Stream Does this library can handle such AsyncIterator? I can see in the ts types an AsyncIterator but of buffer or string not Uint8Array. Thanks

raskyer · 9mo ago
Structured data for AI agents

Repository: sindresorhus/into-stream. Description: Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream Stars: 215, Forks: 15. Primary language: JavaScript. Languages: JavaScript (78.2%), TypeScript (21.8%). License: MIT. Topics: nodejs, npm-package, readable-stream, stream. Open PRs: 0, open issues: 0. Last activity: 5mo ago. Top contributors: sindresorhus, BendingBender, darsain, amitguptagwl, aheuermann, mifi, papb, Richienb, floatdrop.

·@ofershap

Replace github.com with gitshow.dev