Deprecated since Node.js 4 is no longer maintained.
Node.js 4
childProcess.ChildProcess
ponyfill
$ npm install --save child-process-ctor
var childProcessCtor = require('child-process-ctor');
console.log(typeof childProcessCtor().prototype.spawn);
//=> 'function'
MIT © Sindre Sorhus