Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@web-std/stream

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@web-std/stream

Web API compatible streams for node/web

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
97K
increased by0.78%
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 19 Jan 2022

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc