| 1 |
{ |
| 2 |
"_id": "process-on-spawn", |
| 3 |
"name": "process-on-spawn", |
| 4 |
"dist-tags": { |
| 5 |
"latest": "1.0.0" |
| 6 |
}, |
| 7 |
"versions": { |
| 8 |
"1.0.0": { |
| 9 |
"name": "process-on-spawn", |
| 10 |
"version": "1.0.0", |
| 11 |
"description": "Execute callbacks when child processes are spawned", |
| 12 |
"scripts": { |
| 13 |
"release": "standard-version --sign", |
| 14 |
"pretest": "xo", |
| 15 |
"test": "nyc --silent tape test/*.js | tap-mocha-reporter classic", |
| 16 |
"posttest": "nyc report --check-coverage" |
| 17 |
}, |
| 18 |
"engines": { |
| 19 |
"node": ">=8" |
| 20 |
}, |
| 21 |
"author": { |
| 22 |
"name": "Corey Farrell" |
| 23 |
}, |
| 24 |
"license": "MIT", |
| 25 |
"repository": { |
| 26 |
"type": "git", |
| 27 |
"url": "git+https://github.com/cfware/process-on-spawn.git" |
| 28 |
}, |
| 29 |
"bugs": { |
| 30 |
"url": "https://github.com/cfware/process-on-spawn/issues" |
| 31 |
}, |
| 32 |
"homepage": "https://github.com/cfware/process-on-spawn#readme", |
| 33 |
"dependencies": { |
| 34 |
"fromentries": "^1.2.0" |
| 35 |
}, |
| 36 |
"devDependencies": { |
| 37 |
"nyc": "^15.0.0-beta.3", |
| 38 |
"standard-version": "^7.0.0", |
| 39 |
"tap-mocha-reporter": "^5.0.0", |
| 40 |
"tape": "^4.11.0", |
| 41 |
"xo": "^0.25.3" |
| 42 |
}, |
| 43 |
"gitHead": "333106fa246ae4577ce010f8a5405d38061ec359", |
| 44 |
"_id": "[email protected]", |
| 45 |
"_nodeVersion": "13.3.0", |
| 46 |
"_npmVersion": "6.13.2", |
| 47 |
"dist": { |
| 48 |
"integrity": "sha512-1WsPDsUSMmZH5LeMLegqkPDrsGgsWwk1Exipy2hvB0o/F0ASzbpIctSCcZIK1ykJvtTJULEH+20WOFjMvGnCTg==", |
| 49 |
"shasum": "95b05a23073d30a17acfdc92a440efd2baefdc93", |
| 50 |
"tarball": "https://registry.npmjs.org/process-on-spawn/-/process-on-spawn-1.0.0.tgz", |
| 51 |
"fileCount": 5, |
| 52 |
"unpackedSize": 7474, |
| 53 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd9xe2CRA9TVsSAnZWagAA3U4QAJ3b5cIYcV4iTN4Yn3BJ\nrp5X/GL48BUXMMfp+F7xBP2s695o2Sd2UmnWwIRaaeiA+DyPw61BDu91rWLu\nVRO7stmfVXKEV9iymQRaHBixtAUD1OoDhDfWloOaxXzlWrN99jD3tLBkG5D/\nTI1VWp0+LtQKBnV4XgVS4SRKN/OgloFgJp/RRNGmvOYrG28a5759cIwqDqAH\nQBoWBP0FA/k/RvKas+jQRSmaOn9Xj72CENSCvwiUbNNDWwSKDDqSgCzfcU/2\nXhkjg4IYe/coNsOe4cHz3P873Tc0IdmMQPgkdTOyRH/hFVF+ZhqbVsNt5kVh\nLgJJBbT1APaU+knWWXG8y0S8zPNJ3hhR/td7f8b8+k1ibQ9wJXjNXbcIHsAm\ngFZT3tYnl51ba+gFdhhSgVVZ+BdtVRRwai2OfAvSk3GNbSEBZ4c9AFuxE+I3\nX01IUmtfx+GGO6FVYJ6c+6673tYcJd3pOC/+AvcQGJCyRjIDyHcsOdNlmw83\nm+byRTsEjyg1aIexcZcZkiMjzqzJ6ukUnRAHSkjhxrjB99pQMmmRJu2R4mc+\nxuvKTHZtIHUDLUGfhRNEbXTxlyru/pe0Y9rL7uGOgZwPXS24ocWBL9cM0A1W\nJTiK02VvCLkD3GWeiuGm1FbIZG2w4rzbyWkmJ2buOwGDc+cKFo6K/KgGhF1Z\nYvD6\r\n=ckzh\r\n-----END PGP SIGNATURE-----\r\n" |
| 54 |
}, |
| 55 |
"maintainers": [ |
| 56 |
{ |
| 57 |
"name": "coreyfarrell", |
| 58 |
"email": "[email protected]" |
| 59 |
} |
| 60 |
], |
| 61 |
"_npmUser": { |
| 62 |
"name": "coreyfarrell", |
| 63 |
"email": "[email protected]" |
| 64 |
}, |
| 65 |
"directories": {}, |
| 66 |
"_npmOperationalInternal": { |
| 67 |
"host": "s3://npm-registry-packages", |
| 68 |
"tmp": "tmp/process-on-spawn_1.0.0_1576474550319_0.9284403132722365" |
| 69 |
}, |
| 70 |
"_hasShrinkwrap": false |
| 71 |
} |
| 72 |
}, |
| 73 |
"time": { |
| 74 |
"created": "2019-12-16T05:35:50.318Z", |
| 75 |
"1.0.0": "2019-12-16T05:35:50.484Z", |
| 76 |
"modified": "2019-12-16T05:35:52.819Z" |
| 77 |
}, |
| 78 |
"maintainers": [ |
| 79 |
{ |
| 80 |
"name": "coreyfarrell", |
| 81 |
"email": "[email protected]" |
| 82 |
} |
| 83 |
], |
| 84 |
"description": "Execute callbacks when child processes are spawned", |
| 85 |
"homepage": "https://github.com/cfware/process-on-spawn#readme", |
| 86 |
"repository": { |
| 87 |
"type": "git", |
| 88 |
"url": "git+https://github.com/cfware/process-on-spawn.git" |
| 89 |
}, |
| 90 |
"author": { |
| 91 |
"name": "Corey Farrell" |
| 92 |
}, |
| 93 |
"bugs": { |
| 94 |
"url": "https://github.com/cfware/process-on-spawn/issues" |
| 95 |
}, |
| 96 |
"license": "MIT", |
| 97 |
"readme": "# process-on-spawn\n\n[![Travis CI][travis-image]][travis-url]\n[![Greenkeeper badge][gk-image]](https://greenkeeper.io/)\n[![NPM Version][npm-image]][npm-url]\n[![NPM Downloads][downloads-image]][downloads-url]\n[![MIT][license-image]](LICENSE)\n\nExecute callbacks when child processes are spawned.\n\n## Usage\n\n```js\n'use strict';\n\nconst processOnSpawn = require('process-on-spawn');\nprocessOnSpawn.addListener(opts => {\n opts.env.CHILD_VARIABLE = 'value';\n});\n```\n\n### listener(opts)\n\n* `options` \\<[Object]\\>\n * `execPath` \\<[string]\\> The command to run.\n * `args` \\<[string\\[\\]][string]\\> Arguments of the child process.\n * `cwd` \\<[string]\\> Current working directory of the child process.\n * `detached` \\<[boolean]\\> The child will be prepared to run independently of its parent process.\n * `uid` \\<[number]\\> The user identity to be used by the child.\n * `gid` \\<[number]\\> The group identity to be used by the child.\n * `windowsVerbatimArguments` \\<[boolean]\\> No quoting or escaping of arguments will be done on Windows.\n * `windowsHide` \\<[boolean]\\> The subprocess console window that would normally be created on Windows systems will be hidden.\n\nAll properties except `env` are read-only.\n\n### processOnSpawn.addListener(listener)\n\nAdd a listener to be called after any listeners already attached.\n\n### processOnSpawn.prependListener(listener)\n\nInsert a listener to be called before any listeners already attached.\n\n### processOnSpawn.removeListener(listener)\n\nRemove the specified listener. If the listener was added multiple times only\nthe first is removed.\n\n### processOnSpawn.removeAllListeners()\n\nRemove all attached listeners.\n\n[npm-image]: https://img.shields.io/npm/v/process-on-spawn.svg\n[npm-url]: https://npmjs.org/package/process-on-spawn\n[travis-image]: https://travis-ci.org/cfware/process-on-spawn.svg?branch=master\n[travis-url]: https://travis-ci.org/cfware/process-on-spawn\n[gk-image]: https://badges.greenkeeper.io/cfware/process-on-spawn.svg\n[downloads-image]: https://img.shields.io/npm/dm/process-on-spawn.svg\n[downloads-url]: https://npmjs.org/package/process-on-spawn\n[license-image]: https://img.shields.io/npm/l/process-on-spawn.svg\n[Object]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[string]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type\n[boolean]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type\n[number]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type\n", |
| 98 |
"readmeFilename": "README.md" |
| 99 |
} |