{"_id":"spawndamnit","_rev":"10-fb502f4fc59b4d49882ae30775d275ab","name":"spawndamnit","dist-tags":{"latest":"3.0.1"},"versions":{"1.0.0":{"name":"spawndamnit","version":"1.0.0","keywords":["spawn","child","process","promise","async","cross-spawn"],"author":{"name":"James Kyle","email":"me@thejameskyle.com"},"license":"MIT","_id":"spawndamnit@1.0.0","maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"homepage":"https://github.com/thejameskyle/spawndamnit#readme","bugs":{"url":"https://github.com/thejameskyle/spawndamnit/issues"},"dist":{"shasum":"b5d4a1a73016dbcca8f8b1e283eee76a649161b8","tarball":"https://registry.npmjs.org/spawndamnit/-/spawndamnit-1.0.0.tgz","integrity":"sha512-elbRJ32UPPbHpxvrTXH9FYGepzhBsgNK0PAB5wEezqq6NtLTvIXHOBdn1zV06kQ+7fxWXPZJI8rpex3CBeRYVA==","signatures":[{"sig":"MEUCIQC3AY01aDIF9xcyCujiP+rw81p8T8SqMiNABAgyFs6VrQIgbrbUQRbtfxO2h/RBKOeki7mQQeWk51cp+w0ITYNqBsg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","promise.js","promise.js.flow","error.js"],"_shasum":"b5d4a1a73016dbcca8f8b1e283eee76a649161b8","gitHead":"71b1200f63323f6309c19888a5864b5d73ab669c","scripts":{"flow":"flow","test":"ava"},"_npmUser":{"name":"thejameskyle","email":"me@thejameskyle.com"},"repository":{"url":"git+https://github.com/thejameskyle/spawndamnit.git","type":"git"},"_npmVersion":"2.15.11","description":"Take care of your `spawn()`","directories":{},"_nodeVersion":"4.8.4","dependencies":{"cross-spawn":"^5.1.0","signal-exit":"^3.0.2"},"devDependencies":{"ava":"^0.24.0","fixturez":"^1.1.0","flow-bin":"^0.63.1"},"_npmOperationalInternal":{"tmp":"tmp/spawndamnit-1.0.0.tgz_1516329337456_0.7080472842790186","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"spawndamnit","version":"2.0.0","keywords":["spawn","child","process","promise","async","cross-spawn"],"author":{"name":"James Kyle","email":"me@thejameskyle.com"},"license":"MIT","_id":"spawndamnit@2.0.0","maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"homepage":"https://github.com/thejameskyle/spawndamnit#readme","bugs":{"url":"https://github.com/thejameskyle/spawndamnit/issues"},"dist":{"shasum":"9f762ac5c3476abb994b42ad592b5ad22bb4b0ad","tarball":"https://registry.npmjs.org/spawndamnit/-/spawndamnit-2.0.0.tgz","fileCount":6,"integrity":"sha512-j4JKEcncSjFlqIwU5L/rp2N5SIPsdxaRsIv678+TZxZ0SRDJTm8JrxJMjE/XuiEZNEir3S8l0Fa3Ke339WI4qA==","signatures":[{"sig":"MEQCIG2bC7JTsG97pYHFJ0U3zALfgDLE49FalZKehaJUOgDdAiAXGDYuHBMuNh14JmHV0r0KsOXlcmZCOFeEGj4KFiTemA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4457},"main":"index.js","files":["index.js","promise.js","promise.js.flow","error.js"],"gitHead":"916fa485e57a3b67c1608a92d379670f1b4a60c6","scripts":{"flow":"flow","test":"ava"},"_npmUser":{"name":"thejameskyle","email":"me@thejameskyle.com"},"repository":{"url":"git+https://github.com/thejameskyle/spawndamnit.git","type":"git"},"_npmVersion":"5.6.0","description":"Take care of your `spawn()`","directories":{},"_nodeVersion":"8.9.4","dependencies":{"cross-spawn":"^5.1.0","signal-exit":"^3.0.2"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^0.24.0","fixturez":"^1.1.0","flow-bin":"^0.63.1"},"_npmOperationalInternal":{"tmp":"tmp/spawndamnit_2.0.0_1523483656631_0.03994171215369269","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"spawndamnit","version":"3.0.1","main":"index.js","description":"Take care of your `spawn()`","author":{"name":"James Kyle","email":"me@thejameskyle.com"},"repository":{"type":"git","url":"git+https://github.com/thejameskyle/spawndamnit.git"},"license":"SEE LICENSE IN LICENSE","keywords":["spawn","child","process","promise","async","cross-spawn"],"scripts":{"flow":"flow","test":"ava"},"dependencies":{"cross-spawn":"^7.0.5","signal-exit":"^4.0.1"},"devDependencies":{"ava":"^4.3.3","fixturez":"^1.1.0","flow-bin":"^0.63.1"},"_id":"spawndamnit@3.0.1","gitHead":"da9382aa00d022e475b2bf152e993551d47e642d","bugs":{"url":"https://github.com/thejameskyle/spawndamnit/issues"},"homepage":"https://github.com/thejameskyle/spawndamnit#readme","_nodeVersion":"20.18.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-MmnduQUuHCoFckZoWnXsTg7JaiLBJrKFj9UI2MbRPGaJeVpsLcVBu6P/IGZovziM/YBsellCmsprgNA+w0CzVg==","shasum":"44410235d3dc4e21f8e4f740ae3266e4486c2aed","tarball":"https://registry.npmjs.org/spawndamnit/-/spawndamnit-3.0.1.tgz","fileCount":6,"unpackedSize":4478,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBko4vyMXWW8q5jm1KVAQgGN8FiyKT+qc63DIN2AtJS4AiEA8mNGQAlHY+oTkWDwQGLX5NvSRiI7uz6+XzNokHGMFQo="}]},"_npmUser":{"name":"thejameskyle","email":"me@thejameskyle.com"},"directories":{},"maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spawndamnit_3.0.1_1731961452844_0.4927386689994264"},"_hasShrinkwrap":false}},"time":{"created":"2018-01-19T02:35:37.536Z","modified":"2024-11-18T20:24:13.266Z","1.0.0":"2018-01-19T02:35:37.536Z","2.0.0":"2018-04-11T21:54:16.714Z","3.0.1":"2024-11-18T20:24:13.114Z"},"bugs":{"url":"https://github.com/thejameskyle/spawndamnit/issues"},"author":{"name":"James Kyle","email":"me@thejameskyle.com"},"license":"SEE LICENSE IN LICENSE","homepage":"https://github.com/thejameskyle/spawndamnit#readme","keywords":["spawn","child","process","promise","async","cross-spawn"],"repository":{"type":"git","url":"git+https://github.com/thejameskyle/spawndamnit.git"},"description":"Take care of your `spawn()`","maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"readme":"# spawndamnit\n\n> Take care of your `spawn()`\n\n## Features\n\n- Returns an `await`-able promise\n- Collects `stdout` and `stderr` buffers\n- Emits events \"stdout\" and \"stderr\"\n- Automatically kills all spawn processes when parent process dies\n\n## Installation\n\n```sh\nyarn add spawndamnit\n```\n\n## Usage\n\n**Basic:**\n\n```js\nconst spawn = require('spawndamnit');\n\nasync function main() {\n  let child = spawn('npm', ['star', 'spawndamnit']);\n\n  child.on('stdout', data => console.log(data.toString()));\n  child.on('stderr', data => console.error(data.toString()));\n\n  let { code, stdout, stderr } = await child;\n\n  console.log(code === 0 ? 'success' : 'error');\n}\n```\n","readmeFilename":"README.md","users":{"donavon":true,"suchipi":true,"dawsonbotsford":true,"ajaynarainmathur":true}}