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.
Run terminal commands in Node.
<script type="module">
import bencmbrookCmd from 'https://cdn.skypack.dev/@bencmbrook/cmd';
</script>
Run terminal commands in Node.
const cmd = require('cmd');
cmd('echo hello world');
cmd() returns a promise, which rejects if the script fails, and resolves if it was successful.