Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream
by sindresorhusJavaScript
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: 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.