{"_id":"flagged-respawn","_rev":"27-14611f826b3e226c72659adea0b152bc","name":"flagged-respawn","description":"A tool for respawning node binaries when special flags are present.","dist-tags":{"latest":"2.0.0"},"versions":{"0.1.0":{"name":"flagged-respawn","description":"A tool for respawning node binaries when special flags are present.","version":"0.1.0","homepage":"https://github.com/tkellen/node-flagged-respawn","author":{"name":"Tyler Kellen","url":"http://goingslowly.com/"},"repository":{"type":"git","url":"git://github.com/tkellen/node-flagged-respawn.git"},"bugs":{"url":"https://github.com/tkellen/node-flagged-respawn/issues"},"licenses":[{"type":"MIT","url":"https://github.com/tkellen/node-flagged-respawn/blob/master/LICENSE"}],"scripts":{"respawn":"node bin/example --harmony test","nospawn":"node bin/example test","test":"mocha -R spec test.js"},"main":"index.js","engines":{"node":">= 0.8.0"},"keywords":["respawn flags"],"devDependencies":{"chai":"^1.9.1","mocha":"^1.21.4","v8flags":"^1.0.1"},"_id":"flagged-respawn@0.1.0","_shasum":"25aa6592c36ff63b451984961c543c42da30a095","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"tkellen","email":"tyler@sleekcode.net"},"maintainers":[{"name":"tkellen","email":"tyler@sleekcode.net"}],"dist":{"shasum":"25aa6592c36ff63b451984961c543c42da30a095","tarball":"https://registry.npmjs.org/flagged-respawn/-/flagged-respawn-0.1.0.tgz","integrity":"sha512-hFaQLOusCGYnynVWaDsK2jidKc5M5ALAJMwMiSTPQHWRNc0tGc9RRrz3A3hVmh5UZ0TnAfO7VEtMO7UmsOFImg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBr8r34YRHXz/lsysNFPDCS5apjs/Petx+bhY052fgUnAiBzxpGIT4Yo7fW1aUDt81OgQKIIFerEksFUey1NxyK0XA=="}]},"directories":{}},"0.1.1":{"name":"flagged-respawn","description":"A tool for respawning node binaries when special flags are present.","version":"0.1.1","homepage":"https://github.com/tkellen/node-flagged-respawn","author":{"name":"Tyler Kellen","url":"http://goingslowly.com/"},"repository":{"type":"git","url":"git://github.com/tkellen/node-flagged-respawn.git"},"bugs":{"url":"https://github.com/tkellen/node-flagged-respawn/issues"},"licenses":[{"type":"MIT","url":"https://github.com/tkellen/node-flagged-respawn/blob/master/LICENSE"}],"scripts":{"respawn":"node bin/example --harmony test","nospawn":"node bin/example test","test":"mocha -R spec test.js"},"main":"index.js","engines":{"node":">= 0.8.0"},"keywords":["respawn flags"],"devDependencies":{"chai":"~1.9.1","mocha":"~1.21.4","v8flags":"~1.0.1"},"_id":"flagged-respawn@0.1.1","_shasum":"cac24e4f36985affb9bded25d453067c230d4e1d","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"tkellen","email":"tyler@sleekcode.net"},"maintainers":[{"name":"tkellen","email":"tyler@sleekcode.net"}],"dist":{"shasum":"cac24e4f36985affb9bded25d453067c230d4e1d","tarball":"https://registry.npmjs.org/flagged-respawn/-/flagged-respawn-0.1.1.tgz","integrity":"sha512-rUtqh29YpQThkV6JKa4Y8zC2AM3F6nMA7v8ZW9xPfEi8zBjI0gWT1CbAsOhYYnemksMxb9HyimpAXDVmuPJj1Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFb9VRplFefjuZvC11UkVDVvBKpMojpsWJ0ijkyJqmakAiBmsJYS9KR2KqTMYtIQyvvSFv/jyXg4HmTiBbvLRoui4w=="}]},"directories":{}},"0.1.2":{"name":"flagged-respawn","description":"A tool for respawning node binaries when special flags are present.","version":"0.1.2","homepage":"https://github.com/tkellen/node-flagged-respawn","author":{"name":"Tyler Kellen","url":"http://goingslowly.com/"},"repository":{"type":"git","url":"git://github.com/tkellen/node-flagged-respawn.git"},"bugs":{"url":"https://github.com/tkellen/node-flagged-respawn/issues"},"licenses":[{"type":"MIT","url":"https://github.com/tkellen/node-flagged-respawn/blob/master/LICENSE"}],"scripts":{"respawn":"node bin/example --harmony test","nospawn":"node bin/example test","test":"mocha -R spec test.js"},"main":"index.js","engines":{"node":">= 0.8.0"},"keywords":["respawn flags"],"devDependencies":{"chai":"~1.9.1","mocha":"~1.21.4","v8flags":"~1.0.1"},"_id":"flagged-respawn@0.1.2","_shasum":"93e9511322e01d39cad398c6403da998b9d259ac","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"tkellen","email":"tyler@sleekcode.net"},"maintainers":[{"name":"tkellen","email":"tyler@sleekcode.net"}],"dist":{"shasum":"93e9511322e01d39cad398c6403da998b9d259ac","tarball":"https://registry.npmjs.org/flagged-respawn/-/flagged-respawn-0.1.2.tgz","integrity":"sha512-B1YjADXyoEMxSu01hqnRhbFZ8MPueIsS+IJ7k6THjYj3ynO4xbyB320eBxCKW2eV7LdMMrlhdaotUTdFA3T7PQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClXoUdHPzAmJBS4Ijq8U/53iqlmYuKZLGoD6uQ1B8kcQIga/DKl5xXapORbjcfUaaF4NzUOJX8Be/eioCvaTTIgkw="}]},"directories":{}},"0.2.0":{"name":"flagged-respawn","description":"A tool for respawning node binaries when special flags are present.","version":"0.2.0","homepage":"https://github.com/tkellen/node-flagged-respawn","author":{"name":"Tyler Kellen","url":"http://goingslowly.com/"},"repository":{"type":"git","url":"git://github.com/tkellen/node-flagged-respawn.git"},"bugs":{"url":"https://github.com/tkellen/node-flagged-respawn/issues"},"licenses":[{"type":"MIT","url":"https://github.com/tkellen/node-flagged-respawn/blob/master/LICENSE"}],"scripts":{"respawn":"node test/bin/respawner --harmony test","nospawn":"node test/bin/respawner test","test":"mocha -R spec test"},"main":"index.js","engines":{"node":">= 0.8.0"},"keywords":["respawn flags"],"devDependencies":{"chai":"~1.9.1","mocha":"~1.21.4","v8flags":"~1.0.1"},"_id":"flagged-respawn@0.2.0","_shasum":"e5255fa8beb878266ae9bb0e75c982046dafe886","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"tkellen","email":"tyler@sleekcode.net"},"maintainers":[{"name":"tkellen","email":"tyler@sleekcode.net"}],"dist":{"shasum":"e5255fa8beb878266ae9bb0e75c982046dafe886","tarball":"https://registry.npmjs.org/flagged-respawn/-/flagged-respawn-0.2.0.tgz","integrity":"sha512-mLpqWcPVpRmOGs+iZKMDzEYVsaWJkf8VK+sygVrGBg7cL0XefiQCzO11CoZpnTLgeipXd/vEsJ3u4xMKgk4/Nw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOCgCX6nntTrUx8oDJW5txpxWxbULCDYKgGZel1X7uegIhAOlw29qfovMsuCKmahfi0BT0yYNNP8X21bP8fMHK45Dy"}]},"directories":{}},"0.3.0":{"name":"flagged-respawn","description":"A tool for respawning node binaries when special flags are present.","version":"0.3.0","homepage":"https://github.com/tkellen/node-flagged-respawn","author":{"name":"Tyler Kellen","url":"http://goingslowly.com/"},"repository":{"type":"git","url":"git://github.com/tkellen/node-flagged-respawn.git"},"bugs":{"url":"https://github.com/tkellen/node-flagged-respawn/issues"},"licenses":[{"type":"MIT","url":"https://github.com/tkellen/node-flagged-respawn/blob/master/LICENSE"}],"scripts":{"respawn":"node test/bin/respawner --harmony test","nospawn":"node test/bin/respawner test","test":"mocha -R spec test"},"main":"index.js","engines":{"node":">= 0.8.0"},"keywords":["respawn flags"],"devDependencies":{"chai":"~1.9.1","mocha":"~1.21.4","v8flags":"~1.0.1"},"_id":"flagged-respawn@0.3.0","_shasum":"28bc5824f922d062fc528896b369eb1697fab331","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"tkellen","email":"tyler@sleekcode.net"},"maintainers":[{"name":"tkellen","email":"tyler@sleekcode.net"}],"dist":{"shasum":"28bc5824f922d062fc528896b369eb1697fab331","tarball":"https://registry.npmjs.org/flagged-respawn/-/flagged-respawn-0.3.0.tgz","integrity":"sha512-z4LWPODfs9i7vwKFggP7M16e1t1Co9b2J0Cx3jd8y3nFWXSVxnECj3beeiZWOGL/4teNvThINKq6YoRsabWJ0A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGAYeMsBrWfuaT14AFyqYDAdync1y/jBaXPMp0bz/KmwIgdxj4Q7WxTjsgwcREpKe6sL/DHzSlpf5RX6rxtOkZU4g="}]},"directories":{}},"0.3.1":{"name":"flagged-respawn","description":"A tool for respawning node binaries when special flags are present.","version":"0.3.1","homepage":"https://github.com/tkellen/node-flagged-respawn","author":{"name":"Tyler Kellen","url":"http://goingslowly.com/"},"repository":{"type":"git","url":"git://github.com/tkellen/node-flagged-respawn.git"},"bugs":{"url":"https://github.com/tkellen/node-flagged-respawn/issues"},"licenses":[{"type":"MIT","url":"https://github.com/tkellen/node-flagged-respawn/blob/master/LICENSE"}],"scripts":{"respawn":"node test/bin/respawner --harmony test","nospawn":"node test/bin/respawner test","test":"mocha -R spec test"},"main":"index.js","engines":{"node":">= 0.8.0"},"keywords":["respawn flags"],"devDependencies":{"chai":"~1.9.1","mocha":"~1.21.4","v8flags":"~1.0.1"},"gitHead":"67f84fdd7b5f236f24ab9beee9ed1f5bf7ca8778","_id":"flagged-respawn@0.3.1","_shasum":"397700925df6e12452202a71e89d89545fbbbe9d","_from":".","_npmVersion":"1.4.26","_npmUser":{"name":"tkellen","email":"tyler@sleekcode.net"},"maintainers":[{"name":"tkellen","email":"tyler@sleekcode.net"}],"dist":{"shasum":"397700925df6e12452202a71e89d89545fbbbe9d","tarball":"https://registry.npmjs.org/flagged-respawn/-/flagged-respawn-0.3.1.tgz","integrity":"sha512-mQgPHLry82sfFHgcCZu32jdzCm0h0Li0if2/EggzCwKltkEIXlXj7Y0Hq4II/UxQbeDWh7J9OgUb05K2WDDTFg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHzki34r3ElI1CevOJ8uEPxLRao/P3AYGzIjZ4Dd1FwAAiEA7E7X7HxUkOagfcU/fS1+AoCqXHeRTtgcE78O+JNwO/s="}]},"directories":{}},"0.3.2":{"name":"flagged-respawn","description":"A tool for respawning node binaries when special flags are present.","version":"0.3.2","homepage":"https://github.com/js-cli/js-flagged-respawn","author":{"name":"Tyler Kellen","url":"http://goingslowly.com/"},"repository":{"type":"git","url":"git://github.com/js-cli/js-flagged-respawn.git"},"bugs":{"url":"https://github.com/js-cli/js-flagged-respawn/issues"},"licenses":[{"type":"MIT","url":"https://github.com/js-cli/js-flagged-respawn/blob/master/LICENSE"}],"scripts":{"respawn":"node test/bin/respawner --harmony test","nospawn":"node test/bin/respawner test","test":"mocha -R spec test"},"main":"index.js","engines":{"node":">= 0.8.0"},"keywords":["respawn flags"],"devDependencies":{"chai":"~1.9.1","mocha":"~1.21.4","v8flags":"~1.0.1"},"gitHead":"5467529adb5512292c8dd341691ba75b2293ed7e","_id":"flagged-respawn@0.3.2","_shasum":"ff191eddcd7088a675b2610fffc976be9b8074b5","_from":".","_npmVersion":"2.14.9","_nodeVersion":"0.12.12","_npmUser":{"name":"tusbar","email":"b@pk.am"},"maintainers":[{"name":"tkellen","email":"tyler@sleekcode.net"},{"name":"tusbar","email":"b@pk.am"}],"dist":{"shasum":"ff191eddcd7088a675b2610fffc976be9b8074b5","tarball":"https://registry.npmjs.org/flagged-respawn/-/flagged-respawn-0.3.2.tgz","integrity":"sha512-HV3vdzzmQpuvpF5ghGNEKLSk3XrOmhuxWW96cO85B8JUm7iwcE8gLVl2fygaiwHFRXRiIUmEfIGMN6sQIn226g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxXefAliNCbDh//jqb8GCCRzNBb+UBDCvs24jkUEIlewIgQ3ogp2tsRtGpx7yVYQ5EyPTB1t8ldvhFYgbNeipBGLk="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/flagged-respawn-0.3.2.tgz_1458638775261_0.252670707879588"},"directories":{}},"1.0.0":{"name":"flagged-respawn","description":"A tool for respawning node binaries when special flags are present.","version":"1.0.0","homepage":"https://github.com/js-cli/js-flagged-respawn","author":{"name":"Tyler Kellen","url":"http://goingslowly.com/"},"repository":{"type":"git","url":"git://github.com/js-cli/js-flagged-respawn.git"},"bugs":{"url":"https://github.com/js-cli/js-flagged-respawn/issues"},"license":"MIT","scripts":{"lint":"jshint index.js lib/ && jscs index.js lib/","respawn":"node test/bin/respawner --harmony test","nospawn":"node test/bin/respawner test","test":"npm run lint && mocha -R spec test","cover":"nyc --reporter=lcov --reporter=text-summary npm test"},"main":"index.js","files":["index.js","lib/"],"engines":{"node":">= 0.8.0"},"keywords":["respawn flags"],"devDependencies":{"chai":"^3.5.0","jscs":"^3.0.7","jshint":"^2.9.5","mocha":"^3.5.3","nyc":"^11.3.0","v8flags":"^3.0.1"},"gitHead":"81d23e8973c7f2c69dccf313a320628bd068a721","_id":"flagged-respawn@1.0.0","_shasum":"4e79ae9b2eb38bf86b3bb56bf3e0a56aa5fcabd7","_from":".","_npmVersion":"2.15.1","_nodeVersion":"0.10.48","_npmUser":{"name":"phated","email":"blaine.bublitz@gmail.com"},"maintainers":[{"email":"blaine.bublitz@gmail.com","name":"phated"},{"email":"bertrand.marron@gmail.com","name":"tusbar"},{"email":"tyler@sleekcode.net","name":"tkellen"}],"dist":{"shasum":"4e79ae9b2eb38bf86b3bb56bf3e0a56aa5fcabd7","tarball":"https://registry.npmjs.org/flagged-respawn/-/flagged-respawn-1.0.0.tgz","integrity":"sha512-uEIeQj2Z4a7Jzpb682FYsKc4YWHKaykTndikWrRtoWhOc1w3/97An5RcLhwBSq7phxokzK5kFHEKRKT0raGgTg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB9E+Jh3Zu8t6kH0pzbKegXUjM0o2wieVox06HiKUBcsAiA3h9YDKT7rHZR6vwVwYxg1yOEGNH18w/XKShZ37DGdLA=="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/flagged-respawn-1.0.0.tgz_1513468186583_0.7541352626867592"},"directories":{}},"1.0.1":{"name":"flagged-respawn","version":"1.0.1","description":"A tool for respawning node binaries when special flags are present.","author":{"name":"Gulp Team","email":"team@gulpjs.com","url":"http://gulpjs.com/"},"contributors":[{"name":"Takayuki Sato","email":"sttk.xslet@gmail.com"},{"name":"Bertrand Marron","email":"bertrand.marron@ionisx.com"},{"name":"Tyler Kellen","email":"tyler@sleekcode.net"},{"name":"Blaine Bublitz","email":"blaine.bublitz@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/gulpjs/flagged-respawn.git"},"license":"MIT","engines":{"node":">= 0.10"},"main":"index.js","scripts":{"lint":"eslint .","pretest":"npm run lint","test":"mocha --async-only","cover":"nyc --reporter=lcov --reporter=text-summary npm test","coveralls":"npm run cover && istanbul-coveralls","respawn":"node test/bin/respawner --harmony test","nospawn":"node test/bin/respawner test"},"dependencies":{},"devDependencies":{"eslint":"^2.13.0","eslint-config-gulp":"^3.0.1","expect":"^1.20.2","istanbul":"^0.4.3","istanbul-coveralls":"^1.0.3","mocha":"^3.5.3","nyc":"^11.3.0","v8flags":"^3.0.1"},"keywords":["respawn","flags"],"gitHead":"2640711d748a1bea801b502d4861277425706721","bugs":{"url":"https://github.com/gulpjs/flagged-respawn/issues"},"homepage":"https://github.com/gulpjs/flagged-respawn#readme","_id":"flagged-respawn@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"phated","email":"blaine.bublitz@gmail.com"},"dist":{"integrity":"sha512-lNaHNVymajmk0OJMBn8fVUAU1BtDeKIqKoVhk4xAALB57aALg6b4W0MfJ/cUE0g9YBXy5XhSlPIpYIJ7HaY/3Q==","shasum":"e7de6f1279ddd9ca9aac8a5971d618606b3aab41","tarball":"https://registry.npmjs.org/flagged-respawn/-/flagged-respawn-1.0.1.tgz","fileCount":8,"unpackedSize":10361,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcEAyCCRA9TVsSAnZWagAAhsYP/2AY4Pl0bYf+9yQcpER9\nNCMnLhkopAYRi5jJwsXm5V6BsAQRO4dWgmUwN4cxHx9BbaKaA0kcnrCyohiW\nrcPODIT2oEip6FAJPfgsp0JFuDDTN8YW0ieKDP3f5IkL70RqHZjaCLRLVPCI\n3vpYIqQcvkCupqCNyB0aaYIZRFVqAK/oB5Vps3w2Bt0L67EnD63mV5I5e3HS\n5BOGROpxJms9KK6r4QPoCquGhe9UuwzCA2sbNcgdkz2LIykyixgO5tGpY6hQ\nq27t0GNw8zmZv+NNo0/3BFtb1MdDFj2PaUEVkFQjeLSGpoxEt4AYwzixx8jk\nNTh6hDVV9JKOeMeXhqpTYftnMfUDrVsKs28OEGr38e9CjAyTEMDEPyTmPLyO\nkT4cV8OktbGu9me3cbSLOrofTeE1YjLGFP9arAkdQX076JFM8bU49YRoH7f0\ngySuqY526bBdtwasGwGlKHvvXP61IE1La6Q187pyDi6RjFH8sBwfQuhP1AwG\nKZc43eoRplWu8G0KJQ1KmHiVbf4nU20fb9enTyeRM0WEUvp4YJHmJYxB/VxH\nkrvz7xZaaKRcI9r2qzxBxDC4jGdT0nbjc82e409UC7SP9IvvgmQbPnYi75Gu\nXZ+EgPFg4XEKl/yLvdWCLB2lUzv5iIC/z45RYMqp6ovbR7L9QrnBHezEwKM4\nWnvN\r\n=pTd5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFNoPznIa96rL+vJP1c1PjTZkQsr0aBffK3XwbZqEdqIAiEAv7UxoTLUmkks9kqNmJgKwRYZlbxxgr+EGqD4SoekPYE="}]},"maintainers":[{"email":"yo@contra.io","name":"contra"},{"email":"blaine.bublitz@gmail.com","name":"phated"},{"email":"sttk.xslet@gmail.com","name":"sttk"},{"email":"tyler@sleekcode.net","name":"tkellen"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/flagged-respawn_1.0.1_1544555649674_0.741443184349275"},"_hasShrinkwrap":false},"2.0.0":{"name":"flagged-respawn","version":"2.0.0","description":"A tool for respawning node binaries when special flags are present.","author":{"name":"Gulp Team","email":"team@gulpjs.com","url":"http://gulpjs.com/"},"contributors":[{"name":"Takayuki Sato","email":"sttk.xslet@gmail.com"},{"name":"Bertrand Marron","email":"bertrand.marron@ionisx.com"},{"name":"Tyler Kellen","email":"tyler@sleekcode.net"},{"name":"Blaine Bublitz","email":"blaine.bublitz@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/gulpjs/flagged-respawn.git"},"license":"MIT","engines":{"node":">= 10.13.0"},"main":"index.js","scripts":{"lint":"eslint .","pretest":"npm run lint","test":"nyc mocha --async-only"},"devDependencies":{"eslint":"^7.32.0","eslint-config-gulp":"^5.0.1","eslint-plugin-node":"^11.1.0","expect":"^27.3.1","mocha":"^8.4.0","nyc":"^15.1.0","v8flags":"^4.0.0"},"nyc":{"reporter":["lcov","text-summary"]},"prettier":{"singleQuote":true},"keywords":["respawn","flags"],"gitHead":"bc99cb3e088ef2ddaf4b039002653517241314e9","bugs":{"url":"https://github.com/gulpjs/flagged-respawn/issues"},"homepage":"https://github.com/gulpjs/flagged-respawn#readme","_id":"flagged-respawn@2.0.0","_nodeVersion":"16.13.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-Gq/a6YCi8zexmGHMuJwahTGzXlAZAOsbCVKduWXC6TlLCjjFRlExMJc4GC2NYPYZ0r/brw9P7CpRgQmlPVeOoA==","shasum":"abf39719dcfe1ac06c86c9466081c541c682987b","tarball":"https://registry.npmjs.org/flagged-respawn/-/flagged-respawn-2.0.0.tgz","fileCount":8,"unpackedSize":10134,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhmsKICRA9TVsSAnZWagAAaO0P/1QhX5IiEXuP+/Bt1oKc\nNmXcKdPJ8n6V1v7DC0iyqBGYZh7O4ddZP+FMf2yIrVYv0yqJImtQvA3LKVh2\nvGDhXD6rA1DXP0j9kYRvLg2UsIawzhng3N7bSGC6KgekWpKvot4xI2HcQpMw\nlibWmuffxIuB7NFvIk+CaLAjIZu8nyNSrXa7xa2S7PNuu314kJmflALSIQ/7\nVZFRIcc4lNX1dF7miVm7BNNczraEU14FipBXXWfdEzXbhCTwbQAI2rtEOLYs\nAc05M7D56Pi2S876vLhycHJA3Swhd2BWDMNNs+zLBS2ILt6tDel3zunNPNPV\nrC6IsozxcfdZwm6+DHDz7l3DdWdFBmoOH1fcJQP0lnzBSe76Gf+rWa5ukl3z\nKW104S9ZCmowBvovmVbezQkJRnGWCOazXDAO0jX1B1E5VT487m47UnBv6RbP\n9KiOGFUko2lQALD6Y2lHUsXMKClGFvviamOdihdE1lMTbRdPv8ZMWzneh3co\nt61kgYUi86sKVaRSMynD0VoKN+QBUtoJ55dgOmukuE8VxYS0kabdBwoN2ELj\ntIwxANyvfX4kRlHfJC53ymvWsSR/wB+iZwsOE8f6YIPQY7IdBxrIgj19uVDu\nJMmcACY7RH7KlDuVkTozPsLe4GWiNKN5c0wSgAz5p9etTqhSefae9em6M/uD\nlbJ0\r\n=KKy3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD377lacWjHuGQR/p8L5Y5/lldJs8yaqxFn1lhoEoYQyQIhAJp6hH9EbpPzPktqWDJ66C9IzvkzYbFMS22l/CW7KIBC"}]},"_npmUser":{"name":"phated","email":"blaine.bublitz@gmail.com"},"directories":{},"maintainers":[{"name":"sttk","email":"sttk.xslet@gmail.com"},{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":"yo@contra.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/flagged-respawn_2.0.0_1637532296395_0.17653917568848487"},"_hasShrinkwrap":false}},"readme":"<p align=\"center\">\n  <a href=\"http://gulpjs.com\">\n    <img height=\"257\" width=\"114\" src=\"https://raw.githubusercontent.com/gulpjs/artwork/master/gulp-2x.png\">\n  </a>\n</p>\n\n# flagged-respawn\n\n[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][ci-image]][ci-url] [![Coveralls Status][coveralls-image]][coveralls-url]\n\nA tool for respawning node binaries when special flags are present.\n\n## What is it?\n\nSay you wrote a command line tool that runs arbitrary javascript (e.g. task runner, test framework, etc). For the sake of discussion, let's pretend it's a testing harness you've named `testify`.\n\nEverything is going splendidly until one day you decide to test some code that relies on a feature behind a v8 flag in node (`--harmony`, for example). Without much thought, you run `testify --harmony spec tests.js`.\n\nIt doesn't work. After digging around for a bit, you realize this produces a [`process.argv`](http://nodejs.org/docs/latest/api/process.html#process_process_argv) of:\n\n`['node', '/usr/local/bin/test', '--harmony', 'spec', 'tests.js']`\n\nCrap. The `--harmony` flag is in the wrong place! It should be applied to the **node** command, not our binary. What we actually wanted was this:\n\n`['node', '--harmony', '/usr/local/bin/test', 'spec', 'tests.js']`\n\nFlagged-respawn fixes this problem and handles all the edge cases respawning creates, such as:\n\n- Providing a method to determine if a respawn is needed.\n- Piping stderr/stdout from the child into the parent.\n- Making the parent process exit with the same code as the child.\n- If the child is killed, making the parent exit with the same signal.\n\nTo see it in action, clone this repository and run `npm install` / `npm run respawn` / `npm run nospawn`.\n\n## Sample Usage\n\n```js\n#!/usr/bin/env node\n\nconst flaggedRespawn = require('flagged-respawn');\n\n// get a list of all possible v8 flags for the running version of node\nconst v8flags = require('v8flags').fetch();\n\nflaggedRespawn(v8flags, process.argv, function (ready, child) {\n  if (ready) {\n    console.log('Running!');\n    // your cli code here\n  } else {\n    console.log('Special flags found, respawning.');\n  }\n  if (process.pid !== child.pid) {\n    console.log('Respawned to PID:', child.pid);\n  }\n});\n```\n\n## API\n\n### <u>flaggedRespawn(flags, argv, [ forcedFlags, ] callback) : Void</u>\n\nRespawns the script itself when _argv_ has special flag contained in _flags_ and/or _forcedFlags_ is not empty. Because members of _flags_ and _forcedFlags_ are passed to `node` command, each of them needs to be a node flag or a V8 flag.\n\n#### Forbid respawning\n\nIf `--no-respawning` flag is given in _argv_, this function does not respawned even if _argv_ contains members of flags or _forcedFlags_ is not empty. (This flag is also used internally to prevent from respawning more than once).\n\n#### Parameter:\n\n| Parameter     |      Type       | Description                                                                              |\n| :------------ | :-------------: | :--------------------------------------------------------------------------------------- |\n| _flags_       |      Array      | An array of node flags and V8 flags which are available when present in _argv_.          |\n| _argv_        |      Array      | Command line arguments to respawn.                                                       |\n| _forcedFlags_ | Array or String | An array of node flags or a string of a single flag and V8 flags for respawning forcely. |\n| _callback_    |    function     | A called function when not respawning or after respawned.                                |\n\n- **<u><i>callback</i>(ready, proc, argv) : Void</u>**\n\n  _callback_ function is called both when respawned or not, and it can be distinguished by callback's argument: _ready_. (_ready_ indicates whether a process spawned its child process (false) or not (true), but it does not indicate whether a process is a spawned child process or not. _ready_ for a spawned child process is true.)\n\n  _argv_ is an array of command line arguments which is respawned (when _ready_ is false) or is passed current process except flags within _flags_ and `--no-respawning` (when _ready_ is true).\n\n  **Parameter:**\n\n  | Parameter |  Type   | Description                                                          |\n  | :-------- | :-----: | :------------------------------------------------------------------- |\n  | _ready_   | boolean | True, if not respawning and is ready to execute main function.       |\n  | _proc_    | object  | Child process object if respawned, otherwise current process object. |\n  | _argv_    |  Array  | An array of command line arguments.                                  |\n\n## License\n\nMIT\n\n<!-- prettier-ignore-start -->\n[downloads-image]: https://img.shields.io/npm/dm/flagged-respawn.svg?style=flat-square\n[npm-url]: https://www.npmjs.com/package/flagged-respawn\n[npm-image]: https://img.shields.io/npm/v/flagged-respawn.svg?style=flat-square\n\n[ci-url]: https://github.com/gulpjs/flagged-respawn/actions?query=workflow:dev\n[ci-image]: https://img.shields.io/github/workflow/status/gulpjs/flagged-respawn/dev?style=flat-square\n\n[coveralls-url]: https://coveralls.io/r/gulpjs/flagged-respawn\n[coveralls-image]: https://img.shields.io/coveralls/gulpjs/flagged-respawn/master.svg?style=flat-square\n<!-- prettier-ignore-end -->\n","maintainers":[{"email":"blaine.bublitz@gmail.com","name":"phated"},{"email":"yo@contra.io","name":"yocontra"}],"time":{"modified":"2024-04-04T23:55:52.090Z","created":"2014-09-04T07:44:33.190Z","0.1.0":"2014-09-04T07:44:33.190Z","0.1.1":"2014-09-04T07:46:08.122Z","0.1.2":"2014-09-04T17:17:38.651Z","0.2.0":"2014-09-11T14:55:26.359Z","0.3.0":"2014-09-11T16:11:59.568Z","0.3.1":"2014-09-12T16:11:17.435Z","0.3.2":"2016-03-22T09:26:17.440Z","1.0.0":"2017-12-16T23:49:47.568Z","1.0.1":"2018-12-11T19:14:09.801Z","2.0.0":"2021-11-21T22:04:56.542Z"},"homepage":"https://github.com/gulpjs/flagged-respawn#readme","keywords":["respawn","flags"],"repository":{"type":"git","url":"git+https://github.com/gulpjs/flagged-respawn.git"},"author":{"name":"Gulp Team","email":"team@gulpjs.com","url":"http://gulpjs.com/"},"bugs":{"url":"https://github.com/gulpjs/flagged-respawn/issues"},"readmeFilename":"README.md","license":"MIT","contributors":[{"name":"Takayuki Sato","email":"sttk.xslet@gmail.com"},{"name":"Bertrand Marron","email":"bertrand.marron@ionisx.com"},{"name":"Tyler Kellen","email":"tyler@sleekcode.net"},{"name":"Blaine Bublitz","email":"blaine.bublitz@gmail.com"}]}