Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

npm module: stream to a child process

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

exec-stream

stream to a child process

usage

var execStream = require('exec-stream')

// a strawman wrapper of `cat`

process.stdin
  .pipe(execStream('cat', process.argv.slice(2)))
  .pipe(process.stdout)

available as example.js in the package root.

api

execStream: (command: String, args?: Array, opts?: Object) => DuplexStream

The returned DuplexStream is the stdin and stdout of the execd process.

installation

$ npm install exec-stream

running the tests

From package root:

$ npm install
$ npm test

contributors

license

MIT. (c) 2013 jden jason@denizac.org. See LICENSE.md

Something went wrong with that request. Please try again.