sindresorhus

into-stream

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

by sindresorhus

JavaScript

JavaScript78.2%
TypeScript21.8%

Commit activity

Last 12 weeks · 1 commit

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template
louisgv

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 · 8mo ago
fleg

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 · 8mo ago
raskyer

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 · 1y 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: 212, Forks: 15. Primary language: JavaScript. Languages: JavaScript (78.2%), TypeScript (21.8%). License: MIT. Topics: nodejs, npm-package, readable-stream, stream. Latest release: v9.1.0 (8mo ago). Open PRs: 0, open issues: 0. Last activity: 1mo ago. Community health: 85%. Top contributors: sindresorhus, BendingBender, darsain, amitguptagwl, aheuermann, mifi, papb, Richienb, floatdrop.