New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

smash-streams

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smash-streams

Smash your node streams together and consume them as one.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

smash-streams

NPM version Build Status Dependency Status

Smash your streams together and consume them as one stream.

API

smash-streams(...streams)

Returns a new instance of SmashStream

SmashStream

Class that smashes all stream arguments into one.

Usage

CommonJS

var smashStreams = require('smash-streams');

smashStreams(stream1, stream2)
  .pipe(watheverStream());

Or you can even do some extreme smashing:

var smashStreams = require('smash-streams');

smashStreams(
  stream1,
  [stream2, stream3, [stream4]],
  stream5
).pipe(extremeStream());

ES2015

import { smashStreams } from 'smash-streams';

smashStreams(stream1).pipe(...)

Contributing

Clone the repo via:

git clone https://github.com/nickvdyck/smash-streams.git

Then do:

  • npm install
  • npm run build

Before creating a pull request always run all the tests via

  • npm run test

Keywords

streams

FAQs

Package last updated on 17 Feb 2016

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