59naga/npm-statement

View on GitHub
npm-if

Summary

Maintainability
Test Coverage
#!/usr/bin/env node
var child = require('./').if(process.argv.slice(2));
child.once('error', function onError(error) {
  console.trace(error);
  process.exit(1);
});
child.once('exit', function onExit(exitCode) {
  process.exit(exitCode);
});