Skip to content

Human-readable patch to the streams specification to add support for ReadableStream

Notifications You must be signed in to change notification settings

ricea/encoding-streams

Repository files navigation

ReadableStream support for Encoding

Human-readable patch to the Encoding Standard to add support for transform streams.

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

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.

About

Human-readable patch to the streams specification to add support for ReadableStream

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published