promisify-bash
v1.0.9
Published
The library aims to execute commands in local terminal (/bin/bin on Mac cmd.exe on Window) in promisifing ways.
Downloads
23
Readme
promisify-bash
The library aims to execute commands in local terminal (/bin/bin on Mac cmd.exe on Window) in promisifing ways.
#usage
var bash = require('promisify-bash');
bash('git branch')
.then(function(d){
console.log(d);
})
.catch(function(e){
console.log(e);
})