Need private packages and team management tools?Check out npm Teams »

command-exec

1.0.0 • Public • Published

command-exec

Build

Execute promisified shell (linux) commands in Nodejs

Install

npm i command-exec

Usage

 
const $cExec = require('command-exec');
 
( async () => {
  const result = $cExec('ls');
  console.log(result);
})();
 
// OUTPUT
// eslintrc.json
// .git
// .gitignore
// .travis.yml
// LICENSE
// README.md
// index.js
// node_modules
// package-lock.json
// package.json
// tests
 

Contributing

Interested in contributing to this project? You can log any issues or suggestion related to this library here

Read our contributing guide on getting started with contributing to the codebase

Contributors

Thank you to all the contributors who have helped us in making this project better 🙌

Install

npm i command-exec

DownloadsWeekly Downloads

5

Version

1.0.0

License

MIT

Unpacked Size

3.37 kB

Total Files

4

Last publish

Collaborators

  • avatar