fetch-request-body-to-stream
Convert fetch request body values to a readable stream. Normalizes strings / Buffers / BufferSource / Streams / Form Data
Supported body types:
- String
- Buffer
- ArrayBuffer
- TypedArray
- Blob
- UploadData (bytes/file/blobUUID)
- WHATWG ReadableStream
- Node.js Stream
Usage
const bodyToStream = const stream =
With electron:
sessionprotocol