web-streams-polyfill icon indicating copy to clipboard operation
web-streams-polyfill copied to clipboard

Web Streams, based on the WHATWG spec reference implementation

Results 8 web-streams-polyfill issues
Sort by recently updated
recently updated
newest added

I have a project that has a library of streaming classes that are intended to be used both in NodeJS runtimes and in browsers. I'd like to use web-streams-polyfill in...

I thought instead of using a own custom DOMexception class, how about using this npm [package](https://github.com/jimmywarting/node-domexception) instead?

Hello!! We have a type error when do this: ```` window.ReadableStream = ReadableStream; ```` Error: ``` Type 'typeof ReadableStream' is not assignable to type '{ new (underlyingSource: UnderlyingByteSource, strategy?: {...

Hi I was looking to see if we could get an example to polyfill web-streams TextDecoderStream for browsers like firefox as listed here: https://developer.mozilla.org/en-US/docs/Web/API/TransformStream It would be great if I...

question

Inspired by [this tweet](https://twitter.com/DasSurma/status/1109219867322920960) from @surma: > @MattiasBuelens Is it possible to offer up the polyfills for Readable, Writable and Transform individually? Most browsers have Readable, so ideally I’d only...

question

Hi, thanks for this great polyfill first. I want to close the `WritableStream` when the user cancels the download process, but it throws as title, is there any solution? I'm...

question

Hi, On building this package with rollup, I got errors below, ``` + rollup -c src/polyfill.ts → dist/polyfill.js, dist/polyfill.mjs... (!) Circular dependencies src/lib/readable-stream.ts -> src/lib/readable-stream/async-iterator.ts -> src/lib/readable-stream/default-reader.ts -> src/lib/readable-stream/generic-reader.ts ->...

question

At the moment the polyfill follows the reference implementation in keeping private instance data in fields with leading underscores: ```ts export class ReadableStream { /** @internal */ _state!: ReadableStreamState; /**...