Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream
by sindresorhusJavaScript
Last 12 weeks · 0 commits
4 of 6 standards met
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
Repository: sindresorhus/into-stream. Description: Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream Stars: 213, 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 (6mo ago). Open PRs: 0, open issues: 0. Last activity: 6mo ago. Community health: 85%. Top contributors: sindresorhus, BendingBender, darsain, amitguptagwl, aheuermann, mifi, papb, Richienb, floatdrop.