{"_id":"degenerator","_rev":"4539289","name":"degenerator","description":"Compiles sync functions into async generator functions","dist-tags":{"latest":"7.0.1"},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"time":{"modified":"2026-04-09T15:08:34.000Z","created":"2013-12-06T23:48:00.079Z","7.0.1":"2026-04-06T06:41:04.741Z","7.0.0":"2026-04-01T06:57:40.004Z","6.0.0":"2026-03-11T16:58:30.708Z","5.0.1":"2023-07-19T21:01:10.719Z","5.0.0":"2023-07-18T09:04:02.195Z","4.0.4":"2023-06-29T22:01:16.631Z","4.0.3":"2023-06-17T08:24:38.307Z","4.0.2":"2023-05-09T09:03:41.015Z","4.0.1":"2023-05-05T22:04:10.412Z","4.0.0":"2023-05-04T20:33:19.702Z","3.0.4":"2023-04-23T07:47:37.837Z","3.0.3":"2023-04-03T22:10:53.097Z","3.0.2":"2022-02-17T06:13:18.427Z","3.0.1":"2021-07-12T21:28:10.425Z","3.0.0":"2021-07-12T21:09:33.915Z","2.2.0":"2020-02-05T02:37:22.678Z","2.1.4":"2019-10-18T22:36:34.208Z","2.1.3":"2019-10-18T22:16:38.138Z","2.1.2":"2019-10-18T21:55:55.316Z","2.1.1":"2019-10-18T20:46:10.178Z","2.1.0":"2019-10-18T20:39:13.030Z","2.0.0":"2019-10-18T19:40:10.334Z","1.0.4":"2016-11-09T23:12:59.139Z","1.0.3":"2016-06-22T19:22:30.208Z","1.0.2":"2015-06-22T18:59:42.095Z","1.0.1":"2015-03-11T17:37:30.770Z","1.0.0":"2014-11-22T20:20:45.205Z","0.0.4":"2014-11-22T20:08:08.308Z","0.0.3":"2014-04-04T18:51:53.071Z","0.0.2":"2013-12-07T01:23:24.837Z","0.0.1":"2013-12-06T23:48:00.079Z"},"users":{"ganeshkbhat":true},"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"repository":{"type":"git","url":"git+https://github.com/TooTallNate/proxy-agents.git","directory":"packages/degenerator"},"versions":{"7.0.1":{"name":"degenerator","version":"7.0.1","type":"module","description":"Compiles sync functions into async generator functions","exports":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"repository":{"type":"git","url":"git+https://github.com/TooTallNate/proxy-agents.git","directory":"packages/degenerator"},"engines":{"node":">= 20"},"license":"MIT","dependencies":{"ast-types":"^0.13.4","escodegen":"^2.1.0","esprima":"^4.0.1"},"devDependencies":{"@types/escodegen":"^0.0.7","@types/esprima":"^4.0.3","@types/node":"^22.13.0","quickjs-wasi":"^2.2.0","typescript":"^5.1.6","tsconfig":"0.0.0"},"peerDependencies":{"quickjs-wasi":"^2.2.0"},"scripts":{"build":"tsc","test":"vitest","lint":"eslint . --ext .ts","pack":"node ../../scripts/pack.mjs"},"_id":"degenerator@7.0.1","bugs":{"url":"https://github.com/TooTallNate/proxy-agents/issues"},"homepage":"https://github.com/TooTallNate/proxy-agents#readme","_integrity":"sha512-ABErK0IefDSyHjlPH7WUEenIAX2rPPnrDcDM+TS3z3+zu9TfyKKi07BQM+8rmxpdE2y1v5fjjdoAS/x4D2U60w==","_resolved":"/tmp/690fafbbd9962ba0f3da2101c90048fe/degenerator-7.0.1.tgz","_from":"file:degenerator-7.0.1.tgz","_nodeVersion":"20.20.2","_npmVersion":"11.12.1","dist":{"shasum":"9b057747a2e5d058b0ef8fd753faccc109957467","size":8277,"noattachment":false,"key":"/degenerator/-/degenerator-7.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/degenerator/download/degenerator-7.0.1.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:9faa8b3f-d109-487e-88cb-fd86660a742e"}},"directories":{},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/degenerator_7.0.1_1775457664595_0.01656438043695152"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-04-06T06:41:04.741Z","publish_time":1775457664741,"_source_registry_name":"default","_cnpm_publish_time":1775457664741},"7.0.0":{"name":"degenerator","version":"7.0.0","type":"module","description":"Compiles sync functions into async generator functions","exports":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"repository":{"type":"git","url":"git+https://github.com/TooTallNate/proxy-agents.git","directory":"packages/degenerator"},"engines":{"node":">= 20"},"license":"MIT","dependencies":{"ast-types":"^0.13.4","escodegen":"^2.1.0","esprima":"^4.0.1"},"devDependencies":{"@types/escodegen":"^0.0.7","@types/esprima":"^4.0.3","@types/node":"^22.13.0","quickjs-wasi":"^0.0.1","typescript":"^5.1.6","tsconfig":"0.0.0"},"peerDependencies":{"quickjs-wasi":"^0.0.1"},"scripts":{"build":"tsc","test":"vitest","lint":"eslint . --ext .ts","pack":"node ../../scripts/pack.mjs"},"_id":"degenerator@7.0.0","bugs":{"url":"https://github.com/TooTallNate/proxy-agents/issues"},"homepage":"https://github.com/TooTallNate/proxy-agents#readme","_integrity":"sha512-YIz9P5gRq4qThp4X5E7O0i/K3w4Jd9akZUt5wUPk6+6zZrSudknhi/IlDn4JJ281XcfSpcEz1lFD4C+tf0ymmQ==","_resolved":"/tmp/ca53145ec2522692f4a63f19df64d7b5/degenerator-7.0.0.tgz","_from":"file:degenerator-7.0.0.tgz","_nodeVersion":"20.20.1","_npmVersion":"11.12.1","dist":{"shasum":"b269074f2c96d3f8239e1b9f9e992f52a067ef42","size":7867,"noattachment":false,"key":"/degenerator/-/degenerator-7.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/degenerator/download/degenerator-7.0.0.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:9faa8b3f-d109-487e-88cb-fd86660a742e"}},"directories":{},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/degenerator_7.0.0_1775026659811_0.08872762345379237"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-04-01T06:57:40.004Z","publish_time":1775026660004,"_source_registry_name":"default","_cnpm_publish_time":1775026660004},"6.0.0":{"name":"degenerator","version":"6.0.0","type":"module","description":"Compiles sync functions into async generator functions","exports":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"repository":{"type":"git","url":"git+https://github.com/TooTallNate/proxy-agents.git","directory":"packages/degenerator"},"engines":{"node":">= 14"},"license":"MIT","dependencies":{"ast-types":"^0.13.4","escodegen":"^2.1.0","esprima":"^4.0.1"},"devDependencies":{"@types/escodegen":"^0.0.7","@types/esprima":"^4.0.3","@types/node":"^22.13.0","quickjs-wasi":"^0.0.1","typescript":"^5.1.6","tsconfig":"0.0.0"},"peerDependencies":{"quickjs-wasi":"^0.0.1"},"scripts":{"build":"tsc","test":"vitest","lint":"eslint . --ext .ts","pack":"node ../../scripts/pack.mjs"},"_id":"degenerator@6.0.0","bugs":{"url":"https://github.com/TooTallNate/proxy-agents/issues"},"homepage":"https://github.com/TooTallNate/proxy-agents#readme","_integrity":"sha512-j5MdXdefrecJeSqTpUrgZd4fBsD2IxZx0JlJD+n1Q7+aTf7/HcyXSfHsicPW6ekPurX159v1ZYla6OJgSPh2Dw==","_resolved":"/tmp/678f805bfa33469fac9b640a976c18a7/degenerator-6.0.0.tgz","_from":"file:degenerator-6.0.0.tgz","_nodeVersion":"20.20.0","_npmVersion":"11.11.0","dist":{"shasum":"87262e7c534dc7bd2dc5d5d15f67aeb2e9b1b3e7","size":7878,"noattachment":false,"key":"/degenerator/-/degenerator-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/degenerator/download/degenerator-6.0.0.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:9faa8b3f-d109-487e-88cb-fd86660a742e"}},"directories":{},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/degenerator_6.0.0_1773248310562_0.036029451629458364"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-03-11T16:58:30.708Z","publish_time":1773248310708,"_source_registry_name":"default","_cnpm_publish_time":1773248310708},"5.0.1":{"name":"degenerator","version":"5.0.1","description":"Compiles sync functions into async generator functions","main":"./dist/index.js","types":"./dist/index.d.ts","author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"repository":{"type":"git","url":"git+https://github.com/TooTallNate/proxy-agents.git","directory":"packages/degenerator"},"engines":{"node":">= 14"},"license":"MIT","dependencies":{"ast-types":"^0.13.4","escodegen":"^2.1.0","esprima":"^4.0.1"},"devDependencies":{"@tootallnate/quickjs-emscripten":"^0.23.0","@types/escodegen":"^0.0.7","@types/esprima":"^4.0.3","@types/jest":"^29.5.2","@types/node":"^14.18.52","jest":"^29.5.0","ts-jest":"^29.1.0","typescript":"^5.1.6","tsconfig":"0.0.0"},"scripts":{"build":"tsc","test":"jest --env node --verbose --bail","lint":"eslint . --ext .ts","pack":"node ../../scripts/pack.mjs"},"bugs":{"url":"https://github.com/TooTallNate/proxy-agents/issues"},"homepage":"https://github.com/TooTallNate/proxy-agents#readme","_id":"degenerator@5.0.1","_integrity":"sha512-TllpMR/t0M5sqCXfj85i4XaAzxmS5tVA16dqvdkMwGmzI+dXLXnw3J+3Vdv7VKw+ThlTMboK6i9rnZ6Nntj5CQ==","_resolved":"/tmp/90d0a37009e5e5a781f584d42cba071e/degenerator-5.0.1.tgz","_from":"file:degenerator-5.0.1.tgz","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"shasum":"9403bf297c6dad9a1ece409b37db27954f91f2f5","size":8197,"noattachment":false,"key":"/degenerator/-/degenerator-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/degenerator/download/degenerator-5.0.1.tgz"},"_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"directories":{},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/degenerator_5.0.1_1689800470537_0.07831282536885942"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-07-19T21:01:10.719Z","publish_time":1689800470719,"_source_registry_name":"default","_cnpm_publish_time":1689800470719},"5.0.0":{"name":"degenerator","version":"5.0.0","description":"Compiles sync functions into async generator functions","main":"./dist/index.js","types":"./dist/index.d.ts","author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"repository":{"type":"git","url":"git+https://github.com/TooTallNate/proxy-agents.git","directory":"packages/degenerator"},"engines":{"node":">= 14"},"license":"MIT","dependencies":{"ast-types":"^0.13.4","escodegen":"^1.14.3","esprima":"^4.0.1"},"devDependencies":{"@tootallnate/quickjs-emscripten":"^0.23.0","@types/escodegen":"^0.0.6","@types/esprima":"^4.0.3","@types/jest":"^29.5.2","@types/node":"^14.18.52","jest":"^29.5.0","ts-jest":"^29.1.0","typescript":"^5.1.6","tsconfig":"0.0.0"},"scripts":{"build":"tsc","test":"jest --env node --verbose --bail","lint":"eslint . --ext .ts","pack":"node ../../scripts/pack.mjs"},"bugs":{"url":"https://github.com/TooTallNate/proxy-agents/issues"},"homepage":"https://github.com/TooTallNate/proxy-agents#readme","_id":"degenerator@5.0.0","_integrity":"sha512-pdRxyYVe0unlUE/eeXBxFdB8w8J7QNNf7hFE/BKOAlTCz0bkF9h1MC82ii0r1ypqB/PTKYDbg4K9SZT9yfd9Fg==","_resolved":"/tmp/b32367e9a4925ef084c15280b1f8b8b1/degenerator-5.0.0.tgz","_from":"file:degenerator-5.0.0.tgz","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"shasum":"ccf1f07e95d81354398fbaf40c9d523202feb751","size":8204,"noattachment":false,"key":"/degenerator/-/degenerator-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/degenerator/download/degenerator-5.0.0.tgz"},"_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"directories":{},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/degenerator_5.0.0_1689671041993_0.6763406378972872"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-07-18T09:04:02.195Z","publish_time":1689671042195,"_source_registry_name":"default","_cnpm_publish_time":1689671042195},"4.0.4":{"name":"degenerator","version":"4.0.4","description":"Compiles sync functions into async generator functions","main":"./dist/index.js","types":"./dist/index.d.ts","author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"repository":{"type":"git","url":"git+https://github.com/TooTallNate/proxy-agents.git","directory":"packages/degenerator"},"engines":{"node":">= 14"},"license":"MIT","dependencies":{"ast-types":"^0.13.4","escodegen":"^1.14.3","esprima":"^4.0.1","vm2":"^3.9.19"},"devDependencies":{"@types/escodegen":"^0.0.6","@types/esprima":"^4.0.3","@types/jest":"^29.5.2","@types/node":"^14.18.52","jest":"^29.5.0","ts-jest":"^29.1.0","typescript":"^5.1.6","tsconfig":"0.0.0"},"scripts":{"build":"tsc","test":"jest --env node --verbose --bail","lint":"eslint . --ext .ts","pack":"node ../../scripts/pack.mjs"},"bugs":{"url":"https://github.com/TooTallNate/proxy-agents/issues"},"homepage":"https://github.com/TooTallNate/proxy-agents#readme","_id":"degenerator@4.0.4","_integrity":"sha512-MTZdZsuNxSBL92rsjx3VFWe57OpRlikyLbcx2B5Dmdv6oScqpMrvpY7zHLMymrUxo3U5+suPUMsNgW/+SZB1lg==","_resolved":"/tmp/55e933790b2449df9ba04fc258777c19/degenerator-4.0.4.tgz","_from":"file:degenerator-4.0.4.tgz","_nodeVersion":"20.3.1","_npmVersion":"9.6.7","dist":{"shasum":"dbeeb602c64ce543c1f17e2c681d1d0cc9d4a0ac","size":6257,"noattachment":false,"key":"/degenerator/-/degenerator-4.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/degenerator/download/degenerator-4.0.4.tgz"},"_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"directories":{},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/degenerator_4.0.4_1688076076427_0.34573709055747615"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-06-29T22:01:16.631Z","publish_time":1688076076631,"_source_registry_name":"default","_cnpm_publish_time":1688076076631},"4.0.3":{"name":"degenerator","version":"4.0.3","description":"Compiles sync functions into async generator functions","main":"./dist/index.js","types":"./dist/index.d.ts","author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"repository":{"type":"git","url":"git+https://github.com/TooTallNate/proxy-agents.git","directory":"packages/degenerator"},"engines":{"node":">= 14"},"license":"MIT","dependencies":{"ast-types":"^0.13.2","escodegen":"^1.8.1","esprima":"^4.0.0","vm2":"^3.9.19"},"devDependencies":{"@types/escodegen":"^0.0.6","@types/esprima":"^4.0.2","@types/jest":"^29.5.1","@types/node":"^14.18.45","jest":"^29.5.0","ts-jest":"^29.1.0","typescript":"^5.0.4","tsconfig":"0.0.0"},"scripts":{"build":"tsc","test":"jest --env node --verbose --bail","lint":"eslint . --ext .ts","pack":"node ../../scripts/pack.mjs"},"bugs":{"url":"https://github.com/TooTallNate/proxy-agents/issues"},"homepage":"https://github.com/TooTallNate/proxy-agents#readme","_id":"degenerator@4.0.3","_integrity":"sha512-2wY8vmCfxrQpe2PKGYdiWRre5HQRwsAXbAAWRbC+z2b80MEpnWc8A3a9k4TwqwN3Z/Fm3uhNm5vYUZIbMhyRxQ==","_resolved":"/tmp/d055d8621fc236cc69e77e81747a334f/degenerator-4.0.3.tgz","_from":"file:degenerator-4.0.3.tgz","_nodeVersion":"20.3.0","_npmVersion":"9.6.7","dist":{"shasum":"5fa3e42206797ca78e0ee265f968aafc3bc84f49","size":6256,"noattachment":false,"key":"/degenerator/-/degenerator-4.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/degenerator/download/degenerator-4.0.3.tgz"},"_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"directories":{},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/degenerator_4.0.3_1686990278148_0.2148870598097148"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-06-17T08:24:38.307Z","publish_time":1686990278307,"_source_registry_name":"default","_cnpm_publish_time":1686990278307},"4.0.2":{"name":"degenerator","version":"4.0.2","description":"Compiles sync functions into async generator functions","main":"./dist/index.js","types":"./dist/index.d.ts","author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"repository":{"type":"git","url":"git+https://github.com/TooTallNate/proxy-agents.git","directory":"packages/degenerator"},"engines":{"node":">= 14"},"license":"MIT","dependencies":{"ast-types":"^0.13.2","escodegen":"^1.8.1","esprima":"^4.0.0","vm2":"^3.9.17"},"devDependencies":{"@types/escodegen":"^0.0.6","@types/esprima":"^4.0.2","@types/jest":"^29.5.1","@types/node":"^14.18.45","jest":"^29.5.0","ts-jest":"^29.1.0","typescript":"^5.0.4","tsconfig":"0.0.0"},"scripts":{"build":"tsc","test":"jest --env node --verbose --bail","lint":"eslint . --ext .ts","pack":"node ../../scripts/pack.mjs"},"bugs":{"url":"https://github.com/TooTallNate/proxy-agents/issues"},"homepage":"https://github.com/TooTallNate/proxy-agents#readme","_id":"degenerator@4.0.2","_integrity":"sha512-HKwIFvZROUMfH3qI3gBpD61BYh7q3c3GXD5UGZzoVNJwVSYgZKvYl1fRMXc9ozoTxl/VZxKJ5v/bA+19tywFiw==","_resolved":"/tmp/c9cbf26cf54ca13ad538fc3908afe1c4/degenerator-4.0.2.tgz","_from":"file:degenerator-4.0.2.tgz","_nodeVersion":"20.1.0","_npmVersion":"9.6.4","dist":{"shasum":"55b7fb41239ee0ea7644fa3f2aba84e0adfaa40c","size":6256,"noattachment":false,"key":"/degenerator/-/degenerator-4.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/degenerator/download/degenerator-4.0.2.tgz"},"_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"directories":{},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/degenerator_4.0.2_1683623020862_0.5595993123664842"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-09T09:03:41.015Z","publish_time":1683623021015,"_source_registry_name":"default","_cnpm_publish_time":1683623021015},"4.0.1":{"name":"degenerator","version":"4.0.1","description":"Compiles sync functions into async generator functions","main":"./dist/index.js","types":"./dist/index.d.ts","author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"repository":{"type":"git","url":"git+https://github.com/TooTallNate/proxy-agents.git","directory":"packages/degenerator"},"engines":{"node":">= 14"},"license":"MIT","dependencies":{"ast-types":"^0.13.2","escodegen":"^1.8.1","esprima":"^4.0.0","vm2":"^3.9.17"},"devDependencies":{"@types/escodegen":"^0.0.6","@types/esprima":"^4.0.2","@types/jest":"^29.5.1","@types/node":"^14.18.45","jest":"^29.5.0","ts-jest":"^29.1.0","typescript":"^5.0.4","tsconfig":"0.0.0"},"scripts":{"build":"tsc","test":"jest --env node --verbose --bail","lint":"eslint . --ext .ts","pack":"node ../../scripts/pack.mjs"},"bugs":{"url":"https://github.com/TooTallNate/proxy-agents/issues"},"homepage":"https://github.com/TooTallNate/proxy-agents#readme","_id":"degenerator@4.0.1","_integrity":"sha512-8Z+J62uET5bza2Ugp8kDuB2vi9VPT1oY5ImKhNh1b364SThNkvKFUJwHjbVTY7g7YgCcknswUVj3qXw/zJnaow==","_resolved":"/tmp/09cb7a64de45f8f0a850005c1a33dd24/degenerator-4.0.1.tgz","_from":"file:degenerator-4.0.1.tgz","_nodeVersion":"20.1.0","_npmVersion":"9.6.4","dist":{"shasum":"cafa8fcb9050b689634c181dd7e83c47b2257a31","size":6269,"noattachment":false,"key":"/degenerator/-/degenerator-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/degenerator/download/degenerator-4.0.1.tgz"},"_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"directories":{},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/degenerator_4.0.1_1683324250255_0.6934702331891693"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-05T22:04:10.412Z","publish_time":1683324250412,"_source_registry_name":"default","_cnpm_publish_time":1683324250412},"4.0.0":{"name":"degenerator","version":"4.0.0","description":"Compiles sync functions into async generator functions","main":"./dist/index.js","types":"./dist/index.d.ts","author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"repository":{"type":"git","url":"git+https://github.com/TooTallNate/proxy-agents.git","directory":"packages/degenerator"},"engines":{"node":">= 14"},"license":"MIT","dependencies":{"ast-types":"^0.13.2","escodegen":"^1.8.1","esprima":"^4.0.0","vm2":"^3.9.17"},"devDependencies":{"@types/escodegen":"^0.0.6","@types/esprima":"^4.0.2","@types/jest":"^29.5.1","@types/node":"^14.18.43","jest":"^29.5.0","ts-jest":"^29.1.0","typescript":"^5.0.4","tsconfig":"0.0.0"},"scripts":{"build":"tsc","test":"jest --env node --verbose --bail","lint":"eslint . --ext .ts","pack":"node ../../scripts/pack.mjs"},"bugs":{"url":"https://github.com/TooTallNate/proxy-agents/issues"},"homepage":"https://github.com/TooTallNate/proxy-agents#readme","_id":"degenerator@4.0.0","_integrity":"sha512-nOeN1hviprhZsELEPo7QDh7pP4aPi7l77WfriQi/rAwb2Oexcm83jokXEb+S4xjQLp1J3baDfCT+HQ4sjxzovQ==","_resolved":"/tmp/73daf37bcba9f1febc07242c45798eba/degenerator-4.0.0.tgz","_from":"file:degenerator-4.0.0.tgz","_nodeVersion":"20.1.0","_npmVersion":"9.6.4","dist":{"shasum":"d971aee3e3a561014915ae612fc6262bafde4721","size":6270,"noattachment":false,"key":"/degenerator/-/degenerator-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/degenerator/download/degenerator-4.0.0.tgz"},"_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"directories":{},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/degenerator_4.0.0_1683232399516_0.22239554562058705"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-04T20:33:19.702Z","publish_time":1683232399702,"_source_registry_name":"default","_cnpm_publish_time":1683232399702},"3.0.4":{"name":"degenerator","version":"3.0.4","description":"Compiles sync functions into async generator functions","main":"dist/src/index","typings":"dist/src/index","scripts":{"prebuild":"rimraf dist","build":"tsc","postbuild":"cpy --parents src test '!**/*.ts' dist","test":"mocha --reporter spec dist/test/test.js","test-lint":"eslint src --ext .js,.ts","prepublishOnly":"npm run build"},"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-degenerator.git"},"engines":{"node":">= 6"},"license":"MIT","dependencies":{"ast-types":"^0.13.2","escodegen":"^1.8.1","esprima":"^4.0.0","vm2":"^3.9.17"},"devDependencies":{"@types/escodegen":"^0.0.6","@types/esprima":"^4.0.2","@types/mocha":"^5.2.7","@types/node":"^12.12.17","@typescript-eslint/eslint-plugin":"1.6.0","@typescript-eslint/parser":"1.1.0","cpy-cli":"^2.0.0","eslint":"5.16.0","eslint-config-airbnb":"17.1.0","eslint-config-prettier":"4.1.0","eslint-import-resolver-typescript":"1.1.1","eslint-plugin-import":"2.16.0","eslint-plugin-jsx-a11y":"6.2.1","eslint-plugin-react":"7.12.4","mocha":"^6.2.0","rimraf":"^3.0.0","typescript":"^3.7.3"},"gitHead":"862c2b89915377d432c0c0115a85d7b8fd9bd2ac","bugs":{"url":"https://github.com/TooTallNate/node-degenerator/issues"},"homepage":"https://github.com/TooTallNate/node-degenerator#readme","_id":"degenerator@3.0.4","_nodeVersion":"19.8.1","_npmVersion":"9.5.1","dist":{"shasum":"07ccf95bc11044a37a6efc2f66029fb636e31f24","size":6236,"noattachment":false,"key":"/degenerator/-/degenerator-3.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/degenerator/download/degenerator-3.0.4.tgz"},"_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"directories":{},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/degenerator_3.0.4_1682236057694_0.9548963811424083"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-04-23T07:47:37.837Z","publish_time":1682236057837,"_cnpm_publish_time":1682236057837},"3.0.3":{"name":"degenerator","version":"3.0.3","description":"Compiles sync functions into async generator functions","main":"dist/src/index","typings":"dist/src/index","scripts":{"prebuild":"rimraf dist","build":"tsc","postbuild":"cpy --parents src test '!**/*.ts' dist","test":"mocha --reporter spec dist/test/test.js","test-lint":"eslint src --ext .js,.ts","prepublishOnly":"npm run build"},"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-degenerator.git"},"engines":{"node":">= 6"},"license":"MIT","dependencies":{"ast-types":"^0.13.2","escodegen":"^1.8.1","esprima":"^4.0.0","vm2":"^3.9.11"},"devDependencies":{"@types/escodegen":"^0.0.6","@types/esprima":"^4.0.2","@types/mocha":"^5.2.7","@types/node":"^12.12.17","@typescript-eslint/eslint-plugin":"1.6.0","@typescript-eslint/parser":"1.1.0","cpy-cli":"^2.0.0","eslint":"5.16.0","eslint-config-airbnb":"17.1.0","eslint-config-prettier":"4.1.0","eslint-import-resolver-typescript":"1.1.1","eslint-plugin-import":"2.16.0","eslint-plugin-jsx-a11y":"6.2.1","eslint-plugin-react":"7.12.4","mocha":"^6.2.0","rimraf":"^3.0.0","typescript":"^3.7.3"},"gitHead":"df5bf7041b47d9a7928d7fc2e0cd587f32608960","bugs":{"url":"https://github.com/TooTallNate/node-degenerator/issues"},"homepage":"https://github.com/TooTallNate/node-degenerator#readme","_id":"degenerator@3.0.3","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"shasum":"a081ac30052ca84e1d1c6e86c972ae8dabbc4079","size":6236,"noattachment":false,"key":"/degenerator/-/degenerator-3.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/degenerator/download/degenerator-3.0.3.tgz"},"_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"directories":{},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/degenerator_3.0.3_1680559852863_0.42992310292524016"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-04-03T22:10:53.097Z","publish_time":1680559853097,"_cnpm_publish_time":1680559853097},"3.0.2":{"name":"degenerator","version":"3.0.2","description":"Compiles sync functions into async generator functions","main":"dist/src/index","typings":"dist/src/index","scripts":{"prebuild":"rimraf dist","build":"tsc","postbuild":"cpy --parents src test '!**/*.ts' dist","test":"mocha --reporter spec dist/test/test.js","test-lint":"eslint src --ext .js,.ts","prepublishOnly":"npm run build"},"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-degenerator.git"},"engines":{"node":">= 6"},"license":"MIT","dependencies":{"ast-types":"^0.13.2","escodegen":"^1.8.1","esprima":"^4.0.0","vm2":"^3.9.8"},"devDependencies":{"@types/escodegen":"^0.0.6","@types/esprima":"^4.0.2","@types/mocha":"^5.2.7","@types/node":"^12.12.17","@typescript-eslint/eslint-plugin":"1.6.0","@typescript-eslint/parser":"1.1.0","cpy-cli":"^2.0.0","eslint":"5.16.0","eslint-config-airbnb":"17.1.0","eslint-config-prettier":"4.1.0","eslint-import-resolver-typescript":"1.1.1","eslint-plugin-import":"2.16.0","eslint-plugin-jsx-a11y":"6.2.1","eslint-plugin-react":"7.12.4","mocha":"^6.2.0","rimraf":"^3.0.0","typescript":"^3.7.3"},"gitHead":"3b609557e46aca742bb2fcfc5ad8254cd599d633","bugs":{"url":"https://github.com/TooTallNate/node-degenerator/issues"},"homepage":"https://github.com/TooTallNate/node-degenerator#readme","_id":"degenerator@3.0.2","_nodeVersion":"14.18.3","_npmVersion":"8.3.1","dist":{"shasum":"6a61fcc42a702d6e50ff6023fe17bff435f68235","size":6328,"noattachment":false,"key":"/degenerator/-/degenerator-3.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/degenerator/download/degenerator-3.0.2.tgz"},"_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"directories":{},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/degenerator_3.0.2_1645078398280_0.5969816266342847"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-17T06:13:24.943Z","publish_time":1645078398427,"_cnpm_publish_time":1645078398427},"3.0.1":{"name":"degenerator","version":"3.0.1","description":"Compiles sync functions into async generator functions","main":"dist/src/index","typings":"dist/src/index","scripts":{"prebuild":"rimraf dist","build":"tsc","postbuild":"cpy --parents src test '!**/*.ts' dist","test":"mocha --reporter spec dist/test/test.js","test-lint":"eslint src --ext .js,.ts","prepublishOnly":"npm run build"},"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-degenerator.git"},"engines":{"node":">= 6"},"license":"MIT","dependencies":{"ast-types":"^0.13.2","escodegen":"^1.8.1","esprima":"^4.0.0","vm2":"^3.9.3"},"devDependencies":{"@types/escodegen":"^0.0.6","@types/esprima":"^4.0.2","@types/mocha":"^5.2.7","@types/node":"^12.12.17","@typescript-eslint/eslint-plugin":"1.6.0","@typescript-eslint/parser":"1.1.0","cpy-cli":"^2.0.0","eslint":"5.16.0","eslint-config-airbnb":"17.1.0","eslint-config-prettier":"4.1.0","eslint-import-resolver-typescript":"1.1.1","eslint-plugin-import":"2.16.0","eslint-plugin-jsx-a11y":"6.2.1","eslint-plugin-react":"7.12.4","mocha":"^6.2.0","rimraf":"^3.0.0","typescript":"^3.7.3"},"gitHead":"5cf4ab2eeacfa593e95ae84e4cc433592156088f","bugs":{"url":"https://github.com/TooTallNate/node-degenerator/issues"},"homepage":"https://github.com/TooTallNate/node-degenerator#readme","_id":"degenerator@3.0.1","_nodeVersion":"14.17.3","_npmVersion":"7.19.1","dist":{"shasum":"7ef78ec0c8577a544477308ddf1d2d6e88d51f5b","size":6329,"noattachment":false,"key":"/degenerator/-/degenerator-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/degenerator/download/degenerator-3.0.1.tgz"},"_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"directories":{},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/degenerator_3.0.1_1626125290302_0.0752194345757784"},"_hasShrinkwrap":false,"publish_time":1626125290425,"_cnpm_publish_time":1626125290425},"3.0.0":{"name":"degenerator","version":"3.0.0","description":"Compiles sync functions into async generator functions","main":"dist/src/index","typings":"dist/src/index","scripts":{"prebuild":"rimraf dist","build":"tsc","postbuild":"cpy --parents src test '!**/*.ts' dist","test":"mocha --reporter spec dist/test/test.js","test-lint":"eslint src --ext .js,.ts","prepublishOnly":"npm run build"},"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-degenerator.git"},"engines":{"node":">= 6"},"license":"MIT","dependencies":{"ast-types":"^0.13.2","escodegen":"^1.8.1","esprima":"^4.0.0","vm2":"^3.9.3"},"devDependencies":{"@types/escodegen":"^0.0.6","@types/esprima":"^4.0.2","@types/mocha":"^5.2.7","@types/node":"^12.12.17","@typescript-eslint/eslint-plugin":"1.6.0","@typescript-eslint/parser":"1.1.0","cpy-cli":"^2.0.0","eslint":"5.16.0","eslint-config-airbnb":"17.1.0","eslint-config-prettier":"4.1.0","eslint-import-resolver-typescript":"1.1.1","eslint-plugin-import":"2.16.0","eslint-plugin-jsx-a11y":"6.2.1","eslint-plugin-react":"7.12.4","mocha":"^6.2.0","rimraf":"^3.0.0","typescript":"^3.7.3"},"gitHead":"dc10ee9daa270157c19a16f7168fc42210f3355c","bugs":{"url":"https://github.com/TooTallNate/node-degenerator/issues"},"homepage":"https://github.com/TooTallNate/node-degenerator#readme","_id":"degenerator@3.0.0","_nodeVersion":"14.17.3","_npmVersion":"7.19.1","dist":{"shasum":"cdfe064913d58a1e1fea9af4defb2dad228aec13","size":6242,"noattachment":false,"key":"/degenerator/-/degenerator-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/degenerator/download/degenerator-3.0.0.tgz"},"_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"directories":{},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/degenerator_3.0.0_1626124173782_0.020457839495354735"},"_hasShrinkwrap":false,"publish_time":1626124173915,"_cnpm_publish_time":1626124173915},"2.2.0":{"name":"degenerator","version":"2.2.0","description":"Compiles sync functions into async generator functions","main":"dist/src/index","typings":"dist/src/index","scripts":{"prebuild":"rimraf dist","build":"tsc","postbuild":"cpy --parents src test '!**/*.ts' dist","test":"mocha --reporter spec dist/test/test.js","test-lint":"eslint src --ext .js,.ts","prepublishOnly":"npm run build"},"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-degenerator.git"},"engines":{"node":">= 6"},"license":"MIT","dependencies":{"ast-types":"^0.13.2","escodegen":"^1.8.1","esprima":"^4.0.0"},"devDependencies":{"@types/escodegen":"^0.0.6","@types/esprima":"^4.0.2","@types/mocha":"^5.2.7","@types/node":"^12.12.17","@typescript-eslint/eslint-plugin":"1.6.0","@typescript-eslint/parser":"1.1.0","cpy-cli":"^2.0.0","eslint":"5.16.0","eslint-config-airbnb":"17.1.0","eslint-config-prettier":"4.1.0","eslint-import-resolver-typescript":"1.1.1","eslint-plugin-import":"2.16.0","eslint-plugin-jsx-a11y":"6.2.1","eslint-plugin-react":"7.12.4","mocha":"^6.2.0","rimraf":"^3.0.0","typescript":"^3.7.3"},"gitHead":"b9bc71e7b333af036eb163dc63286e7a30d4d4d8","bugs":{"url":"https://github.com/TooTallNate/node-degenerator/issues"},"homepage":"https://github.com/TooTallNate/node-degenerator#readme","_id":"degenerator@2.2.0","_nodeVersion":"12.14.1","_npmVersion":"6.13.7","dist":{"shasum":"49e98c11fa0293c5b26edfbb52f15729afcdb254","size":8007,"noattachment":false,"key":"/degenerator/-/degenerator-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/degenerator/download/degenerator-2.2.0.tgz"},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/degenerator_2.2.0_1580870242582_0.2231024278387237"},"_hasShrinkwrap":false,"publish_time":1580870242678,"_cnpm_publish_time":1580870242678},"2.1.4":{"name":"degenerator","version":"2.1.4","description":"Turns sync functions into async generator functions","main":"dist/src/index","typings":"dist/src/index","scripts":{"prebuild":"rimraf dist","build":"tsc","postbuild":"cpy --parents src test '!**/*.ts' dist","test":"mocha --reporter spec dist/test/test.js","test-lint":"eslint src --ext .js,.ts","prepublishOnly":"npm run build"},"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-degenerator.git"},"engines":{"node":">= 6"},"license":"MIT","dependencies":{"ast-types":"^0.13.2","escodegen":"^1.8.1","esprima":"^4.0.0"},"devDependencies":{"@types/escodegen":"^0.0.6","@types/esprima":"^4.0.2","@types/mocha":"^5.2.7","@types/node":"^10.5.3","@typescript-eslint/eslint-plugin":"1.6.0","@typescript-eslint/parser":"1.1.0","cpy-cli":"^2.0.0","eslint":"5.16.0","eslint-config-airbnb":"17.1.0","eslint-config-prettier":"4.1.0","eslint-import-resolver-typescript":"1.1.1","eslint-plugin-import":"2.16.0","eslint-plugin-jsx-a11y":"6.2.1","eslint-plugin-react":"7.12.4","mocha":"^6.2.0","rimraf":"^3.0.0","typescript":"^3.5.3"},"gitHead":"d1baeb34b812cbca3babdd5b7e7b0fbef9271cc4","bugs":{"url":"https://github.com/TooTallNate/node-degenerator/issues"},"homepage":"https://github.com/TooTallNate/node-degenerator#readme","_id":"degenerator@2.1.4","_nodeVersion":"10.16.3","_npmVersion":"6.12.0","dist":{"shasum":"ea606ac1d34b8bbf4d51e252dc9d1cc56fe8f19a","size":7770,"noattachment":false,"key":"/degenerator/-/degenerator-2.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/degenerator/download/degenerator-2.1.4.tgz"},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/degenerator_2.1.4_1571438194062_0.2092483846957176"},"_hasShrinkwrap":false,"publish_time":1571438194208,"_cnpm_publish_time":1571438194208},"2.1.3":{"name":"degenerator","version":"2.1.3","description":"Turns sync functions into async generator functions","main":"dist/src/index","typings":"dist/src/index","scripts":{"prebuild":"rimraf dist","build":"tsc","postbuild":"cpy --parents src test '!**/*.ts' dist","test":"mocha --reporter spec dist/test/test.js","test-lint":"eslint src --ext .js,.ts","prepublishOnly":"npm run build"},"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-degenerator.git"},"engines":{"node":">= 6"},"license":"MIT","dependencies":{"ast-types":"^0.13.2","escodegen":"^1.8.1","esprima":"^4.0.0"},"devDependencies":{"@types/escodegen":"^0.0.6","@types/esprima":"^4.0.2","@types/mocha":"^5.2.7","@types/node":"^10.5.3","@typescript-eslint/eslint-plugin":"1.6.0","@typescript-eslint/parser":"1.1.0","cpy-cli":"^2.0.0","eslint":"5.16.0","eslint-config-airbnb":"17.1.0","eslint-config-prettier":"4.1.0","eslint-import-resolver-typescript":"1.1.1","eslint-plugin-import":"2.16.0","eslint-plugin-jsx-a11y":"6.2.1","eslint-plugin-react":"7.12.4","mocha":"^6.2.0","rimraf":"^3.0.0","typescript":"^3.5.3"},"gitHead":"ee8b244ebc67f6c623e70769f1e103f36412a5f0","bugs":{"url":"https://github.com/TooTallNate/node-degenerator/issues"},"homepage":"https://github.com/TooTallNate/node-degenerator#readme","_id":"degenerator@2.1.3","_nodeVersion":"10.16.3","_npmVersion":"6.12.0","dist":{"shasum":"8304771aeb54d66571b0fd16c27ee7caa8b66273","size":7751,"noattachment":false,"key":"/degenerator/-/degenerator-2.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/degenerator/download/degenerator-2.1.3.tgz"},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/degenerator_2.1.3_1571436998033_0.6567358667176852"},"_hasShrinkwrap":false,"publish_time":1571436998138,"_cnpm_publish_time":1571436998138},"2.1.2":{"name":"degenerator","version":"2.1.2","description":"Turns sync functions into async generator functions","main":"dist/src/index","typings":"dist/src/index","scripts":{"prebuild":"rimraf dist","build":"tsc","postbuild":"cpy --parents src test '!**/*.ts' dist","test":"mocha --reporter spec dist/test/test.js","test-lint":"eslint src --ext .js,.ts","prepublishOnly":"npm run build"},"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-degenerator.git"},"engines":{"node":">= 6"},"license":"MIT","dependencies":{"ast-types":"^0.13.2","escodegen":"^1.8.1","esprima":"^4.0.0"},"devDependencies":{"@types/escodegen":"^0.0.6","@types/esprima":"^4.0.2","@types/mocha":"^5.2.7","@types/node":"^10.5.3","@typescript-eslint/eslint-plugin":"1.6.0","@typescript-eslint/parser":"1.1.0","cpy-cli":"^2.0.0","eslint":"5.16.0","eslint-config-airbnb":"17.1.0","eslint-config-prettier":"4.1.0","eslint-import-resolver-typescript":"1.1.1","eslint-plugin-import":"2.16.0","eslint-plugin-jsx-a11y":"6.2.1","eslint-plugin-react":"7.12.4","mocha":"^6.2.0","rimraf":"^3.0.0","typescript":"^3.5.3"},"gitHead":"7a144af5d22076792588b173cf48f7fbf764d67e","bugs":{"url":"https://github.com/TooTallNate/node-degenerator/issues"},"homepage":"https://github.com/TooTallNate/node-degenerator#readme","_id":"degenerator@2.1.2","_nodeVersion":"10.16.3","_npmVersion":"6.12.0","dist":{"shasum":"e59a49cd2da04ee465d7ae95d83f3abeb5d993d6","size":7566,"noattachment":false,"key":"/degenerator/-/degenerator-2.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/degenerator/download/degenerator-2.1.2.tgz"},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/degenerator_2.1.2_1571435755065_0.6389992127501103"},"_hasShrinkwrap":false,"publish_time":1571435755316,"_cnpm_publish_time":1571435755316},"2.1.1":{"name":"degenerator","version":"2.1.1","description":"Turns sync functions into async generator functions","main":"dist/src/index","typings":"dist/src/index","scripts":{"prebuild":"rimraf dist","build":"tsc","postbuild":"cpy --parents src test '!**/*.ts' dist","test":"mocha --reporter spec dist/test/test.js","test-lint":"eslint src --ext .js,.ts","prepublishOnly":"npm run build"},"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-degenerator.git"},"engines":{"node":">= 6"},"license":"MIT","dependencies":{"ast-types":"^0.13.2","co":"^4.6.0","escodegen":"^1.8.1","esprima":"^4.0.0"},"devDependencies":{"@types/co":"^4.6.2","@types/escodegen":"^0.0.6","@types/esprima":"^4.0.2","@types/mocha":"^5.2.7","@types/node":"^10.5.3","@typescript-eslint/eslint-plugin":"1.6.0","@typescript-eslint/parser":"1.1.0","cpy-cli":"^2.0.0","eslint":"5.16.0","eslint-config-airbnb":"17.1.0","eslint-config-prettier":"4.1.0","eslint-import-resolver-typescript":"1.1.1","eslint-plugin-import":"2.16.0","eslint-plugin-jsx-a11y":"6.2.1","eslint-plugin-react":"7.12.4","mocha":"^6.2.0","rimraf":"^3.0.0","typescript":"^3.5.3"},"gitHead":"66eb9ad738b3199250b3149fa8b429a9c4964339","bugs":{"url":"https://github.com/TooTallNate/node-degenerator/issues"},"homepage":"https://github.com/TooTallNate/node-degenerator#readme","_id":"degenerator@2.1.1","_nodeVersion":"12.12.0","_npmVersion":"6.12.0","dist":{"shasum":"2c2971c7a8c5d3837ed0b490b7d3a14043210e8f","size":6634,"noattachment":false,"key":"/degenerator/-/degenerator-2.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/degenerator/download/degenerator-2.1.1.tgz"},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/degenerator_2.1.1_1571431570007_0.635486508349294"},"_hasShrinkwrap":false,"publish_time":1571431570178,"_cnpm_publish_time":1571431570178},"2.1.0":{"name":"degenerator","version":"2.1.0","description":"Turns sync functions into async generator functions","main":"dist/src/index","typings":"dist/src/index","scripts":{"prebuild":"rimraf dist","build":"tsc","postbuild":"cpy --parents src test '!**/*.ts' dist","test":"mocha --reporter spec dist/test/test.js","test-lint":"eslint src --ext .js,.ts","prepublishOnly":"npm run build"},"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-degenerator.git"},"engines":{"node":">= 6"},"license":"MIT","dependencies":{"ast-types":"^0.13.2","co":"^4.6.0","escodegen":"^1.8.1","esprima":"^4.0.0"},"devDependencies":{"@types/co":"^4.6.2","@types/escodegen":"^0.0.6","@types/esprima":"^4.0.2","@types/mocha":"^5.2.7","@types/node":"^10.5.3","@typescript-eslint/eslint-plugin":"1.6.0","@typescript-eslint/parser":"1.1.0","cpy-cli":"^2.0.0","eslint":"5.16.0","eslint-config-airbnb":"17.1.0","eslint-config-prettier":"4.1.0","eslint-import-resolver-typescript":"1.1.1","eslint-plugin-import":"2.16.0","eslint-plugin-jsx-a11y":"6.2.1","eslint-plugin-react":"7.12.4","mocha":"^6.2.0","rimraf":"^3.0.0","typescript":"^3.5.3"},"gitHead":"006fb0d31e280c5ed7ea68549acc8da0affd6afa","bugs":{"url":"https://github.com/TooTallNate/node-degenerator/issues"},"homepage":"https://github.com/TooTallNate/node-degenerator#readme","_id":"degenerator@2.1.0","_nodeVersion":"12.12.0","_npmVersion":"6.12.0","dist":{"shasum":"a8790a4e95fe5e39a3332f919abc2f72cae00152","size":6606,"noattachment":false,"key":"/degenerator/-/degenerator-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/degenerator/download/degenerator-2.1.0.tgz"},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/degenerator_2.1.0_1571431152816_0.05056714120417949"},"_hasShrinkwrap":false,"publish_time":1571431153030,"_cnpm_publish_time":1571431153030},"2.0.0":{"name":"degenerator","version":"2.0.0","description":"Turns sync functions into async generator functions","main":"dist/src/index","typings":"dist/src/index","scripts":{"prebuild":"rimraf dist","build":"tsc","postbuild":"cpy --parents src test '!**/*.ts' dist","test":"mocha --reporter spec dist/test/test.js","test-lint":"eslint src --ext .js,.ts","prepublishOnly":"npm run build"},"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-degenerator.git"},"engines":{"node":">= 6"},"license":"MIT","dependencies":{"ast-types":"^0.13.2","escodegen":"^1.8.1","esprima":"^4.0.0"},"devDependencies":{"@types/escodegen":"^0.0.6","@types/esprima":"^4.0.2","@types/mocha":"^5.2.7","@types/node":"^10.5.3","@typescript-eslint/eslint-plugin":"1.6.0","@typescript-eslint/parser":"1.1.0","cpy-cli":"^2.0.0","eslint":"5.16.0","eslint-config-airbnb":"17.1.0","eslint-config-prettier":"4.1.0","eslint-import-resolver-typescript":"1.1.1","eslint-plugin-import":"2.16.0","eslint-plugin-jsx-a11y":"6.2.1","eslint-plugin-react":"7.12.4","mocha":"^6.2.0","rimraf":"^3.0.0","typescript":"^3.5.3"},"gitHead":"64b704df3b439866e0bdef193a340adb18c38cb2","bugs":{"url":"https://github.com/TooTallNate/node-degenerator/issues"},"homepage":"https://github.com/TooTallNate/node-degenerator#readme","_id":"degenerator@2.0.0","_nodeVersion":"12.12.0","_npmVersion":"6.11.3","dist":{"shasum":"57589daf5b0418dc47af07ad15621001c2d80364","size":6377,"noattachment":false,"key":"/degenerator/-/degenerator-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/degenerator/download/degenerator-2.0.0.tgz"},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/degenerator_2.0.0_1571427610246_0.08505081840049522"},"_hasShrinkwrap":false,"publish_time":1571427610334,"_cnpm_publish_time":1571427610334},"1.0.4":{"name":"degenerator","version":"1.0.4","description":"Turns sync functions into async generator functions","main":"index.js","scripts":{"test":"mocha --reporter spec test/test.js"},"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-degenerator.git"},"license":"MIT","dependencies":{"esprima":"3.x.x","escodegen":"1.x.x","ast-types":"0.x.x"},"devDependencies":{"mocha":"3.x.x"},"gitHead":"78e389ba7f058d215786b45c5152edad8ab1d062","bugs":{"url":"https://github.com/TooTallNate/node-degenerator/issues"},"homepage":"https://github.com/TooTallNate/node-degenerator#readme","_id":"degenerator@1.0.4","_shasum":"fcf490a37ece266464d9cc431ab98c5819ced095","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.1.0","_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"dist":{"shasum":"fcf490a37ece266464d9cc431ab98c5819ced095","size":6079,"noattachment":false,"key":"/degenerator/-/degenerator-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/degenerator/download/degenerator-1.0.4.tgz"},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/degenerator-1.0.4.tgz_1478733177407_0.3095490406267345"},"directories":{},"publish_time":1478733179139,"_cnpm_publish_time":1478733179139,"_hasShrinkwrap":false},"1.0.3":{"name":"degenerator","version":"1.0.3","description":"Turns sync functions into async generator functions","main":"index.js","scripts":{"test":"mocha --reporter spec test/test.js"},"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-degenerator.git"},"license":"MIT","dependencies":{"esprima":"2.x.x","escodegen":"1.x.x","ast-types":"0.x.x"},"devDependencies":{"mocha":"~2.0.1"},"gitHead":"a1ba17fd714909d40e1b412507b70f0be4fe5582","bugs":{"url":"https://github.com/TooTallNate/node-degenerator/issues"},"homepage":"https://github.com/TooTallNate/node-degenerator#readme","_id":"degenerator@1.0.3","_shasum":"deb4075472611a172fc15e4f90defab5f9ec7eff","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.5","_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"dist":{"shasum":"deb4075472611a172fc15e4f90defab5f9ec7eff","size":5469,"noattachment":false,"key":"/degenerator/-/degenerator-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/degenerator/download/degenerator-1.0.3.tgz"},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/degenerator-1.0.3.tgz_1466623346800_0.5124161150306463"},"directories":{},"publish_time":1466623350208,"_cnpm_publish_time":1466623350208,"_hasShrinkwrap":false},"1.0.2":{"name":"degenerator","version":"1.0.2","description":"Turns sync functions into async generator functions","main":"index.js","scripts":{"test":"mocha --reporter spec test/test.js"},"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-degenerator.git"},"license":"MIT","dependencies":{"esprima":"~2.3.0","escodegen":"~1.3.1","ast-types":"~0.3.22"},"devDependencies":{"mocha":"~2.0.1"},"gitHead":"b0a2b77139b8073695c00a59aee47a022300ce1a","bugs":{"url":"https://github.com/TooTallNate/node-degenerator/issues"},"homepage":"https://github.com/TooTallNate/node-degenerator#readme","_id":"degenerator@1.0.2","_shasum":"c22222c8115cb22f3bfeee0a7b55843f1677caaa","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"dist":{"shasum":"c22222c8115cb22f3bfeee0a7b55843f1677caaa","size":5205,"noattachment":false,"key":"/degenerator/-/degenerator-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/degenerator/download/degenerator-1.0.2.tgz"},"directories":{},"publish_time":1434999582095,"_cnpm_publish_time":1434999582095,"_hasShrinkwrap":false},"1.0.1":{"name":"degenerator","version":"1.0.1","description":"Turns sync functions into async generator functions","main":"index.js","scripts":{"test":"mocha --reporter spec test/test.js"},"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-degenerator.git"},"license":"MIT","dependencies":{"esprima":"git+https://github.com/ariya/esprima.git#harmony","escodegen":"~1.3.1","ast-types":"~0.3.22"},"devDependencies":{"mocha":"~2.0.1"},"gitHead":"a4d971ed76b5f256555e2f5cc06b7c6b672a3e0a","bugs":{"url":"https://github.com/TooTallNate/node-degenerator/issues"},"homepage":"https://github.com/TooTallNate/node-degenerator","_id":"degenerator@1.0.1","_shasum":"54a67ae57012ced53b0d51d8dcf7a5d3ee79cf62","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"dist":{"shasum":"54a67ae57012ced53b0d51d8dcf7a5d3ee79cf62","size":5188,"noattachment":false,"key":"/degenerator/-/degenerator-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/degenerator/download/degenerator-1.0.1.tgz"},"directories":{},"publish_time":1426095450770,"_cnpm_publish_time":1426095450770,"_hasShrinkwrap":false},"1.0.0":{"name":"degenerator","version":"1.0.0","description":"Turns sync functions into async generator functions","main":"index.js","scripts":{"test":"mocha --reporter spec test/test.js"},"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-degenerator.git"},"license":"MIT","dependencies":{"esprima":"git://github.com/ariya/esprima.git#harmony","escodegen":"~1.3.1","ast-types":"~0.3.22"},"devDependencies":{"mocha":"~2.0.1"},"gitHead":"b2ab3c296119b96790bc779b2b9cd772dc8762ca","bugs":{"url":"https://github.com/TooTallNate/node-degenerator/issues"},"homepage":"https://github.com/TooTallNate/node-degenerator","_id":"degenerator@1.0.0","_shasum":"9cb6976fa1b860a9f2e913cbf18689113318dd8f","_from":".","_npmVersion":"2.1.2","_nodeVersion":"0.10.32","_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"dist":{"shasum":"9cb6976fa1b860a9f2e913cbf18689113318dd8f","size":5153,"noattachment":false,"key":"/degenerator/-/degenerator-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/degenerator/download/degenerator-1.0.0.tgz"},"directories":{},"publish_time":1416687645205,"_cnpm_publish_time":1416687645205,"_hasShrinkwrap":false},"0.0.4":{"name":"degenerator","version":"0.0.4","description":"Turns sync functions into async generator functions","main":"index.js","scripts":{"test":"mocha --reporter spec test/test.js"},"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-degenerator.git"},"license":"MIT","dependencies":{"esprima":"git://github.com/ariya/esprima.git#harmony","escodegen":"~1.3.1","ast-types":"~0.3.22"},"devDependencies":{"mocha":"~2.0.1"},"gitHead":"e1f2c7e5616d334ea27fa020780f2072766223fe","bugs":{"url":"https://github.com/TooTallNate/node-degenerator/issues"},"homepage":"https://github.com/TooTallNate/node-degenerator","_id":"degenerator@0.0.4","_shasum":"bcd911894990b610319debe90d11a662870a9ce8","_from":".","_npmVersion":"2.1.2","_nodeVersion":"0.10.32","_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"dist":{"shasum":"bcd911894990b610319debe90d11a662870a9ce8","size":5113,"noattachment":false,"key":"/degenerator/-/degenerator-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/degenerator/download/degenerator-0.0.4.tgz"},"directories":{},"publish_time":1416686888308,"_cnpm_publish_time":1416686888308,"_hasShrinkwrap":false},"0.0.3":{"name":"degenerator","version":"0.0.3","description":"Turns sync functions into async generator functions","main":"index.js","scripts":{"test":"mocha --reporter spec test/test.js"},"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-degenerator.git"},"license":"MIT","dependencies":{"esprima":"git://github.com/ariya/esprima.git#harmony","escodegen":"~1.3.1","ast-types":"~0.3.22"},"devDependencies":{"mocha":"~1.18.2"},"bugs":{"url":"https://github.com/TooTallNate/node-degenerator/issues"},"homepage":"https://github.com/TooTallNate/node-degenerator","_id":"degenerator@0.0.3","dist":{"shasum":"e815feb3e6a5380fc10767d083fcf521ace0017f","size":4024,"noattachment":false,"key":"/degenerator/-/degenerator-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/degenerator/download/degenerator-0.0.3.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"directories":{},"publish_time":1396637513071,"_cnpm_publish_time":1396637513071,"_hasShrinkwrap":false},"0.0.2":{"name":"degenerator","version":"0.0.2","description":"Turns sync functions into async generator functions","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"license":"MIT","dependencies":{"esprima":"git://github.com/ariya/esprima.git#harmony","escodegen":"~1.0.0","ast-types":"~0.3.11"},"devDependencies":{"mocha":"~1.15.1","regenerator":"~0.3.1"},"readmeFilename":"README.md","_id":"degenerator@0.0.2","dist":{"shasum":"3b1d9b87163e55cbf5cd88f8866753cc5cdbaa41","size":3459,"noattachment":false,"key":"/degenerator/-/degenerator-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/degenerator/download/degenerator-0.0.2.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"directories":{},"publish_time":1386379404837,"_cnpm_publish_time":1386379404837,"_hasShrinkwrap":false},"0.0.1":{"name":"degenerator","version":"0.0.1","description":"Turns sync functions into async generator functions","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"license":"MIT","dependencies":{"esprima":"git://github.com/ariya/esprima.git#harmony","escodegen":"~1.0.0","ast-types":"~0.3.11"},"readmeFilename":"README.md","_id":"degenerator@0.0.1","dist":{"shasum":"b31be1562d67d829a76f257386956e652208970e","size":2855,"noattachment":false,"key":"/degenerator/-/degenerator-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/degenerator/download/degenerator-0.0.1.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"directories":{},"publish_time":1386373680079,"_cnpm_publish_time":1386373680079,"_hasShrinkwrap":false}},"readme":"degenerator\n===========\n### Compiles sync functions into async functions\n\nSometimes you need to write sync looking code that's really async under the hood.\nThis module takes a String to one or more synchronous JavaScript functions, and\nreturns a new String that with those JS functions transpiled into `async`\nfunctions.\n\nSo this:\n\n```js\nfunction foo() {\n  return a('bar') || b();\n}\n```\n\nGets compiled into:\n\n```js\nasync function foo() {\n    return await a('bar') || await b();\n}\n```\n\nWith the compiled output code, you can evaluate the code using the `vm` module\nin Node.js, or save the code to a file and require it, or whatever.\n\nExample\n-------\n\nYou must explicitly specify the names of the functions that should be\n\"asyncified\". So say we wanted to expose a `get(url)` function that did\nand HTTP request and returned the response body.\n\nThe user has provided us with this implementation:\n\n``` js\nfunction myFn() {\n  const one = get('https://google.com');\n  const two = get('http://nodejs.org');\n  const three = JSON.parse(get('http://jsonip.org'));\n  return [one, two, three];\n}\n```\n\nNow we can compile this into an asynchronous function, implement the\nasync `get()` function, and finally evaluate it into a real JavaScript function\ninstance with the `vm` module:\n\n\n```typescript\nimport vm from 'vm';\nimport { degenerator } from 'degenerator';\n\n// The `get()` function is Promise-based (error handling omitted for brevity)\nfunction get(endpoint: string) {\n  return new Promise((resolve, reject) => {\n    var mod = 0 == endpoint.indexOf('https:') ? require('https') : require('http');\n    var req = mod.get(endpoint);\n    req.on('response', function (res) {\n      var data = '';\n      res.setEncoding('utf8');\n      res.on('data', function (b) { data += b; });\n      res.on('end', function () {\n        resolve(data);\n      });\n    });\n  });\n}\n\n// Convert the JavaScript string provided from the user (assumed to be `str` var)\nstr = degenerator(str, [ 'get' ]);\n\n// Turn the JS String into a real async function instance\nconst asyncFn = vm.runInNewContext(`(${str})`, { get });\n\n// Now we can invoke the function asynchronously\nasyncFn().then((res) => {\n  // Do something with `res`...\n});\n```\n\n\nAPI\n---\n\n### degenerator(code: string, names: Array<string|RegExp>): String\n\nReturns a \"degeneratorified\" JavaScript string, with `async`/`await` transplanted.\n","_attachments":{},"homepage":"https://github.com/TooTallNate/proxy-agents#readme","bugs":{"url":"https://github.com/TooTallNate/proxy-agents/issues"},"license":"MIT"}