npm.io
1.1.1 • Published 10 years ago

kefir-child-process

Licence
MIT
Version
1.1.1
Deps
1
Vulns
0
Weekly
0

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])

Keywords