{"_id":"exec-sh","_rev":"13904","name":"exec-sh","description":"Execute shell command forwarding all stdio.","dist-tags":{"0.1.2":"0.1.2","latest":"0.4.0"},"maintainers":[{"name":"tsertkov","email":"tsertkov@gmail.com"}],"time":{"modified":"2021-06-03T09:58:30.000Z","created":"2014-06-14T02:12:40.937Z","0.4.0":"2021-03-26T14:17:54.082Z","0.3.6":"2021-03-24T07:38:58.173Z","0.3.5":"2021-03-22T10:10:09.747Z","0.3.4":"2019-11-07T14:03:55.623Z","0.3.3":"2019-11-07T13:59:24.022Z","0.3.2":"2018-10-17T13:38:38.527Z","0.3.1":"2018-09-15T07:39:04.378Z","0.3.0":"2018-09-13T15:02:40.021Z","0.2.2":"2018-06-26T14:07:58.850Z","0.2.1":"2017-09-07T20:15:06.755Z","0.2.0":"2014-11-26T17:33:03.462Z","0.1.4":"2014-11-26T15:48:03.704Z","0.1.3":"2014-06-14T20:09:44.209Z","0.1.2":"2014-06-14T18:26:18.792Z","0.1.0":"2014-06-14T02:12:40.937Z"},"users":{"cypark":true,"wheasy":true,"quocnguyen":true},"author":{"name":"Aleksandr Tsertkov","email":"tsertkov@gmail.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/tsertkov/exec-sh.git"},"versions":{"0.4.0":{"name":"exec-sh","version":"0.4.0","description":"Execute shell command forwarding all stdio.","main":"lib/exec-sh.js","types":"types/index.d.ts","scripts":{"test":"npm run lint && npm run test-ts && npm run cover-test","test-ts":"tsc --noEmit example/example.ts","cover-test":"nyc --reporter=lcov --report-dir=artifacts/coverage mocha","lint":"standard --verbose **/*.js","dev":"mocha --reporter spec --watch","jsdoc":"jsdoc --private --destination artifacts/jsdoc lib/"},"repository":{"type":"git","url":"git+ssh://git@github.com/tsertkov/exec-sh.git"},"keywords":["exec","spawn","terminal","console","shell","command","child_process"],"author":{"name":"Aleksandr Tsertkov","email":"tsertkov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/tsertkov/exec-sh/issues"},"devDependencies":{"@types/node":"^14.14.35","coveralls":"^3.1.0","jsdoc":"^3.6.6","jshint":"^2.12.0","mocha":"^8.3.2","nyc":"^15.1.0","sinon":"^9.2.4","standard":"^16.0.3","typescript":"^4.2.3"},"gitHead":"2a9ae41416f43d5b9a458fe7b6562bc9e47cca62","homepage":"https://github.com/tsertkov/exec-sh#readme","_id":"exec-sh@0.4.0","_nodeVersion":"15.10.0","_npmVersion":"7.5.3","dist":{"shasum":"0f4ae8c36d166bae80e5c69aba0793d80c3488d5","size":8304,"noattachment":false,"key":"/exec-sh/-/exec-sh-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/exec-sh/download/exec-sh-0.4.0.tgz"},"_npmUser":{"name":"tsertkov","email":"tsertkov@gmail.com"},"directories":{},"maintainers":[{"name":"tsertkov","email":"tsertkov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exec-sh_0.4.0_1616768273937_0.6129292281490508"},"_hasShrinkwrap":false,"publish_time":1616768274082,"_cnpm_publish_time":1616768274082},"0.3.6":{"name":"exec-sh","version":"0.3.6","description":"Execute shell command forwarding all stdio.","main":"lib/exec-sh.js","scripts":{"test":"npm run lint && npm run cover-test","cover-test":"nyc --reporter=lcov --report-dir=artifacts/coverage mocha","lint":"standard --verbose **/*.js","dev":"mocha --reporter spec --watch","jsdoc":"jsdoc --private --destination artifacts/jsdoc lib/"},"repository":{"type":"git","url":"git+ssh://git@github.com/tsertkov/exec-sh.git"},"keywords":["exec","spawn","terminal","console","shell","command","child_process"],"author":{"name":"Aleksandr Tsertkov","email":"tsertkov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/tsertkov/exec-sh/issues"},"devDependencies":{"coveralls":"^3.1.0","jsdoc":"^3.6.6","jshint":"^2.12.0","mocha":"^8.3.2","nyc":"^15.1.0","sinon":"^9.2.4","standard":"^16.0.3"},"gitHead":"a182501897966e5e147884176ca01a2d3a9b41c1","homepage":"https://github.com/tsertkov/exec-sh#readme","_id":"exec-sh@0.3.6","_nodeVersion":"15.12.0","_npmVersion":"7.6.3","dist":{"shasum":"ff264f9e325519a60cb5e273692943483cca63bc","size":7961,"noattachment":false,"key":"/exec-sh/-/exec-sh-0.3.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/exec-sh/download/exec-sh-0.3.6.tgz"},"_npmUser":{"name":"tsertkov","email":"tsertkov@gmail.com"},"directories":{},"maintainers":[{"name":"tsertkov","email":"tsertkov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exec-sh_0.3.6_1616571537981_0.4729092146887466"},"_hasShrinkwrap":false,"publish_time":1616571538173,"_cnpm_publish_time":1616571538173},"0.3.5":{"name":"exec-sh","version":"0.3.5","description":"Execute shell command forwarding all stdio.","main":"lib/exec-sh.js","types":"types/index.d.ts","scripts":{"test":"npm run lint && npm run cover-test","cover-test":"nyc --reporter=lcov --report-dir=artifacts/coverage mocha","lint":"standard --verbose **/*.js","dev":"mocha --reporter spec --watch","jsdoc":"jsdoc --private --destination artifacts/jsdoc lib/"},"repository":{"type":"git","url":"git+ssh://git@github.com/tsertkov/exec-sh.git"},"keywords":["exec","spawn","terminal","console","shell","command","child_process"],"author":{"name":"Aleksandr Tsertkov","email":"tsertkov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/tsertkov/exec-sh/issues"},"devDependencies":{"coveralls":"^3.1.0","jsdoc":"^3.6.6","jshint":"^2.12.0","mocha":"^8.3.2","nyc":"^15.1.0","sinon":"^9.2.4","standard":"^16.0.3"},"gitHead":"70051f4bf0a8115d1adcbea84524dd6f6ac66316","homepage":"https://github.com/tsertkov/exec-sh#readme","_id":"exec-sh@0.3.5","_nodeVersion":"15.10.0","_npmVersion":"7.5.3","dist":{"shasum":"1b46bd6bcbf54fdc1e926a4f3d90126d42cec3df","size":8179,"noattachment":false,"key":"/exec-sh/-/exec-sh-0.3.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/exec-sh/download/exec-sh-0.3.5.tgz"},"_npmUser":{"name":"tsertkov","email":"tsertkov@gmail.com"},"directories":{},"maintainers":[{"name":"tsertkov","email":"tsertkov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exec-sh_0.3.5_1616407809547_0.45566168463304946"},"_hasShrinkwrap":false,"publish_time":1616407809747,"_cnpm_publish_time":1616407809747},"0.3.4":{"name":"exec-sh","version":"0.3.4","description":"Execute shell command forwarding all stdio.","main":"lib/exec-sh.js","scripts":{"test":"npm run lint && npm run cover-test","cover-test":"nyc --reporter=html --report-dir=artifacts/coverage mocha","lint":"standard --verbose **/*.js","dev":"mocha --reporter spec --watch","jsdoc":"jsdoc --private --destination artifacts/jsdoc lib/"},"repository":{"type":"git","url":"git+ssh://git@github.com/tsertkov/exec-sh.git"},"keywords":["exec","spawn","terminal","console","shell","command","child_process"],"author":{"name":"Aleksandr Tsertkov","email":"tsertkov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/tsertkov/exec-sh/issues"},"dependencies":{},"devDependencies":{"coveralls":"^3.0.7","jsdoc":"^3.6.3","jshint":"^2.10.3","mocha":"^6.2.2","nyc":"^14.1.1","sinon":"^7.5.0","standard":"^14.3.1"},"gitHead":"254f4b04ce8b47a7f698238cb4ec9c461ff3e1fb","homepage":"https://github.com/tsertkov/exec-sh#readme","_id":"exec-sh@0.3.4","_nodeVersion":"12.12.0","_npmVersion":"6.13.0","dist":{"shasum":"3a018ceb526cc6f6df2bb504b2bfe8e3a4934ec5","size":7959,"noattachment":false,"key":"/exec-sh/-/exec-sh-0.3.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/exec-sh/download/exec-sh-0.3.4.tgz"},"maintainers":[{"name":"tsertkov","email":"tsertkov@gmail.com"}],"_npmUser":{"name":"tsertkov","email":"tsertkov@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exec-sh_0.3.4_1573135435502_0.7508306542335805"},"_hasShrinkwrap":false,"publish_time":1573135435623,"_cnpm_publish_time":1573135435623},"0.3.3":{"name":"exec-sh","version":"0.3.3","description":"Execute shell command forwarding all stdio.","main":"lib/exec-sh.js","scripts":{"test":"npm run lint && npm run cover-test","cover-test":"nyc --reporter=html --report-dir=artifacts/coverage mocha","lint":"standard --verbose **/*.js","dev":"mocha --reporter spec --watch","jsdoc":"jsdoc --private --destination artifacts/jsdoc lib/"},"repository":{"type":"git","url":"git+ssh://git@github.com/tsertkov/exec-sh.git"},"keywords":["exec","spawn","terminal","console","shell","command","child_process"],"author":{"name":"Aleksandr Tsertkov","email":"tsertkov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/tsertkov/exec-sh/issues"},"dependencies":{},"devDependencies":{"coveralls":"^3.0.7","jsdoc":"^3.6.3","jshint":"^2.10.3","mocha":"^6.2.2","nyc":"^14.1.1","sinon":"^7.5.0","standard":"^14.3.1"},"gitHead":"f3a83d38da3e76ef9858545881589bac722aa535","homepage":"https://github.com/tsertkov/exec-sh#readme","_id":"exec-sh@0.3.3","_nodeVersion":"12.12.0","_npmVersion":"6.13.0","dist":{"shasum":"73a9b58ab2720570ac7bea1e0863867adede89d4","size":7967,"noattachment":false,"key":"/exec-sh/-/exec-sh-0.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/exec-sh/download/exec-sh-0.3.3.tgz"},"maintainers":[{"name":"tsertkov","email":"tsertkov@gmail.com"}],"_npmUser":{"name":"tsertkov","email":"tsertkov@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exec-sh_0.3.3_1573135163853_0.6977232140473708"},"_hasShrinkwrap":false,"publish_time":1573135164022,"_cnpm_publish_time":1573135164022},"0.3.2":{"name":"exec-sh","version":"0.3.2","description":"Execute shell command forwarding all stdio.","main":"lib/exec-sh.js","scripts":{"test":"npm run lint && npm run cover-test","cover-test":"istanbul cover --dir artifacts/coverage _mocha -- --reporter spec","lint":"standard --verbose **/*.js","dev":"mocha --reporter spec --watch","jsdoc":"jsdoc --private --destination artifacts/jsdoc lib/"},"repository":{"type":"git","url":"git+ssh://git@github.com/tsertkov/exec-sh.git"},"keywords":["exec","spawn","terminal","console","shell","command","child_process"],"author":{"name":"Aleksandr Tsertkov","email":"tsertkov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/tsertkov/exec-sh/issues"},"dependencies":{},"devDependencies":{"coveralls":"^3.0.1","istanbul":"^0.4.5","jsdoc":"^3.5.5","jshint":"^2.9.6","mocha":"^5.2.0","sinon":"^6.0.1","standard":"^11.0.1"},"gitHead":"c8de4094718aaec3bc6a43ad77a0546fbd99f5c2","homepage":"https://github.com/tsertkov/exec-sh#readme","_id":"exec-sh@0.3.2","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"tsertkov","email":"tsertkov@gmail.com"},"dist":{"shasum":"6738de2eb7c8e671d0366aea0b0db8c6f7d7391b","size":7943,"noattachment":false,"key":"/exec-sh/-/exec-sh-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/exec-sh/download/exec-sh-0.3.2.tgz"},"maintainers":[{"name":"tsertkov","email":"tsertkov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exec-sh_0.3.2_1539783518363_0.15658119545891225"},"_hasShrinkwrap":false,"publish_time":1539783518527,"_cnpm_publish_time":1539783518527},"0.3.1":{"name":"exec-sh","version":"0.3.1","description":"Execute shell command forwarding all stdio.","main":"lib/exec-sh.js","scripts":{"test":"npm run lint && npm run cover-test","cover-test":"istanbul cover --dir artifacts/coverage _mocha -- --reporter spec","lint":"standard --verbose **/*.js","dev":"mocha --reporter spec --watch","jsdoc":"jsdoc --private --destination artifacts/jsdoc lib/"},"repository":{"type":"git","url":"git+ssh://git@github.com/tsertkov/exec-sh.git"},"keywords":["exec","spawn","terminal","console","shell","command","child_process"],"author":{"name":"Aleksandr Tsertkov","email":"tsertkov@gmail.com"},"license":{"type":"MIT","url":"https://github.com/tsertkov/exec-sh/blob/master/LICENSE"},"bugs":{"url":"https://github.com/tsertkov/exec-sh/issues"},"dependencies":{"merge":"^1.2.0"},"devDependencies":{"coveralls":"^3.0.1","istanbul":"^0.4.5","jsdoc":"^3.5.5","jshint":"^2.9.5","mocha":"^5.2.0","sinon":"^6.0.1","standard":"^11.0.1"},"gitHead":"ca00c3773d8915445f6ba13e808dc8311407295b","homepage":"https://github.com/tsertkov/exec-sh#readme","_id":"exec-sh@0.3.1","_npmVersion":"6.2.0","_nodeVersion":"10.9.0","_npmUser":{"name":"tsertkov","email":"tsertkov@gmail.com"},"dist":{"shasum":"af9d31ba19ceaf6881111e4a79aa71a50d952392","size":7957,"noattachment":false,"key":"/exec-sh/-/exec-sh-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/exec-sh/download/exec-sh-0.3.1.tgz"},"maintainers":[{"name":"tsertkov","email":"tsertkov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exec-sh_0.3.1_1536997144191_0.04141904209000313"},"_hasShrinkwrap":false,"publish_time":1536997144378,"_cnpm_publish_time":1536997144378},"0.3.0":{"name":"exec-sh","version":"0.3.0","description":"Execute shell command forwarding all stdio.","main":"lib/exec-sh.js","scripts":{"test":"npm run lint && npm run cover-test","cover-test":"istanbul cover --dir artifacts/coverage _mocha -- --reporter spec","lint":"standard --verbose **/*.js","dev":"mocha --reporter spec --watch","jsdoc":"jsdoc --private --destination artifacts/jsdoc lib/"},"repository":{"type":"git","url":"git+ssh://git@github.com/tsertkov/exec-sh.git"},"keywords":["exec","spawn","terminal","console","shell","command","child_process"],"author":{"name":"Aleksandr Tsertkov","email":"tsertkov@gmail.com"},"license":{"type":"MIT","url":"https://github.com/tsertkov/exec-sh/blob/master/LICENSE"},"bugs":{"url":"https://github.com/tsertkov/exec-sh/issues"},"dependencies":{"merge":"^1.2.0"},"devDependencies":{"coveralls":"^3.0.1","istanbul":"^0.4.5","jsdoc":"^3.5.5","jshint":"^2.9.5","mocha":"^5.2.0","sinon":"^6.0.1","standard":"^11.0.1"},"gitHead":"4fcce673aeb01e70727f1419e118f8535f79279b","homepage":"https://github.com/tsertkov/exec-sh#readme","_id":"exec-sh@0.3.0","_npmVersion":"6.2.0","_nodeVersion":"10.9.0","_npmUser":{"name":"tsertkov","email":"tsertkov@gmail.com"},"dist":{"shasum":"57416c7843783a12c1d456cc2458bb2b97b94572","size":7956,"noattachment":false,"key":"/exec-sh/-/exec-sh-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/exec-sh/download/exec-sh-0.3.0.tgz"},"maintainers":[{"name":"tsertkov","email":"tsertkov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exec-sh_0.3.0_1536850959910_0.9260531275592438"},"_hasShrinkwrap":false,"publish_time":1536850960021,"_cnpm_publish_time":1536850960021},"0.2.2":{"name":"exec-sh","version":"0.2.2","description":"Execute shell command forwarding all stdio.","main":"lib/exec-sh.js","scripts":{"test":"npm run lint && npm run cover-test","cover-test":"istanbul cover --dir artifacts/coverage _mocha -- --reporter spec","lint":"standard --verbose **/*.js","dev":"mocha --reporter spec --watch","jsdoc":"jsdoc --private --destination artifacts/jsdoc lib/"},"repository":{"type":"git","url":"git+ssh://git@github.com/tsertkov/exec-sh.git"},"keywords":["exec","spawn","terminal","console","shell","command","child_process"],"author":{"name":"Aleksandr Tsertkov","email":"tsertkov@gmail.com"},"license":{"type":"MIT","url":"https://github.com/tsertkov/exec-sh/blob/master/LICENSE"},"bugs":{"url":"https://github.com/tsertkov/exec-sh/issues"},"dependencies":{"merge":"^1.2.0"},"devDependencies":{"coveralls":"^3.0.1","istanbul":"^0.4.5","jsdoc":"^3.5.5","jshint":"^2.9.5","mocha":"^5.2.0","sinon":"^6.0.1","standard":"^11.0.1"},"gitHead":"0a520aa587bf7d21502cfb17512f33bc222396f3","homepage":"https://github.com/tsertkov/exec-sh#readme","_id":"exec-sh@0.2.2","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"tsertkov","email":"tsertkov@gmail.com"},"dist":{"shasum":"2a5e7ffcbd7d0ba2755bdecb16e5a427dfbdec36","size":7623,"noattachment":false,"key":"/exec-sh/-/exec-sh-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/exec-sh/download/exec-sh-0.2.2.tgz"},"maintainers":[{"name":"tsertkov","email":"tsertkov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exec-sh_0.2.2_1530022078790_0.9739661525729357"},"_hasShrinkwrap":false,"publish_time":1530022078850,"_cnpm_publish_time":1530022078850},"0.2.1":{"name":"exec-sh","version":"0.2.1","description":"Execute shell command forwarding all stdio.","main":"lib/exec-sh.js","scripts":{"test":"npm run cover-test && npm run jshint","cover-test":"istanbul cover --dir artifacts/coverage _mocha -- --reporter spec","jshint":"jshint lib/ example/ test/ package.json","dev":"mocha --reporter spec --watch","jsdoc":"jsdoc --private --destination artifacts/jsdoc lib/"},"repository":{"type":"git","url":"git+ssh://git@github.com/tsertkov/exec-sh.git"},"keywords":["exec","spawn","terminal","console","shell","command","child_process"],"author":{"name":"Aleksandr Tsertkov","email":"tsertkov@gmail.com"},"license":{"type":"MIT","url":"https://github.com/tsertkov/exec-sh/blob/master/LICENSE"},"bugs":{"url":"https://github.com/tsertkov/exec-sh/issues"},"dependencies":{"merge":"^1.1.3"},"devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.2","jsdoc":"^3.3.0-alpha8","jshint":"^2.5.1","mocha":"^1.20.1","sinon":"^1.10.2"},"gitHead":"92959b9d8d2922a899a4452607cc1c7a2451f740","homepage":"https://github.com/tsertkov/exec-sh#readme","_id":"exec-sh@0.2.1","_npmVersion":"5.4.1","_nodeVersion":"8.4.0","_npmUser":{"name":"tsertkov","email":"tsertkov@gmail.com"},"dist":{"shasum":"163b98a6e89e6b65b47c2a28d215bc1f63989c38","size":6551,"noattachment":false,"key":"/exec-sh/-/exec-sh-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/exec-sh/download/exec-sh-0.2.1.tgz"},"maintainers":[{"name":"tsertkov","email":"tsertkov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exec-sh-0.2.1.tgz_1504815304403_0.6077115300577134"},"directories":{},"publish_time":1504815306755,"_hasShrinkwrap":false,"_cnpm_publish_time":1504815306755},"0.2.0":{"name":"exec-sh","version":"0.2.0","description":"Execute shell command forwarding all stdio.","main":"lib/exec-sh.js","scripts":{"test":"npm run cover-test && jshint","cover-test":"istanbul cover --dir artifacts/coverage _mocha -- --reporter spec","jshint":"jshint lib/ example/ test/","dev":"mocha --reporter spec --watch","jsdoc":"jsdoc --private --destination artifacts/jsdoc lib/"},"repository":{"type":"git","url":"git@github.com:tsertkov/exec-sh.git"},"keywords":["exec","spawn","terminal","console","shell","command","child_process"],"author":{"name":"Aleksandr Tsertkov","email":"tsertkov@gmail.com"},"license":{"type":"MIT","url":"https://github.com/tsertkov/exec-sh/blob/master/LICENSE"},"bugs":{"url":"https://github.com/tsertkov/exec-sh/issues"},"dependencies":{"merge":"^1.1.3"},"devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.2","jsdoc":"^3.3.0-alpha8","jshint":"^2.5.1","mocha":"^1.20.1","sinon":"^1.10.2"},"gitHead":"33a0a3731e78838f7f56d31cfcb737b3d510a526","homepage":"https://github.com/tsertkov/exec-sh","_id":"exec-sh@0.2.0","_shasum":"14f75de3f20d286ef933099b2ce50a90359cef10","_from":".","_npmVersion":"2.1.6","_nodeVersion":"0.10.33","_npmUser":{"name":"tsertkov","email":"tsertkov@gmail.com"},"maintainers":[{"name":"tsertkov","email":"tsertkov@gmail.com"}],"dist":{"shasum":"14f75de3f20d286ef933099b2ce50a90359cef10","size":7606,"noattachment":false,"key":"/exec-sh/-/exec-sh-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/exec-sh/download/exec-sh-0.2.0.tgz"},"directories":{},"publish_time":1417023183462,"_cnpm_publish_time":1417023183462,"_hasShrinkwrap":false},"0.1.4":{"name":"exec-sh","version":"0.1.4","description":"Execute shell command forwarding all stdio.","main":"lib/exec-sh.js","scripts":{"test":"npm run cover-test && jshint","cover-test":"istanbul cover --dir artifacts/coverage _mocha -- --reporter spec","jshint":"jshint lib/ example/ test/","jsdoc":"jsdoc --private --destination artifacts/jsdoc lib/"},"repository":{"type":"git","url":"git@github.com:tsertkov/exec-sh.git"},"keywords":["exec","spawn","terminal","console","shell","command","child_process"],"author":{"name":"Aleksandr Tsertkov","email":"tsertkov@gmail.com"},"license":{"type":"MIT","url":"https://github.com/tsertkov/exec-sh/blob/master/LICENSE"},"bugs":{"url":"https://github.com/tsertkov/exec-sh/issues"},"dependencies":{"merge":"^1.1.3"},"devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.2","jsdoc":"^3.3.0-alpha8","jshint":"^2.5.1","mocha":"^1.20.1","sinon":"^1.10.2"},"gitHead":"8ca1291adf903e5e86ef66a2c75ef5292ee4f006","homepage":"https://github.com/tsertkov/exec-sh","_id":"exec-sh@0.1.4","_shasum":"54cb8f528923c449d1b055b9a572e3300def377e","_from":".","_npmVersion":"2.1.6","_nodeVersion":"0.10.33","_npmUser":{"name":"tsertkov","email":"tsertkov@gmail.com"},"maintainers":[{"name":"tsertkov","email":"tsertkov@gmail.com"}],"dist":{"shasum":"54cb8f528923c449d1b055b9a572e3300def377e","size":7440,"noattachment":false,"key":"/exec-sh/-/exec-sh-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/exec-sh/download/exec-sh-0.1.4.tgz"},"directories":{},"publish_time":1417016883704,"_cnpm_publish_time":1417016883704,"_hasShrinkwrap":false},"0.1.3":{"name":"exec-sh","version":"0.1.3","description":"Execute shell command forwarding all stdio.","main":"lib/exec-sh.js","scripts":{"test":"mocha --reporter spec && jshint lib/ example/ test/ package.json","jsdoc":"jsdoc --private --destination jsdoc lib/"},"repository":{"type":"git","url":"git@github.com:tsertkov/exec-sh.git"},"keywords":["exec","spawn","terminal","console","shell","command","child_process"],"author":{"name":"Aleksandr Tsertkov","email":"tsertkov@gmail.com"},"license":{"type":"MIT","url":"https://github.com/tsertkov/exec-sh/blob/master/LICENSE"},"bugs":{"url":"https://github.com/tsertkov/exec-sh/issues"},"dependencies":{"merge":"^1.1.3"},"devDependencies":{"jsdoc":"^3.3.0-alpha8","jshint":"^2.5.1","mocha":"^1.20.1","sinon":"^1.10.2"},"homepage":"https://github.com/tsertkov/exec-sh","_id":"exec-sh@0.1.3","_shasum":"3754305c77ce2c38da5f39771460262464eb35e2","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"tsertkov","email":"tsertkov@gmail.com"},"maintainers":[{"name":"tsertkov","email":"tsertkov@gmail.com"}],"dist":{"shasum":"3754305c77ce2c38da5f39771460262464eb35e2","size":6277,"noattachment":false,"key":"/exec-sh/-/exec-sh-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/exec-sh/download/exec-sh-0.1.3.tgz"},"directories":{},"publish_time":1402776584209,"_cnpm_publish_time":1402776584209,"_hasShrinkwrap":false},"0.1.2":{"name":"exec-sh","version":"0.1.2","description":"Execute shell command forwarding all stdio.","main":"lib/exec-sh.js","scripts":{"test":"mocha && jshint lib/ example/ test/ package.json","jsdoc":"jsdoc --private --destination jsdoc lib/"},"repository":{"type":"git","url":"git@github.com:tsertkov/exec-sh.git"},"keywords":["exec","spawn","terminal","console","shell","command","child_process"],"author":{"name":"Aleksandr Tsertkov","email":"tsertkov@gmail.com"},"license":{"type":"MIT","url":"https://github.com/tsertkov/exec-sh/blob/master/LICENSE"},"bugs":{"url":"https://github.com/tsertkov/exec-sh/issues"},"dependencies":{"merge":"^1.1.3"},"devDependencies":{"jsdoc":"^3.3.0-alpha8","jshint":"^2.5.1","mocha":"^1.20.1","sinon":"^1.10.2"},"homepage":"https://github.com/tsertkov/exec-sh","_id":"exec-sh@0.1.2","_shasum":"70cd769534bd5bb6f62c95aa86ff924ffbd754df","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"tsertkov","email":"tsertkov@gmail.com"},"maintainers":[{"name":"tsertkov","email":"tsertkov@gmail.com"}],"dist":{"shasum":"70cd769534bd5bb6f62c95aa86ff924ffbd754df","size":6269,"noattachment":false,"key":"/exec-sh/-/exec-sh-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/exec-sh/download/exec-sh-0.1.2.tgz"},"directories":{},"publish_time":1402770378792,"_cnpm_publish_time":1402770378792,"_hasShrinkwrap":false},"0.1.0":{"name":"exec-sh","version":"0.1.0","description":"Execute shell command forwarding all stdio.","main":"lib/exec-sh.js","scripts":{"test":"mocha && jshint lib/ example/ test/ package.json","jsdoc":"jsdoc --private --destination jsdoc lib/"},"repository":{"type":"git","url":"git@github.com:tsertkov/exec-sh.git"},"keywords":["exec","spawn","terminal","console","shell","command","child_process"],"author":{"name":"Aleksandr Tsertkov","email":"tsertkov@gmail.com"},"license":{"type":"MIT","url":"https://github.com/tsertkov/exec-sh/blob/master/LICENSE"},"bugs":{"url":"https://github.com/tsertkov/exec-sh/issues"},"dependencies":{"merge":"^1.1.3"},"devDependencies":{"jsdoc":"^3.3.0-alpha8","jshint":"^2.5.1","mocha":"^1.20.1","sinon":"^1.10.2"},"homepage":"https://github.com/tsertkov/exec-sh","_id":"exec-sh@0.1.0","_shasum":"a28717ad7f794bc8749896fa8f71f43f7587faf4","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"tsertkov","email":"tsertkov@gmail.com"},"maintainers":[{"name":"tsertkov","email":"tsertkov@gmail.com"}],"dist":{"shasum":"a28717ad7f794bc8749896fa8f71f43f7587faf4","size":6199,"noattachment":false,"key":"/exec-sh/-/exec-sh-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/exec-sh/download/exec-sh-0.1.0.tgz"},"directories":{},"publish_time":1402711960937,"_cnpm_publish_time":1402711960937,"_hasShrinkwrap":false}},"readme":"# exec-sh\n\n[![NPM](https://nodei.co/npm/exec-sh.png)](https://nodei.co/npm/exec-sh/)\n\n[![NPM Downloads](https://img.shields.io/npm/dm/exec-sh.svg)](https://www.npmjs.com/package/exec-sh)\n[![Build Status](https://travis-ci.org/tsertkov/exec-sh.svg?branch=master)](https://travis-ci.org/tsertkov/exec-sh)\n[![Coverage Status](https://img.shields.io/coveralls/tsertkov/exec-sh.svg)](https://coveralls.io/r/tsertkov/exec-sh?branch=master)\n[![David Status](https://david-dm.org/tsertkov/exec-sh.png)](https://david-dm.org/tsertkov/exec-sh)\n\n> Execute shell command forwarding all stdio streams.\n\n## Features\n\nexec-sh is a wrapper for [`child_process.spawn`](http://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options) with some improvements:\n\n- Cross platform command execution:\n  - Windows: `cmd /C COMMAND`\n  - others: `sh -c COMMAND`\n- Fowrards all stdio streams to current terminal (by default):\n  - `execSh(\"bash\")`\n  - `execsh(\"echo -n Say: && read i && echo Said:$i\")`\n- stdout and stderr are passed to callback when available\n  - `execSh(\"pwd\", console.log)`\n\n## Showcase\n```javascript\n// JavaScript\n\nexecSh(\"echo hello exec-sh && bash\", { cwd: \"/home\" }, function(err){\n  if (err) {\n    console.log(\"Exit code: \", err.code);\n  }\n});\n```\n\n```sh\n# Terminal output: interactive bash session\n\nhello exec-sh\nbash-3.2$ pwd\n/home\nbash-3.2$ exit 99\nexit\nExit code:  99\n```\n\n## Usage\n\n```javascript\nconst execSh = require(\"../\");\n\n// run interactive bash shell\nexecSh(\"echo lorem && bash\", { cwd: \"/home\" }, (err) => {\n  if (err) {\n    console.log(\"Exit code: \", err.code);\n    return;\n  }\n\n  // collect streams output\n  const child = execSh([\"bash -c id\", \"echo lorem >&2\"], true,\n    (err, stdout, stderr) => {\n      console.log(\"error: \", err);\n      console.log(\"stdout: \", stdout);\n      console.log(\"stderr: \", stderr);\n    });\n});\n```\n\n## Promise Interface\n\n```javascript\nconst execShPromise = require(\"exec-sh\").promise;\n\n// run interactive bash shell\nconst run = async () => {\n  let out;\n\n  try {\n    out = await execShPromise('pwd', true);\n  } catch (e) {\n    console.log('Error: ', e);\n    console.log('Stderr: ', e.stderr);\n    console.log('Stdout: ', e.stdout);\n\n    return e;\n  }\n\n  console.log('out: ', out.stdout, out.stderr);\n}\n\nrun();\n```\n\n## Public API\n\n### `execSh(command, [options], [callback])`\n\nExecute shell command forwarding all stdio.\n\n**Parameters:**\n\n- `command {String|Array}` - The command to run, or array of commands\n- `[options] {Object|TRUE}` - Options object passed directly to [`child_process.spawn`](http://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options), when `TRUE` then `{ stdio: null }` used\n- `[callback] {Function}` - `callback(err, stdout, stderr)`\n - `err {Error|NULL}` - Error object. Has `code` property containing last command exit code when available\n - `stdout {String|NULL}` - aggregated stdout or `NULL` if not available\n - `stderr {String|NULL}` - aggregated stderr or `NULL` if not available\n\n**Return Values:**\n\nReturns [ChildProcess](http://nodejs.org/api/child_process.html#child_process_class_childprocess) object.\n\n## Private API\nComplete API Documentation including private and public methods is generated from source code by JSDoc tool and is [available here](https://s3.eu-central-1.amazonaws.com/tsertkov-artifacts/exec-sh/master/jsdoc/index.html).\n\n## Code Coverage\nCode coverage report for all files is [available here](https://s3.eu-central-1.amazonaws.com/tsertkov-artifacts/exec-sh/master/coverage/lcov-report/index.html).\n\n## Scripts\n\n- `npm test` - run tests\n- `npm run jsdoc` - build jsdoc\n- `npm run dev` - run tests continuously\n\n## License\n\nThe MIT License (MIT)\n","_attachments":{},"homepage":"https://github.com/tsertkov/exec-sh#readme","bugs":{"url":"https://github.com/tsertkov/exec-sh/issues"},"license":"MIT"}