in.actor.shell
0.0.5 • Public • Published
in.actor.shell
Shell actor for in.
This actor is bundled with in.
It injects the result of a shell call into the argument
It is aliased as $
$$in(function(uptime) {
})
It can provide stderr instead of stdout into the argument
$$in(function(echoed) {
})
It can provide the raw buffer object
It can provide a data event stream
$$in(function(netcat) {
netcat.on('data', ...
})
It can provide lines
$$in(function(
files,
logs
){
files.forEach(function(logFile) {
var log = logs.shift();
log.on('data', function(line) {
logFile;
line;
});
});
})
Package Sidebar
Install
Weekly Downloads