@remix-run/web-stream
Web API compatible streams for node/web
Last updated a year ago by mjackson .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @remix-run/web-stream 
SYNC missed versions from official npm registry.

@remix-run/web-stream

ci package downloads styled with prettier

Web streams APIs across web & node. In browsers this library just exports stream constructors, in node it exports [native web stream implementations][node webstreams] when available and web-streams-polyfill

⚠️ Please note that library makes no attempt to polyfill WritableStream or TransforStream in web browsers that do not have them.

Usage

import {
  ReadableStream,
  WritableStream,
  TransformStream,
} from "@remix-run/web-stream"

Usage from Typescript

This library makes use of typescript using JSDOC annotations and also generates type definitions along with typed definition maps. So you should be able to get all the type inference out of the box.

Install

npm install @remix-run/web-stream

Current Tags

  • 1.1.0                                ...           latest (a year ago)
  • 1.1.0-pre.0                                ...           pre (a year ago)

5 Versions

  • 1.1.0                                ...           a year ago
  • 1.1.0-pre.0                                ...           a year ago
  • 1.0.4                                ...           a year ago
  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (9)

© 2010 - cnpmjs.org x YWFE | Home | YWFE