JSPM

exec-cmds

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 33
  • Score
    100M100P100Q62625F
  • License MIT

Executes a list of commands.

Package Exports

  • exec-cmds

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (exec-cmds) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

exec-cmds

Executes a list of commands.

Dependency Status Build Status npm version

Installation

npm install --save exec-cmds

Usage example

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

var cwd =  path.resolve(process.cwd());
var cmds = [
  'mkdir foo',
  'rm -rf foo'
];
execCmds(cmds, cwd, function() {
  console.log('Ready!');
});

License

MIT