@bencmbrook/cmd
v1.0.0
Published
Run terminal commands in Node.
Downloads
5
Readme
Run terminal commands in Node.
Example
const cmd = require('cmd');
cmd('echo hello world');
cmd()
returns a promise, which rejects if the script fails, and resolves if it was successful.