https://github.com/ricea/encoding-streams
Human-readable patch to the streams specification to add support for ReadableStream
https://github.com/ricea/encoding-streams
Last synced: 10 months ago
JSON representation
Human-readable patch to the streams specification to add support for ReadableStream
- Host: GitHub
- URL: https://github.com/ricea/encoding-streams
- Owner: ricea
- Created: 2016-10-03T08:07:39.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-06-04T09:22:58.000Z (over 7 years ago)
- Last Synced: 2025-01-25T13:22:20.567Z (12 months ago)
- Language: HTML
- Size: 44.9 KB
- Stars: 10
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-list - encoding-streams - readable patch to the streams specification to add support for ReadableStream | ricea | 8 | (HTML)
README
# ReadableStream support for Encoding
Human-readable patch to the [Encoding Standard](http://encoding.spec.whatwg.org)
to add support for [transform streams](http://streams.spec.whatwg.org/#ts-model).
To see the HTML rendered as HTML, go to
http://htmlpreview.github.io/?https://github.com/ricea/encoding-streams/blob/master/patch.html
This enables uses like
```javascript
const response = await fetch(url)
let stringStream = response.body.pipeThough(new TextDecoderStream());
```
The Bikeshed source for these changes can be found at
https://github.com/ricea/encoding/blob/stream-support/encoding.bs.