{"_id":"@codejamboree/web-request-queue","_rev":"12-c1f841d9f79de4118fdc6ce5db85f42f","name":"@codejamboree/web-request-queue","dist-tags":{"latest":"3.2.0"},"versions":{"1.0.0":{"name":"@codejamboree/web-request-queue","version":"1.0.0","keywords":["throttle","web","requests","queue"],"author":{"name":"Code Jamboree LLC"},"license":"MIT","_id":"@codejamboree/web-request-queue@1.0.0","maintainers":[{"name":"code.jamboree.llc","email":"hello@codejamboree.com"}],"dist":{"shasum":"f5f89ffc532e349c16ed51e4d961f143e76134a6","tarball":"https://registry.npmjs.org/@codejamboree/web-request-queue/-/web-request-queue-1.0.0.tgz","fileCount":5,"integrity":"sha512-q79VVqsq+GFn1BRewCVxHX43oCxZaAVmgCuMpvI7/U8ZBoII01F1XdZTL7c4vO1+BUWk5XYcCbBI2DUay6HG6g==","signatures":[{"sig":"MEUCIQCkbazobPZRsynlGIr4ayvBzhiu5FoFKivBDeF+ilxoWgIgK0bY2oUiF54gkn4WitZqVpY+ETgVYWt01kaY3xSkGQg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21707},"main":"dist/bundle.min.js","type":"module","exports":{".":"./dist/bundle.min.js","./production":"./dist/bundle.min.js","./development":"./dist/bundle.js"},"gitHead":"15bb7adfd1ff9db89339432328490c00e0639500","scripts":{"test":"npm run build && node ./build/scripts/test.js","build":"tsc","bundle":"npx rollup -c","sample:https":"npm run build && node ./build/scripts/sample-https.js","sample:queue:cb":"npm run build && node ./build/scripts/sample-queue-cb.js","sample:queue:many":"npm run build && node ./build/scripts/sample-queue-many.js","sample:queue:promise":"npm run build && node ./build/scripts/sample-queue-promise.js"},"_npmUser":{"name":"code.jamboree.llc","email":"hello@codejamboree.com"},"_npmVersion":"10.8.2","description":"Throttle web requests","directories":{},"_nodeVersion":"22.6.0","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.7.0","rollup":"^4.21.2","typescript":"^5.5.4","@types/node":"^22.5.2","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-commonjs":"^26.0.1","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/web-request-queue_1.0.0_1725421679233_0.4877294492987778","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@codejamboree/web-request-queue","version":"2.0.0","keywords":["throttle","web","requests","queue"],"author":{"name":"Code Jamboree LLC"},"license":"MIT","_id":"@codejamboree/web-request-queue@2.0.0","maintainers":[{"name":"code.jamboree.llc","email":"hello@codejamboree.com"}],"dist":{"shasum":"990330b5d1b225d9cc4456afd2ad72849fb9fcc7","tarball":"https://registry.npmjs.org/@codejamboree/web-request-queue/-/web-request-queue-2.0.0.tgz","fileCount":6,"integrity":"sha512-mAqHCK8Pn8lf6WOwa4uqahl8ZoTIOqyp3FqPPUrjFm+yeafDOcL9FhJ8WmsS5vwcdh23b9zDoILOCJhxdDfyZg==","signatures":[{"sig":"MEUCIFJa692GV1F5v37rQhAyPq20WL1sZxuYD4ehBxg/hzV9AiEAzho0fV19gkFPu6WLRRZ+UIP9RcHwau9XWOVG+M6g0Iw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24279},"main":"dist/bundle.min.js","type":"module","types":"dist/index.d.ts","exports":{".":"./dist/bundle.min.js","./production":"./dist/bundle.min.js","./development":"./dist/bundle.js"},"gitHead":"deee744a02fcf7d7d38baec919a9d87b6873ab1d","scripts":{"test":"npm run build && node ./build/scripts/test.js","build":"rm -rf build && tsc","bundle":"rm -rf dist && npx rollup -c","sample:https":"npm run build && node ./build/scripts/sample-https.js","sample:queue:cb":"npm run build && node ./build/scripts/sample-queue-cb.js","sample:queue:many":"npm run build && node ./build/scripts/sample-queue-many.js","sample:queue:promise":"npm run build && node ./build/scripts/sample-queue-promise.js"},"_npmUser":{"name":"code.jamboree.llc","email":"hello@codejamboree.com"},"_npmVersion":"10.8.2","description":"Throttle web requests","directories":{},"_nodeVersion":"22.6.0","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.7.0","rollup":"^4.21.2","typescript":"^5.5.4","@types/node":"^22.5.2","rollup-plugin-dts":"^6.1.1","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-commonjs":"^26.0.1","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/web-request-queue_2.0.0_1725438568586_0.5345683759521429","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"@codejamboree/web-request-queue","version":"2.0.1","keywords":["throttle","web","requests","queue"],"author":{"name":"Code Jamboree LLC"},"license":"MIT","_id":"@codejamboree/web-request-queue@2.0.1","maintainers":[{"name":"code.jamboree.llc","email":"hello@codejamboree.com"}],"dist":{"shasum":"01aeec959a5368e2c14d5fdeb1ceda71e6542e15","tarball":"https://registry.npmjs.org/@codejamboree/web-request-queue/-/web-request-queue-2.0.1.tgz","fileCount":6,"integrity":"sha512-5RDw28gGXhwLFZmzQnQn6Dwgwd3q18NFS3m7lTN4tjacAMg4VrkGkQB82f1aGB06NX/JgvNJELEpqrqfizijFA==","signatures":[{"sig":"MEUCIG6yJXaR5iSP8hXW5Nfv4xs4T28aP5fWCCQgFOCDHFsYAiEA2Y3CKabNWeU6v62XfzCoX5ax3WLi3u/6emK9UVvoc9U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24281},"main":"dist/bundle.min.js","type":"module","types":"./dist/index.d.ts","exports":{".":"./dist/bundle.min.js","./production":"./dist/bundle.min.js","./development":"./dist/bundle.js"},"gitHead":"17c26b84c4be6eaafa1b59a1cede9a89ba028706","scripts":{"test":"npm run build && node ./build/scripts/test.js","build":"rm -rf build && tsc","bundle":"rm -rf dist && npx rollup -c","sample:https":"npm run build && node ./build/scripts/sample-https.js","sample:queue:cb":"npm run build && node ./build/scripts/sample-queue-cb.js","sample:queue:many":"npm run build && node ./build/scripts/sample-queue-many.js","sample:queue:promise":"npm run build && node ./build/scripts/sample-queue-promise.js"},"_npmUser":{"name":"code.jamboree.llc","email":"hello@codejamboree.com"},"_npmVersion":"10.8.2","description":"Throttle web requests","directories":{},"_nodeVersion":"22.6.0","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.7.0","rollup":"^4.21.2","typescript":"^5.5.4","@types/node":"^22.5.2","rollup-plugin-dts":"^6.1.1","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-commonjs":"^26.0.1","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/web-request-queue_2.0.1_1725439304254_0.771642144657511","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"@codejamboree/web-request-queue","version":"2.0.2","keywords":["throttle","web","requests","queue"],"author":{"name":"Code Jamboree LLC"},"license":"MIT","_id":"@codejamboree/web-request-queue@2.0.2","maintainers":[{"name":"code.jamboree.llc","email":"hello@codejamboree.com"}],"dist":{"shasum":"b42aa672c24e7040a172d29a6cb2b045272ed8c8","tarball":"https://registry.npmjs.org/@codejamboree/web-request-queue/-/web-request-queue-2.0.2.tgz","fileCount":6,"integrity":"sha512-yHEUu3fQkCiEoIoxvfgb2D5NUp1aY6MxpHbSUZih3z0dH9rjNNfLin8THT9CG6/SkVig9uEQOa0M/+vtLJWB/w==","signatures":[{"sig":"MEUCIQDvz6zqM+8z5v0uW6kzoYYVVmVFNg5g6O+ebyaciQBWCAIgKYWZ8xI6s0wjM+ABTuWl4ef1+ttuZ5MC7ZONideSPOQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24442},"main":"dist/bundle.min.js","type":"module","types":"./dist/index.d.ts","exports":{".":"./dist/bundle.min.js","./production":"./dist/bundle.min.js","./development":"./dist/bundle.js"},"gitHead":"46c46fb2431d999a22c612369712b2ea4f431b19","scripts":{"test":"npm run build && node ./build/scripts/test.js","build":"rm -rf build && tsc","bundle":"rm -rf dist && npx rollup -c","sample:https":"npm run build && node ./build/scripts/sample-https.js","sample:queue:cb":"npm run build && node ./build/scripts/sample-queue-cb.js","sample:queue:many":"npm run build && node ./build/scripts/sample-queue-many.js","sample:queue:promise":"npm run build && node ./build/scripts/sample-queue-promise.js"},"_npmUser":{"name":"code.jamboree.llc","email":"hello@codejamboree.com"},"_npmVersion":"10.8.2","description":"Throttle web requests","directories":{},"_nodeVersion":"22.6.0","typesVersions":{"*":{"production":["./dist/index.d.ts"],"development":["./dist/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.7.0","rollup":"^4.21.2","typescript":"^5.5.4","@types/node":"^22.5.2","rollup-plugin-dts":"^6.1.1","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-commonjs":"^26.0.1","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/web-request-queue_2.0.2_1725439776163_0.225542927957894","host":"s3://npm-registry-packages"}},"2.0.3":{"name":"@codejamboree/web-request-queue","version":"2.0.3","keywords":["throttle","web","requests","queue"],"author":{"name":"Code Jamboree LLC"},"license":"MIT","_id":"@codejamboree/web-request-queue@2.0.3","maintainers":[{"name":"code.jamboree.llc","email":"hello@codejamboree.com"}],"dist":{"shasum":"d77eee27ced4213af48a6893a3897c60b0110929","tarball":"https://registry.npmjs.org/@codejamboree/web-request-queue/-/web-request-queue-2.0.3.tgz","fileCount":6,"integrity":"sha512-F9l0joc2CWNImgRuk0xxSlg/LmqGhGXOItQK3HFh04f23U+8GQUSPRLr4HhihZJyq9hmf5EIWUK83jZUtkpPbQ==","signatures":[{"sig":"MEYCIQCgHeqFZGqd4Pm0zglmlne8Kc4ovmlQHv6VIQhtb9xyUgIhALVGozwaXqG8l8XG7cgc7IqIVgeio9atzlZ9jJbmlJBq","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24499},"main":"dist/bundle.min.js","type":"module","types":"./dist/index.d.ts","exports":{".":"./dist/bundle.min.js","./production":"./dist/bundle.min.js","./development":"./dist/bundle.js"},"gitHead":"efa9e63cb057211e10027b5570d9a528fef2e329","scripts":{"test":"npm run build && node ./build/scripts/test.js","build":"rm -rf build && tsc","bundle":"rm -rf dist && npx rollup -c","sample:https":"npm run build && node ./build/scripts/sample-https.js","sample:queue:cb":"npm run build && node ./build/scripts/sample-queue-cb.js","sample:queue:many":"npm run build && node ./build/scripts/sample-queue-many.js","sample:queue:promise":"npm run build && node ./build/scripts/sample-queue-promise.js"},"_npmUser":{"name":"code.jamboree.llc","email":"hello@codejamboree.com"},"_npmVersion":"10.8.2","description":"Throttle web requests","directories":{},"_nodeVersion":"22.6.0","typesVersions":{"*":{".":["./dist/index.d.ts"],"production":["./dist/index.d.ts"],"development":["./dist/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.7.0","rollup":"^4.21.2","typescript":"^5.5.4","@types/node":"^22.5.2","rollup-plugin-dts":"^6.1.1","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-commonjs":"^26.0.1","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/web-request-queue_2.0.3_1725440096919_0.39426794167335766","host":"s3://npm-registry-packages"}},"2.0.4":{"name":"@codejamboree/web-request-queue","version":"2.0.4","keywords":["throttle","web","requests","queue"],"author":{"name":"Code Jamboree LLC"},"license":"MIT","_id":"@codejamboree/web-request-queue@2.0.4","maintainers":[{"name":"code.jamboree.llc","email":"hello@codejamboree.com"}],"dist":{"shasum":"5f17b76a05552b40947e754f78f48cc9ca74f8ae","tarball":"https://registry.npmjs.org/@codejamboree/web-request-queue/-/web-request-queue-2.0.4.tgz","fileCount":6,"integrity":"sha512-C4//MRlqdOxglCKB6vfcFy0eejqEPQZppN3rLuXv48moSrS8ftk2waIITZgKMcl1Cm5ySTddgMsfKKLeV8Cz9w==","signatures":[{"sig":"MEUCIFGosNNndA91ymG2yGep9JRG+MWLMN6+xLD1fHth1uOAAiEAxWIB9VAtQos0PO97LEbYRdLwGM156/hEiDYj8k2bKdw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24499},"main":"dist/bundle.min.js","type":"module","types":"./dist/index.d.ts","exports":{".":"./dist/bundle.min.js","./production":"./dist/bundle.min.js","./development":"./dist/bundle.js"},"gitHead":"401f48ab43b8bf5f4ec292185ea8eb5e45906904","scripts":{"test":"npm run build && node ./build/scripts/test.js","build":"rm -rf build && tsc","bundle":"rm -rf dist && npx rollup -c","sample:https":"npm run build && node ./build/scripts/sample-https.js","sample:queue:cb":"npm run build && node ./build/scripts/sample-queue-cb.js","sample:queue:many":"npm run build && node ./build/scripts/sample-queue-many.js","sample:queue:promise":"npm run build && node ./build/scripts/sample-queue-promise.js"},"_npmUser":{"name":"code.jamboree.llc","email":"hello@codejamboree.com"},"_npmVersion":"10.8.2","description":"Throttle web requests","directories":{},"_nodeVersion":"22.6.0","typesVersions":{"*":{".":["./dist/index.d.ts"],"production":["./dist/index.d.ts"],"development":["./dist/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.7.0","rollup":"^4.21.2","typescript":"^5.5.4","@types/node":"^22.5.2","rollup-plugin-dts":"^6.1.1","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-commonjs":"^26.0.1","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/web-request-queue_2.0.4_1725440497356_0.7898129056630487","host":"s3://npm-registry-packages"}},"2.0.5":{"name":"@codejamboree/web-request-queue","version":"2.0.5","keywords":["throttle","web","requests","queue"],"author":{"name":"Code Jamboree LLC"},"license":"MIT","_id":"@codejamboree/web-request-queue@2.0.5","maintainers":[{"name":"code.jamboree.llc","email":"hello@codejamboree.com"}],"dist":{"shasum":"587d037512007bb52d2e5a59d8598893ef4f2015","tarball":"https://registry.npmjs.org/@codejamboree/web-request-queue/-/web-request-queue-2.0.5.tgz","fileCount":19,"integrity":"sha512-Isep2OlVXOyX/rDwTUz+n5F+fmAQ+h7J4ErJ2AzdR02FIiumagSb7q42g7G7anC8K8lziSpESlh0oK5tzQ4Fug==","signatures":[{"sig":"MEYCIQCMzaeh2d0DyTotyf/dh+nIf8TuMyDPhQP2oz9CtdCwxgIhAMx2OaJifPO+0QVYt70go/lcqN7yjHn9fZSSLxhW+iiL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55874},"main":"dist/commonjs/index.min.cjs","type":"module","types":"dist/commonjs/types/index.d.min.ts","module":"dist/commonjs/index.min.cjs","exports":{".":{"import":{"types":"./dist/esm/types/index.d.min.mts","default":"./dist/esm/index.min.js"},"require":{"types":"./dist/commonjs/types/index.d.min.ts","default":"./dist/commonjs/index.min.cjs"}},"./production":{"import":{"types":"./dist/esm/types/index.d.min.mts","default":"./dist/esm/index.min.js"},"require":{"types":"./dist/commonjs/types/index.d.min.ts","default":"./dist/commonjs/index.min.cjs"}},"./development":{"import":{"types":"./dist/esm/types/index.d.mts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/types/index.d.ts","default":"./dist/commonjs/index.cjs"}}},"gitHead":"a96f0a39df45ac81afd1a6a86e0a5248df50765b","scripts":{"test":"npm run build && node ./build/scripts/test.js","build":"npm run clean && tsc","clean":"rm -rf build && rm -rf dist","bundle":"npm run build && npx rollup -c ./build/rollup.config.js","sample:https":"npm run build && node ./build/scripts/sample-https.js","sample:queue:cb":"npm run build && node ./build/scripts/sample-queue-cb.js","sample:queue:many":"npm run build && node ./build/scripts/sample-queue-many.js","sample:queue:promise":"npm run build && node ./build/scripts/sample-queue-promise.js"},"_npmUser":{"name":"code.jamboree.llc","email":"hello@codejamboree.com"},"_npmVersion":"10.8.2","description":"Throttle web requests","directories":{},"_nodeVersion":"22.6.0","typesVersions":{"*":{"production":["dist/commonjs/types/index.d.min.ts"],"development":["dist/commonjs/types/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.7.0","rollup":"^4.21.2","typescript":"^5.5.4","@types/node":"^22.5.4","rollup-plugin-dts":"^6.1.1","@rollup/plugin-terser":"^0.4.4","rollup-plugin-license":"^3.5.2","@rollup/plugin-commonjs":"^26.0.1","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/web-request-queue_2.0.5_1725498176696_0.6397190120335474","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"@codejamboree/web-request-queue","version":"3.0.0","keywords":["throttle","web","requests","queue"],"author":{"name":"Code Jamboree LLC"},"license":"MIT","_id":"@codejamboree/web-request-queue@3.0.0","maintainers":[{"name":"code.jamboree.llc","email":"hello@codejamboree.com"}],"dist":{"shasum":"312278867432ea6a6b028d439ddcc7f301069dd1","tarball":"https://registry.npmjs.org/@codejamboree/web-request-queue/-/web-request-queue-3.0.0.tgz","fileCount":19,"integrity":"sha512-bSFim+tFYAu06nBJsD8zfcNSVD+bU+w5tighPMUqeSAo4nJt2Udefv4lrX1p/9X8unVEaXfWsRHvp4HljQ75PQ==","signatures":[{"sig":"MEUCIQDElSkzBi9BzHZifZPjiriWJ5vTNLRDM6Qa+d6yuWZSuQIgGvW/wlriielFc0QB41OZL3JlGZJs9McXZAwmZnuyVA4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65591},"main":"dist/commonjs/index.min.cjs","type":"module","types":"dist/commonjs/types/index.d.min.ts","module":"dist/commonjs/index.min.cjs","exports":{".":{"import":{"types":"./dist/esm/types/index.d.min.mts","default":"./dist/esm/index.min.js"},"require":{"types":"./dist/commonjs/types/index.d.min.ts","default":"./dist/commonjs/index.min.cjs"}},"./production":{"import":{"types":"./dist/esm/types/index.d.min.mts","default":"./dist/esm/index.min.js"},"require":{"types":"./dist/commonjs/types/index.d.min.ts","default":"./dist/commonjs/index.min.cjs"}},"./development":{"import":{"types":"./dist/esm/types/index.d.mts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/types/index.d.ts","default":"./dist/commonjs/index.cjs"}}},"gitHead":"5b470ec7769c5321604ec9eebe2475958071dff4","scripts":{"test":"npm run build && node ./build/scripts/test.js","build":"npm run clean && tsc","clean":"rm -rf build && rm -rf dist","bundle":"npm run build && npx rollup -c ./build/rollup.config.js","sample:file":"npm run build && node ./build/scripts/sample-file.js","sample:json":"npm run build && node ./build/scripts/sample-json.js","sample:https":"npm run build && node ./build/scripts/sample-https.js","sample:stream":"npm run build && node ./build/scripts/sample-stream.js","sample:string":"npm run build && node ./build/scripts/sample-string.js","prepublishOnly":"npm run bundle","sample:queue:cb":"npm run build && node ./build/scripts/sample-queue-cb.js","sample:queue:many":"npm run build && node ./build/scripts/sample-queue-many.js","sample:queue:promise":"npm run build && node ./build/scripts/sample-queue-promise.js"},"_npmUser":{"name":"code.jamboree.llc","email":"hello@codejamboree.com"},"_npmVersion":"10.8.2","description":"Throttle web requests","directories":{},"_nodeVersion":"22.6.0","typesVersions":{"*":{"production":["dist/commonjs/types/index.d.min.ts"],"development":["dist/commonjs/types/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.7.0","rollup":"^4.21.2","typescript":"^5.5.4","@types/node":"^22.5.4","rollup-plugin-dts":"^6.1.1","@rollup/plugin-terser":"^0.4.4","rollup-plugin-license":"^3.5.2","@rollup/plugin-commonjs":"^26.0.1","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/web-request-queue_3.0.0_1725590246682_0.23636173498362711","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"@codejamboree/web-request-queue","version":"3.0.1","keywords":["throttle","web","requests","queue"],"author":{"name":"Code Jamboree LLC"},"license":"MIT","_id":"@codejamboree/web-request-queue@3.0.1","maintainers":[{"name":"code.jamboree.llc","email":"hello@codejamboree.com"}],"dist":{"shasum":"f3bbce64a46873babb974f0810a4171a20a5ff37","tarball":"https://registry.npmjs.org/@codejamboree/web-request-queue/-/web-request-queue-3.0.1.tgz","fileCount":19,"integrity":"sha512-0eyKWScDuJ3DN8lqwd9//BmZMKwrSomOpvyalrNuq6he/YGnMXddUwbLxUpcyrItWXLtkQL9NFaiNQ2DFm2CXg==","signatures":[{"sig":"MEQCIF/HxZhtZiGjERTbHl7/0x4AjlUsq3IeU5/b8DFL/ThuAiAV1y5saWhqT4vKbDRQ0vsmz4s5+sqCN21MnCoKUg/hZg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65582},"main":"dist/commonjs/index.min.cjs","type":"module","types":"dist/commonjs/types/index.d.min.ts","module":"dist/commonjs/index.min.cjs","exports":{".":{"import":{"types":"./dist/esm/types/index.d.min.mts","default":"./dist/esm/index.min.js"},"require":{"types":"./dist/commonjs/types/index.d.min.ts","default":"./dist/commonjs/index.min.cjs"}},"./production":{"import":{"types":"./dist/esm/types/index.d.min.mts","default":"./dist/esm/index.min.js"},"require":{"types":"./dist/commonjs/types/index.d.min.ts","default":"./dist/commonjs/index.min.cjs"}},"./development":{"import":{"types":"./dist/esm/types/index.d.mts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/types/index.d.ts","default":"./dist/commonjs/index.cjs"}}},"gitHead":"eba16c04b0ab91747129cf0638e65233416f4ca2","scripts":{"test":"npm run build && node ./build/scripts/test.js","build":"npm run clean && tsc","clean":"rm -rf build && rm -rf dist","bundle":"npm run build && npx rollup -c ./build/rollup.config.js","sample:file":"npm run build && node ./build/scripts/sample-file.js","sample:json":"npm run build && node ./build/scripts/sample-json.js","sample:https":"npm run build && node ./build/scripts/sample-https.js","sample:stream":"npm run build && node ./build/scripts/sample-stream.js","sample:string":"npm run build && node ./build/scripts/sample-string.js","prepublishOnly":"npm run bundle","sample:queue:cb":"npm run build && node ./build/scripts/sample-queue-cb.js","sample:queue:many":"npm run build && node ./build/scripts/sample-queue-many.js","sample:queue:promise":"npm run build && node ./build/scripts/sample-queue-promise.js"},"_npmUser":{"name":"code.jamboree.llc","email":"hello@codejamboree.com"},"_npmVersion":"10.8.2","description":"Throttle web requests","directories":{},"_nodeVersion":"22.6.0","typesVersions":{"*":{"production":["dist/commonjs/types/index.d.min.ts"],"development":["dist/commonjs/types/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.7.0","rollup":"^4.21.2","typescript":"^5.5.4","@types/node":"^22.5.4","rollup-plugin-dts":"^6.1.1","@rollup/plugin-terser":"^0.4.4","rollup-plugin-license":"^3.5.2","@rollup/plugin-commonjs":"^26.0.1","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/web-request-queue_3.0.1_1725590448373_0.8266198164670666","host":"s3://npm-registry-packages"}},"3.0.2":{"name":"@codejamboree/web-request-queue","version":"3.0.2","keywords":["throttle","web","requests","queue"],"author":{"name":"Code Jamboree LLC"},"license":"MIT","_id":"@codejamboree/web-request-queue@3.0.2","maintainers":[{"name":"code.jamboree.llc","email":"hello@codejamboree.com"}],"dist":{"shasum":"8709276516e0043a6b59f61283ec844e22f9d73d","tarball":"https://registry.npmjs.org/@codejamboree/web-request-queue/-/web-request-queue-3.0.2.tgz","fileCount":19,"integrity":"sha512-hO7DPPXAna50BV7PEN79FmRjMxvuwqAqJMnZugY9dZKgPMHZiPH5/mZZ1v2DMCePch+jKa/5pTPmPc54yLc1Hw==","signatures":[{"sig":"MEQCIFR4EdxkaXGyrMVbOq5EbBMryKK/Ns0TG0Gw7YY0aYm/AiAY9kw+uQ9oA3mLyfug1ybGU35bIectxoIUExrb7LuQlA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65420},"main":"dist/commonjs/index.min.cjs","type":"module","types":"dist/commonjs/types/index.d.min.ts","module":"dist/commonjs/index.min.cjs","exports":{".":{"import":{"types":"./dist/esm/types/index.d.min.mts","default":"./dist/esm/index.min.js"},"require":{"types":"./dist/commonjs/types/index.d.min.ts","default":"./dist/commonjs/index.min.cjs"}},"./production":{"import":{"types":"./dist/esm/types/index.d.min.mts","default":"./dist/esm/index.min.js"},"require":{"types":"./dist/commonjs/types/index.d.min.ts","default":"./dist/commonjs/index.min.cjs"}},"./development":{"import":{"types":"./dist/esm/types/index.d.mts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/types/index.d.ts","default":"./dist/commonjs/index.cjs"}}},"gitHead":"a3f23519ab559d13c36271bab185c485ad445419","scripts":{"test":"npm run build && node ./build/scripts/test.js","build":"npm run clean && tsc","clean":"rm -rf build && rm -rf dist","bundle":"npm run build && npx rollup -c ./build/rollup.config.js","sample:file":"npm run build && node ./build/scripts/sample-file.js","sample:json":"npm run build && node ./build/scripts/sample-json.js","sample:https":"npm run build && node ./build/scripts/sample-https.js","sample:stream":"npm run build && node ./build/scripts/sample-stream.js","sample:string":"npm run build && node ./build/scripts/sample-string.js","prepublishOnly":"npm run bundle","sample:queue:cb":"npm run build && node ./build/scripts/sample-queue-cb.js","sample:queue:many":"npm run build && node ./build/scripts/sample-queue-many.js","sample:queue:promise":"npm run build && node ./build/scripts/sample-queue-promise.js"},"_npmUser":{"name":"code.jamboree.llc","email":"hello@codejamboree.com"},"_npmVersion":"10.8.2","description":"Throttle web requests","directories":{},"_nodeVersion":"22.6.0","typesVersions":{"*":{"production":["dist/commonjs/types/index.d.min.ts"],"development":["dist/commonjs/types/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.7.0","rollup":"^4.21.2","typescript":"^5.5.4","@types/node":"^22.5.4","rollup-plugin-dts":"^6.1.1","@rollup/plugin-terser":"^0.4.4","rollup-plugin-license":"^3.5.2","@rollup/plugin-commonjs":"^26.0.1","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/web-request-queue_3.0.2_1725594281936_0.9796173131886547","host":"s3://npm-registry-packages"}},"3.0.3":{"name":"@codejamboree/web-request-queue","version":"3.0.3","keywords":["throttle","web","requests","queue"],"author":{"name":"Code Jamboree LLC"},"license":"MIT","_id":"@codejamboree/web-request-queue@3.0.3","maintainers":[{"name":"code.jamboree.llc","email":"hello@codejamboree.com"}],"dist":{"shasum":"7bb149bf40c9e8c0e62a7edebd887ba23253a8dd","tarball":"https://registry.npmjs.org/@codejamboree/web-request-queue/-/web-request-queue-3.0.3.tgz","fileCount":19,"integrity":"sha512-0qrs9IiYIbfGxu1awXgM/rrm7I0SYErTT+5WWGWsbSSgT9W5ntGJNeCvNetV200G4slYMw/l2F/SHD5Wn/tdsQ==","signatures":[{"sig":"MEYCIQCTdUtNayh9b8/y0zQ45rHe7/kL03oudqP0De5n1rm2pgIhALmBe3DrXF2uJPQ5jAQh4poie+DJReUTA6oIJS/acO+2","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65459},"main":"dist/commonjs/index.min.cjs","type":"module","types":"dist/commonjs/types/index.d.min.ts","module":"dist/commonjs/index.min.cjs","exports":{".":{"import":{"types":"./dist/esm/types/index.d.min.mts","default":"./dist/esm/index.min.js"},"require":{"types":"./dist/commonjs/types/index.d.min.ts","default":"./dist/commonjs/index.min.cjs"}},"./production":{"import":{"types":"./dist/esm/types/index.d.min.mts","default":"./dist/esm/index.min.js"},"require":{"types":"./dist/commonjs/types/index.d.min.ts","default":"./dist/commonjs/index.min.cjs"}},"./development":{"import":{"types":"./dist/esm/types/index.d.mts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/types/index.d.ts","default":"./dist/commonjs/index.cjs"}}},"gitHead":"9d40d8048f65fb0b5bec9b54a794a0639ff06a56","scripts":{"test":"npm run build && node ./build/scripts/test.js","build":"npm run clean && tsc","clean":"rm -rf build && rm -rf dist","bundle":"npm run build && npx rollup -c ./build/rollup.config.js","sample:file":"npm run build && node ./build/scripts/sample-file.js","sample:json":"npm run build && node ./build/scripts/sample-json.js","sample:https":"npm run build && node ./build/scripts/sample-https.js","sample:stream":"npm run build && node ./build/scripts/sample-stream.js","sample:string":"npm run build && node ./build/scripts/sample-string.js","prepublishOnly":"npm run bundle","sample:queue:cb":"npm run build && node ./build/scripts/sample-queue-cb.js","sample:queue:many":"npm run build && node ./build/scripts/sample-queue-many.js","sample:queue:promise":"npm run build && node ./build/scripts/sample-queue-promise.js"},"_npmUser":{"name":"code.jamboree.llc","email":"hello@codejamboree.com"},"_npmVersion":"10.8.3","description":"Throttle web requests","directories":{},"_nodeVersion":"22.6.0","typesVersions":{"*":{"production":["dist/commonjs/types/index.d.min.ts"],"development":["dist/commonjs/types/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.7.0","rollup":"^4.21.2","typescript":"^5.5.4","@types/node":"^22.5.4","rollup-plugin-dts":"^6.1.1","@codejamboree/js-test":"^1.0.4","@rollup/plugin-terser":"^0.4.4","rollup-plugin-license":"^3.5.2","@rollup/plugin-commonjs":"^26.0.1","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/web-request-queue_3.0.3_1725697754972_0.7600790324624782","host":"s3://npm-registry-packages"}},"3.1.0":{"name":"@codejamboree/web-request-queue","version":"3.1.0","keywords":["throttle","web","requests","queue"],"author":{"name":"Code Jamboree LLC"},"license":"MIT","_id":"@codejamboree/web-request-queue@3.1.0","maintainers":[{"name":"code.jamboree.llc","email":"hello@codejamboree.com"}],"dist":{"shasum":"cf93b4bfe7d124bb7ba49412c3a38640e4e10770","tarball":"https://registry.npmjs.org/@codejamboree/web-request-queue/-/web-request-queue-3.1.0.tgz","fileCount":19,"integrity":"sha512-NJa/uhy91ZLczfVuWUdXDWVcAJiXgPvjjfKDo4sR85a/Dt0wGvSTV1JMVTleqI1rdnIwW3M0IhandfJsCfol8A==","signatures":[{"sig":"MEQCIGYpOMK1rxUtOq0ipatkHDuJ+r7ZlTjRrEkjNPrjQiYNAiARBjVJLKlXlO1tQKPj9FpeE5zmUz9NkPp8S6q7gtQUcg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65695},"main":"dist/commonjs/index.min.cjs","type":"module","types":"dist/commonjs/types/index.d.min.ts","module":"dist/commonjs/index.min.cjs","exports":{".":{"import":{"types":"./dist/esm/types/index.d.min.mts","default":"./dist/esm/index.min.js"},"require":{"types":"./dist/commonjs/types/index.d.min.ts","default":"./dist/commonjs/index.min.cjs"}},"./production":{"import":{"types":"./dist/esm/types/index.d.min.mts","default":"./dist/esm/index.min.js"},"require":{"types":"./dist/commonjs/types/index.d.min.ts","default":"./dist/commonjs/index.min.cjs"}},"./development":{"import":{"types":"./dist/esm/types/index.d.mts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/types/index.d.ts","default":"./dist/commonjs/index.cjs"}}},"gitHead":"30686372a733a4a1e41c941b9ee9f526c1b4f27f","scripts":{"test":"npm run build && node ./build/scripts/test.js","build":"npm run clean && tsc","clean":"rm -rf build && rm -rf dist","bundle":"npm run build && npx rollup -c ./build/rollup.config.js","sample:file":"npm run build && node ./build/scripts/sample-file.js","sample:json":"npm run build && node ./build/scripts/sample-json.js","sample:https":"npm run build && node ./build/scripts/sample-https.js","sample:stream":"npm run build && node ./build/scripts/sample-stream.js","sample:string":"npm run build && node ./build/scripts/sample-string.js","prepublishOnly":"npm run bundle","sample:queue:cb":"npm run build && node ./build/scripts/sample-queue-cb.js","sample:queue:many":"npm run build && node ./build/scripts/sample-queue-many.js","sample:queue:promise":"npm run build && node ./build/scripts/sample-queue-promise.js"},"_npmUser":{"name":"code.jamboree.llc","email":"hello@codejamboree.com"},"_npmVersion":"10.8.3","description":"Throttle web requests","directories":{},"_nodeVersion":"22.6.0","typesVersions":{"*":{"production":["dist/commonjs/types/index.d.min.ts"],"development":["dist/commonjs/types/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.7.0","rollup":"^4.21.2","typescript":"^5.5.4","@types/node":"^22.5.4","rollup-plugin-dts":"^6.1.1","@codejamboree/js-test":"^2.2.0","@rollup/plugin-terser":"^0.4.4","rollup-plugin-license":"^3.5.2","@rollup/plugin-commonjs":"^26.0.1","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/web-request-queue_3.1.0_1725847154393_0.48909989316658753","host":"s3://npm-registry-packages"}},"3.2.0":{"name":"@codejamboree/web-request-queue","version":"3.2.0","description":"Throttle web requests","type":"module","main":"dist/commonjs/index.min.cjs","types":"dist/commonjs/types/index.d.min.ts","module":"dist/commonjs/index.min.cjs","exports":{".":{"import":{"types":"./dist/esm/types/index.d.min.mts","default":"./dist/esm/index.min.js"},"require":{"types":"./dist/commonjs/types/index.d.min.ts","default":"./dist/commonjs/index.min.cjs"}},"./production":{"import":{"types":"./dist/esm/types/index.d.min.mts","default":"./dist/esm/index.min.js"},"require":{"types":"./dist/commonjs/types/index.d.min.ts","default":"./dist/commonjs/index.min.cjs"}},"./development":{"import":{"types":"./dist/esm/types/index.d.mts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/types/index.d.ts","default":"./dist/commonjs/index.cjs"}}},"typesVersions":{"*":{"production":["dist/commonjs/types/index.d.min.ts"],"development":["dist/commonjs/types/index.d.ts"]}},"scripts":{"clean":"rm -rf build && rm -rf dist","build":"npm run clean && tsc","bundle":"npm run build && npx rollup -c ./build/rollup.config.js","prepublishOnly":"npm run bundle","test":"npm run build && node ./build/scripts/test.js","sample:https":"npm run build && node ./build/scripts/sample-https.js","sample:queue:cb":"npm run build && node ./build/scripts/sample-queue-cb.js","sample:queue:promise":"npm run build && node ./build/scripts/sample-queue-promise.js","sample:queue:many":"npm run build && node ./build/scripts/sample-queue-many.js","sample:string":"npm run build && node ./build/scripts/sample-string.js","sample:file":"npm run build && node ./build/scripts/sample-file.js","sample:stream":"npm run build && node ./build/scripts/sample-stream.js","sample:json":"npm run build && node ./build/scripts/sample-json.js"},"keywords":["throttle","web","requests","queue"],"author":{"name":"Code Jamboree LLC"},"license":"MIT","devDependencies":{"@codejamboree/js-logger":"^2.2.0","@codejamboree/js-test":"^2.4.0","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.4","@types/node":"^22.5.4","rollup":"^4.21.2","rollup-plugin-dts":"^6.1.1","rollup-plugin-license":"^3.5.2","rollup-plugin-typescript2":"^0.36.0","tslib":"^2.7.0","typescript":"^5.5.4"},"_id":"@codejamboree/web-request-queue@3.2.0","gitHead":"5ade107c600c333aa557670feef96e3bc451342d","_nodeVersion":"22.6.0","_npmVersion":"10.8.3","dist":{"integrity":"sha512-PxilF2wwdJFLLHvzJgFYyMx6xdsjwjkv87tHiNCUuE9EJHAMhnrXwrXcHV6jaUS0/D0zaLQ+EChb/A7XF/ZAMA==","shasum":"6116742b4a8d14b32d455b10e455bebe4ef8ce26","tarball":"https://registry.npmjs.org/@codejamboree/web-request-queue/-/web-request-queue-3.2.0.tgz","fileCount":19,"unpackedSize":66081,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC0oJ6QRGY6fFVC02m6JYipTMdmvBuJtJJ9HbZskC6lUAiEA2FW7GYFs5AFAHbXAJKASf4DkiQXvhFRaKanhfnTTwM8="}]},"_npmUser":{"name":"code.jamboree.llc","email":"hello@codejamboree.com"},"directories":{},"maintainers":[{"name":"code.jamboree.llc","email":"hello@codejamboree.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web-request-queue_3.2.0_1725931348922_0.3474318923288078"},"_hasShrinkwrap":false}},"time":{"created":"2024-09-04T03:47:59.105Z","modified":"2024-09-10T01:22:29.360Z","1.0.0":"2024-09-04T03:47:59.463Z","2.0.0":"2024-09-04T08:29:28.806Z","2.0.1":"2024-09-04T08:41:44.451Z","2.0.2":"2024-09-04T08:49:36.350Z","2.0.3":"2024-09-04T08:54:57.068Z","2.0.4":"2024-09-04T09:01:37.507Z","2.0.5":"2024-09-05T01:02:56.890Z","3.0.0":"2024-09-06T02:37:26.863Z","3.0.1":"2024-09-06T02:40:48.516Z","3.0.2":"2024-09-06T03:44:42.074Z","3.0.3":"2024-09-07T08:29:15.112Z","3.1.0":"2024-09-09T01:59:14.542Z","3.2.0":"2024-09-10T01:22:29.129Z"},"author":{"name":"Code Jamboree LLC"},"license":"MIT","keywords":["throttle","web","requests","queue"],"description":"Throttle web requests","maintainers":[{"name":"code.jamboree.llc","email":"hello@codejamboree.com"}],"readme":"# web-request-queue\n\nSimple utility to throttle web requests to reduce heavy traffic on your website.\n\n# Queing\n\nYou can call queue with the same arguments as https.request. However, it returns a promise that eventually resolves into a request, rather than the request itself.\n\n```js\nimport { webRequest } from '@codejamboree/web-request-queue';\n\nconst callback = res => {\n  let buffers = [];\n  res.on('data', data => buffers.push(data));\n  res.on('error', err => console.error(err));\n  res.on('end', () => {\n    console.log(Buffer.concat(buffers).toString());\n  });\n};\n\n// same args as https.request\nwebRequest.queue(`https://localhost/api?id=${i}`, { method: 'GET' }, callback)\n  .then(req => {\n    req.on('error', err => console.error(err));\n    req.end();\n  })\n  .catch(err => console.error(err));\n```\n\n# Callbacks\n\nIf you prefer to work with callbacks, you can pass them as an object, where the original arguments are passed as the `args` key.\n\n```js\nconst onRequested = req => {\n  req.on('error', (err) => console.error(err));\n  req.write(\"Posted form data\");\n  req.end();\n}\nwebRequest.queueWithCallbacks({\n  args: [url, {method: 'POST'}, callback],\n  onRequested\n});\n```\n# Canceling Requests\n\nTo cancel all requests currently in the queue, call the method\n\n```js\nconst onCancel = err => console.log(err);\nwebRequest.queueWithCallbacks({args: [\"https://localhost\"], onCancel});\nwebRequest.cancel(\"I have my reasons\");\n// Output: I have my reasons\n```\n\n# Configuration\n\nConfiguration options can be passed to adjust the behavior. Each key is optional.\n\n```js\nwebRequest.configure({\n  requestsPerPeriod: 10,\n  secondsPerPeriod: 60,\n  pause: false\n});\n```\n\n- `requestsPerPeriod`: The total number of requests permitted per period.\n- `secondsPerPeriod`: The number of seconds within a period.\n- `pause`: Start/Stop the requests without clearing/canceling the queue\n\n## Request Rate\n\nYou may set the number of requests allowed within a given period.\n\n```js\n// Limit to 10 requests per minute\nwebRequest.configure({ reqeustsPerPeriod: 10, secondsPerPeriod: 60 });\n```\n## Info\n\nYou can request information about the current state of the queue.\n\n```js\nconsole.log(webRequest.info());\n// {\n//  \"requested\": 32,\n//  \"queued\": 12000,\n//  \"firstAt\": 2024-08-30T23:51:22.818Z,\n//  \"paused\": false\n// }\n```\nWith it, you can work out the progress of a batch of requests.\n```js\n\nconst label = 'Queue';\nconsole.time(label);\n\nlet interval = setInterval(() => {\n  const { requested, queued } = webRequest.info();\n  console.timeLog(label, 'Requested', requested, 'of', requested + queued);\n}, 1000);\n\nconst queueId = id => webRequest.queue(`https://localhost/${id}`);\n\nPromise.all([1,2,3].map(queueId))\n    .finally(() => {\n      clearInterval(interval);\n      console.timeEnd(label);\n    });\n// Queue: 1.002s Requested 1 of 3\n// Queue: 2.004s Requested 1 of 3\n// Queue: 3.005s Requested 2 of 3\n// Queue: 4.007s Requested 2 of 3\n```\n\n# Helper Functions\n\nA few helper functions are included to simplify working with websites.\n\n## Saving Files\n```js\nwebRequest.toFile(filePath, url);\n```\n## Getting a string\n```js\nconst html = await webRequest.asString(url);\nconsole.log(html);\n```\n## Send to a stream\n```js\nwebRequest.toStream(process.stdout, \"https://localhost\").then(stream => stream.end());\n```\n## Parse JSON responses\n```js\nconst url = \"https://localhost/api/user/id\";\n\nconst user = webRequest.parseJson(url);\nconsole.log('Date', user.date, typeof user.date);\n// Output: Date 2024-09-05T00:00:00Z string\n\nconst reviver = (key, value) => {\n  return key === 'date' ? new Date(value) : value;\n}\n\nconst user = webRequest.parseJsonWithRevivor(reviver, url);\nconsole.log('Date', user.date, typeof user.date);\n// Output: Date 2024-09-05T00:00:00Z object\n\n// Generic Types supported\nconst user = webRequest.parseJson<User>(url);\nconst user = webRequest.parseJsonWithRevivor<User>(reviver, url);\n```","readmeFilename":"README.md"}