Socket
Socket
Sign inDemoInstall

@web-std/stream

Package Overview
Dependencies
1
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@web-std/stream

Web API compatible streams for node/web


Version published
Maintainers
1
Weekly downloads
77,056
decreased by-2.54%

Weekly downloads

Readme

Source

@web-std/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 "@web-std/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 @web-std/stream

Keywords

FAQs

Last updated on 28 Aug 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc