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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

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