1.1.1 • Published 8 years ago

kefir-child-process v1.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

kefir-child-process

child_process.spawn and child_process.exec as kefir streams 😎

installation

npm install kefir-child-process

usage

var kefir_proc = require('kefir-child-process')

var executions = kefir_proc.spawn('tail', ['-f', 'debug.log'])
var d = executions.debounce(3000)
executions.filter(500error).throttle(500).log()

API

see the node child_process docs, which this API matches.

kefir_proc.execute(command, options)

kefir_proc.spawn(command, args, options)