node-pipe2
This package provides access to the
pipe2
system
call available on OSX, Linux and other UNIX variants.
Usage
var pipe2 = require('node-pipe2');
pipe2(function(err, rfd, wfd) {
if (err) {
console.log('pipe failed, maybe out of FDs? ' + err);
return;
}
// use rfd and wfd
});