terminal-async

1.0.1 • Public • Published

terminal-async

Install:

$ npm i --save terminal-async

Example 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
 

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i terminal-async

      Weekly Downloads

      1

      Version

      1.0.1

      License

      ISC

      Unpacked Size

      1.88 kB

      Total Files

      5

      Last publish

      Collaborators

      • pshenok