🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

highland-through-process

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

highland-through-process

Utility that lets you pipe a highland stream through a process' stdin / stdout.

1.0.0
latest
npm
Version published
Weekly downloads
2
100%
Maintainers
1
Weekly downloads
 
Created
Source

Highland Through Process

Utility that lets you pipe a highland stream through a process' stdin / stdout.

Install

npm install highland-through-process

Usage

var _ = require('highland');
var throughProcess = require('highland-through-process');
var spawn = require('child_process').spawn;
var tee = spawn('tee');

_(['hello how are you?'])
.through(throughProcess(tee))
.pull(function(error, value) {
  // value is a buffer with "hello how are you?" that has been piped through tee
});

Keywords

highland

FAQs

Package last updated on 05 Jan 2015

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