New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@dex4er/stream.pipeline

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dex4er/stream.pipeline

Polyfill/shim for stream.pipeline in node versions < v10

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

stream.pipeline

Build Status npm

Polyfill for stream.pipeline in node versions < v10

node v10.0.0 added support for a built-in stream.pipeline: https://github.com/nodejs/node/pull/19828

This package provides the built-in stream.pipeline in node v10.0.0 and later, and a replacement in other environments.

This module requires Node >= 5.

This package implements the es-shim API interface. It works in an ES5-supported environment and complies with the spec.

Usage

Direct

const pipeline = require('@dex4er/stream.pipeline');
// Use `pipeline` just like the built-in method on `stream`

Shim

require('@dex4er/stream.pipeline/shim')();
// `stream.pipeline` is now defined
const stream = require('stream');
// Use `stream.pipeline`

or:

require('@dex4er/stream.pipeline/auto');
// `stream.pipeline` is now defined
const stream = require('stream');
// Use `stream.pipeline`

Warning

This package had to be named just stream.pipeline, but there is already some package with similar name and then I've got:

npm ERR! Package name too similar to existing packages; try renaming your package to '@dex4er/stream.pipeline' and publishing with 'npm publish --access=public' instead : stream.pipeline

Keywords

FAQs

Package last updated on 18 May 2018

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