{"_id":"exec-cmds","_rev":"1672557","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":"2026-11-04T09:19: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","tarball":"http://registry-npm.ywwl.com/exec-cmds/download/exec-cmds-1.0.1.tgz","integrity":"sha512-iicavHuyjqsBAkE9Q/W3IhRx9Irn6xOb5hkGKCd0IgX3+/mSFj8Nmc5AFVUs078GzV8C+Xt57Z9eFq00h4TD9Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcC55b7cGSRMbMPYISwUHeJEalw6JVmAEMcK1sMUqaqQIgJgTSjgnJfZ/bzGeYp7TxsOJwlKNBbNgiL9/ARIWICdg="}],"size":3460,"noattachment":false,"key":"/exec-cmds/-/exec-cmds-1.0.1.tgz"},"maintainers":[{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"publish_time":1451932989391,"_cnpm_publish_time":1451932989391},"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","tarball":"http://registry-npm.ywwl.com/exec-cmds/download/exec-cmds-1.0.0.tgz","integrity":"sha512-DSwocZ202yS8IesIPeFDoA2+hOgMJ2KNpXh77TQyTFddkFEzAuxFrq3M8+YP4JlvyTGRonzeTkJGkPCGc4s71g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCvTJlkTkl+Ou7YRA5l3xjkYJx/kAWCj7IPyS8xm8xqQIgOvoBI9oYFIlMqdk8RXkTQwizi3ScaMxMvmIBMLfDV9I="}],"size":3410,"noattachment":false,"key":"/exec-cmds/-/exec-cmds-1.0.0.tgz"},"maintainers":[{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"publish_time":1451914317430,"_cnpm_publish_time":1451914317430},"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","tarball":"http://registry-npm.ywwl.com/exec-cmds/download/exec-cmds-0.2.0.tgz","integrity":"sha512-WxY9KS3J1LSCA1I+dpD4lSWng57zr1PEFj8f+Cixjj3fLNFuVg2CIVrzsi1GM1ZiAMUvEb2WVMo0BiYHI9+mmQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2AvSzRhy4H4QiqunoTF2aCRnY/xm4aJut8pkqBOfaSgIgSsfsME22n5c0l842AZjD0WGnYOk2hRq/Yn5zsk6lJZQ="}],"size":7019,"noattachment":false,"key":"/exec-cmds/-/exec-cmds-0.2.0.tgz"},"maintainers":[{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"publish_time":1440012697123,"_cnpm_publish_time":1440012697123},"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","tarball":"http://registry-npm.ywwl.com/exec-cmds/download/exec-cmds-0.1.0.tgz","integrity":"sha512-iqvsMqA/m1A2HdafEPRcdOJSgaWftUVGFPdiIdSpP3OW0is6ADkKD9j4GS0yolGoNJSfxJPkWzwQh2NzjTMZeA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDx3gmDqvqLwdulblBJWBbbDrCNDSnbPl5JQij/m9CgLAiANuVSTW16v2eWAALxiBj5vR0mq64Do8SCXHl696I5W1w=="}],"size":7316,"noattachment":false,"key":"/exec-cmds/-/exec-cmds-0.1.0.tgz"},"maintainers":[{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"publish_time":1439934445026,"_cnpm_publish_time":1439934445026}},"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"}