kefir-child-process
1.1.1 • Public • Published 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])
/kefir-child-process/
//
Package Sidebar
Install
npm i kefir-child-process
Weekly Downloads