terminal-async
v1.0.1
Published
Asynchronous library for working with the command line or terminal
Readme
terminal-async
Install:
$ npm i --save terminal-asyncExample run the terminal comand:
const terminal = require('terminal-async');
terminal.get(`echo "Test get!"`).then(console.log); // get return the Promise with result "Test get"
terminal.run(`echo "Test run!"`).then(console.log); // run return the Promise without result
