Skip to content

bencmbrook/cmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Run terminal commands in Node.

Example

const cmd = require('@bencmbrook/cmd');

cmd('echo hello world');

cmd() returns a promise, which rejects if the script fails, and resolves if it was successful.

Installation

npm install --save @bencmbrook/cmd

About

Run terminal commands in Node.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published