highland-through-process

1.0.0 • Public • Published

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
});

/highland-through-process/

    Package Sidebar

    Install

    npm i highland-through-process

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • ibash