exec-cmds
Executes a list of commands.
Last updated 11 years ago by zkochan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install exec-cmds 
SYNC missed versions from official npm registry.

exec-cmds

Executes a list of commands.

Dependency Status Build Status npm version

Installation

npm install --save exec-cmds

Usage example

const execCmds = require('exec-cmds');

let cwd =  path.resolve(process.cwd());
let cmds = [
  'mkdir foo',
  'rm -rf foo'
];
execCmds(cmds, {
  cwd,
  env: {
    FOO_BAR: 'Hello world!'
  }
});

License

MIT

Current Tags

  • 1.0.1                                ...           latest (11 years ago)

4 Versions

  • 1.0.1                                ...           11 years ago
  • 1.0.0                                ...           11 years ago
  • 0.2.0                                ...           11 years ago
  • 0.1.0                                ...           11 years ago
Maintainers (1)
Downloads
Total 10
Today 0
This Week 2
This Month 10
Last Day 0
Last Week 6
Last Month 0
Dependencies (3)
Dev Dependencies (0)
None
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE