{"_id":"exec-cmds","_rev":"511699","name":"exec-cmds","description":"Executes a list of commands.","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"time":{"modified":"2021-08-09T14:00:57.000Z","created":"2015-08-18T21:47:25.026Z","1.0.1":"2016-01-04T18:43:09.391Z","1.0.0":"2016-01-04T13:31:57.430Z","0.2.0":"2015-08-19T19:31:37.123Z","0.1.0":"2015-08-18T21:47:25.026Z"},"users":{},"author":{"name":"Zoltan Kochan","email":"zoltan.kochan@gmail.com","url":"http://kochan.io"},"repository":{"type":"git","url":"git+https://github.com/zkochan/exec-cmds.git"},"versions":{"1.0.1":{"name":"exec-cmds","version":"1.0.1","description":"Executes a list of commands.","main":"index.js","scripts":{"test":"mocha test/**/*.js"},"repository":{"type":"git","url":"git+https://github.com/zkochan/exec-cmds.git"},"keywords":["exec","execute","spawn","commands"],"author":{"name":"Zoltan Kochan","email":"zoltan.kochan@gmail.com","url":"http://kochan.io"},"license":"MIT","bugs":{"url":"https://github.com/zkochan/exec-cmds/issues"},"homepage":"https://github.com/zkochan/exec-cmds#readme","publishConfig":{"registry":"http://registry.npmjs.org"},"dependencies":{"chalk":"^1.1.0","cross-spawn":"^2.0.0","parse-spawn-args":"^1.0.2"},"devDependencies":{"chai":"^3.4.1","mocha":"^2.3.4"},"gitHead":"10cb870ca6b616fa7d6cbd18759abfeb78b84526","_id":"exec-cmds@1.0.1","_shasum":"690f14a22dd2d8a6f35b970f44c07f6e9418f1f4","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"zkochan","email":"zoltan.kochan@gmail.com"},"dist":{"shasum":"690f14a22dd2d8a6f35b970f44c07f6e9418f1f4","size":3460,"noattachment":false,"key":"/exec-cmds/-/exec-cmds-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/exec-cmds/download/exec-cmds-1.0.1.tgz"},"maintainers":[{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"directories":{},"publish_time":1451932989391,"_cnpm_publish_time":1451932989391,"_hasShrinkwrap":false},"1.0.0":{"name":"exec-cmds","version":"1.0.0","description":"Executes a list of commands.","main":"index.js","scripts":{},"repository":{"type":"git","url":"git+https://github.com/zkochan/exec-cmds.git"},"keywords":["exec","execute","spawn","commands"],"author":{"name":"Zoltan Kochan","email":"zoltan.kochan@gmail.com","url":"http://kochan.io"},"license":"MIT","bugs":{"url":"https://github.com/zkochan/exec-cmds/issues"},"homepage":"https://github.com/zkochan/exec-cmds#readme","publishConfig":{"registry":"http://registry.npmjs.org"},"dependencies":{"chalk":"^1.1.0","cross-spawn":"^2.0.0","parse-spawn-args":"^1.0.2"},"gitHead":"527f433c6e6404fd203f428dc44b08683036f9ce","_id":"exec-cmds@1.0.0","_shasum":"8370b202c33b49763c31b45f45404d88a4ed9f88","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.1","_npmUser":{"name":"zkochan","email":"zoltan.kochan@gmail.com"},"dist":{"shasum":"8370b202c33b49763c31b45f45404d88a4ed9f88","size":3410,"noattachment":false,"key":"/exec-cmds/-/exec-cmds-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/exec-cmds/download/exec-cmds-1.0.0.tgz"},"maintainers":[{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"directories":{},"publish_time":1451914317430,"_cnpm_publish_time":1451914317430,"_hasShrinkwrap":false},"0.2.0":{"name":"exec-cmds","version":"0.2.0","description":"Executes a list of commands.","main":"index.js","scripts":{},"repository":{"type":"git","url":"git+https://github.com/zkochan/exec-cmds.git"},"keywords":["exec","spawn","commands"],"author":{"name":"Zoltan Kochan","email":"zoltan.kochan@gmail.com","url":"http://kochan.io"},"license":"MIT","bugs":{"url":"https://github.com/zkochan/exec-cmds/issues"},"homepage":"https://github.com/zkochan/exec-cmds#readme","publishConfig":{"registry":"http://registry.npmjs.org"},"dependencies":{"chalk":"^1.1.0","cross-spawn":"^2.0.0","parse-spawn-args":"^1.0.2"},"gitHead":"c5918784190708cbf89c1b314870825b6a66e7cc","_id":"exec-cmds@0.2.0","_shasum":"21384cbdcde3923c825f90d132cf34b94ae16d22","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"},"dist":{"shasum":"21384cbdcde3923c825f90d132cf34b94ae16d22","size":7019,"noattachment":false,"key":"/exec-cmds/-/exec-cmds-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/exec-cmds/download/exec-cmds-0.2.0.tgz"},"maintainers":[{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"directories":{},"publish_time":1440012697123,"_cnpm_publish_time":1440012697123,"_hasShrinkwrap":false},"0.1.0":{"name":"exec-cmds","version":"0.1.0","description":"Executes a list of commands.","main":"index.js","scripts":{},"repository":{"type":"git","url":"git+https://github.com/zkochan/exec-cmds.git"},"keywords":["exec","spawn","commands"],"author":{"name":"Zoltan Kochan","email":"zoltan.kochan@gmail.com","url":"http://kochan.io"},"license":"MIT","bugs":{"url":"https://github.com/zkochan/exec-cmds/issues"},"homepage":"https://github.com/zkochan/exec-cmds#readme","publishConfig":{"registry":"http://registry.npmjs.org"},"dependencies":{"chalk":"^1.1.0","cross-spawn":"^2.0.0","parse-spawn-args":"^1.0.2"},"gitHead":"88bb9fa2418496da75d55598b0e649091a0798e4","_id":"exec-cmds@0.1.0","_shasum":"350f2d988bf9ca4fbc830afb7d1cec5137161496","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"},"dist":{"shasum":"350f2d988bf9ca4fbc830afb7d1cec5137161496","size":7316,"noattachment":false,"key":"/exec-cmds/-/exec-cmds-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/exec-cmds/download/exec-cmds-0.1.0.tgz"},"maintainers":[{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"directories":{},"publish_time":1439934445026,"_cnpm_publish_time":1439934445026,"_hasShrinkwrap":false}},"readme":"# exec-cmds\n\nExecutes a list of commands.\n\n[![Dependency Status](https://david-dm.org/zkochan/exec-cmds/status.svg?style=flat)](https://david-dm.org/zkochan/exec-cmds)\n[![Build Status](http://img.shields.io/travis/zkochan/exec-cmds.svg?style=flat)](https://travis-ci.org/zkochan/exec-cmds)\n[![npm version](https://badge.fury.io/js/exec-cmds.svg)](http://badge.fury.io/js/exec-cmds)\n\n\n## Installation\n\n```\nnpm install --save exec-cmds\n```\n\n\n## Usage example\n\n```js\nconst execCmds = require('exec-cmds');\n\nlet cwd =  path.resolve(process.cwd());\nlet cmds = [\n  'mkdir foo',\n  'rm -rf foo'\n];\nexecCmds(cmds, {\n  cwd,\n  env: {\n    FOO_BAR: 'Hello world!'\n  }\n});\n```\n\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/zkochan/exec-cmds#readme","bugs":{"url":"https://github.com/zkochan/exec-cmds/issues"},"license":"MIT"}