Skip to content

Web Streams Standard implementation and polyfill

License

Notifications You must be signed in to change notification settings

superfly/sd-streams

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

136 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Stardazed Web Streams Implementation

A fully compliant implementation of and polyfill for the Web Streams Standard Specification plus related types from the Encoding Standard.

This repository is a so-called monorepo, it contains several packages that together make up a group of related functionality. Currently included are:

๐Ÿ‘‰ @stardazed/streams โ€” a full implementation of the streams standard with no dependencies that works in all (reasonably) modern browsers and in Node.

๐Ÿ‘‰ @stardazed/streams-fetch-adapter โ€” helper functions to create custom versions of fetch and Response types to enable any (mock) implementation of the streams standard to work directly with fetch, including uploads using streams.

๐Ÿ‘‰ @stardazed/streams-text-encoding โ€” an implementation of the TextDecoderStream and TextEncoderStream from the Encoding standard, linking the two standards for best compatibility and reusability.

๐Ÿ‘‰ @stardazed/streams-polyfill โ€” a polyfill combining the above three packages for a seamless, drop-in integration of stardazed streams + fetch + encoding in modern browsers and Node.

Copyright

ยฉ 2018 by Arthur Langereis - @zenmumbler

License

MIT

About

Web Streams Standard implementation and polyfill

Resources

License

Stars

Watchers

Forks

Packages

No packages published