Binary wrapper for apex
$ npm install --global apex-bin
$ apex --help
$ npm install --save apex-bin
const execFile = require('child_process').execFile;
const apex = require('apex-bin');
execFile(apex, ['version'], (err, stdout) => {
console.log(stdout);
});
MIT © Thomas Sileghem