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.
ยฉ 2018 by Arthur Langereis - @zenmumbler
MIT