{"_id":"@coolaj86/urequest","_rev":"4642422","name":"@coolaj86/urequest","description":"A lightweight drop-in replacement for request","dist-tags":{"latest":"1.3.7"},"maintainers":[{"name":"coolaj86","email":""}],"time":{"modified":"2026-04-10T20:03:34.000Z","created":"2018-06-19T02:01:17.042Z","1.3.7":"2019-02-26T08:30:17.033Z","1.3.6":"2018-07-12T09:13:12.703Z","1.3.5":"2018-07-08T01:57:26.633Z","1.3.4":"2018-07-08T01:46:45.339Z","1.3.3":"2018-07-07T22:19:06.046Z","1.3.2":"2018-07-07T20:31:52.545Z","1.3.1":"2018-07-07T04:32:32.026Z","1.3.0":"2018-07-07T03:24:27.432Z","1.2.1":"2018-07-07T02:28:57.262Z","1.1.5":"2018-07-07T02:27:22.822Z","1.2.0":"2018-07-07T02:25:51.579Z","1.1.4":"2018-06-29T08:20:49.130Z","1.1.3":"2018-06-26T20:44:41.511Z","1.1.2":"2018-06-20T08:12:18.685Z","1.1.1":"2018-06-19T07:10:11.993Z","1.1.0":"2018-06-19T06:18:01.026Z","1.0.1":"2018-06-19T04:25:26.923Z","1.0.0":"2018-06-19T02:01:17.042Z"},"users":{},"author":{"name":"AJ ONeal","email":"coolaj86@gmail.com","url":"https://coolaj86.com/"},"repository":{"type":"git","url":"https://git.ppl.family/ppl/urequest.js.git"},"versions":{"1.3.7":{"name":"@coolaj86/urequest","version":"1.3.7","description":"A lightweight drop-in replacement for request","main":"index.js","directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://git.ppl.family/ppl/urequest.js.git"},"keywords":["request","lightweight","alternative","http","https","call"],"author":{"name":"AJ ONeal","email":"coolaj86@gmail.com","url":"https://coolaj86.com/"},"license":"(MIT OR Apache-2.0)","gitHead":"aec78877cfee26826bd50bf1b3b4cdf350037158","_id":"@coolaj86/urequest@1.3.7","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"coolaj86","email":"coolaj86@gmail.com"},"dist":{"shasum":"66a1d66378dd6534e9c8e68948bf09acf32bab77","size":10104,"noattachment":false,"key":"/@coolaj86/urequest/-/@coolaj86/urequest-1.3.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/@coolaj86/urequest/download/@coolaj86/urequest-1.3.7.tgz"},"maintainers":[{"name":"coolaj86","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/urequest_1.3.7_1551169816883_0.09415173988294678"},"_hasShrinkwrap":false,"publish_time":1551169817033,"_cnpm_publish_time":1551169817033,"_cnpmcore_publish_time":"2021-12-16T17:15:25.128Z"},"1.3.6":{"name":"@coolaj86/urequest","version":"1.3.6","description":"A lightweight drop-in replacement for request","main":"index.js","files":["lib"],"directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://git.ppl.family/ppl/urequest.js.git"},"keywords":["request","lightweight","alternative","http","https","call"],"author":{"name":"AJ ONeal","email":"coolaj86@gmail.com","url":"https://coolaj86.com/"},"license":"(MIT OR Apache-2.0)","gitHead":"49daa68225e6f53685125ef9ccd0183221ed1b68","_id":"@coolaj86/urequest@1.3.6","_npmVersion":"6.1.0","_nodeVersion":"10.6.0","_npmUser":{"name":"coolaj86","email":"coolaj86@gmail.com"},"dist":{"shasum":"e962d62000d7786a3920e5ef2c863223353b2e7f","size":9960,"noattachment":false,"key":"/@coolaj86/urequest/-/@coolaj86/urequest-1.3.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/@coolaj86/urequest/download/@coolaj86/urequest-1.3.6.tgz"},"maintainers":[{"name":"coolaj86","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/urequest_1.3.6_1531386792567_0.12131716051599817"},"_hasShrinkwrap":false,"publish_time":1531386792703,"_cnpm_publish_time":1531386792703,"_cnpmcore_publish_time":"2021-12-16T17:15:25.323Z"},"1.3.5":{"name":"@coolaj86/urequest","version":"1.3.5","description":"A lightweight drop-in replacement for request","main":"index.js","files":["lib"],"directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://git.ppl.family/ppl/urequest.js.git"},"keywords":["request","lightweight","alternative","http","https","call"],"author":{"name":"AJ ONeal","email":"coolaj86@gmail.com","url":"https://coolaj86.com/"},"license":"(MIT OR Apache-2.0)","gitHead":"137da9b903f42951b3131e031795ddd6ab7636d7","_id":"@coolaj86/urequest@1.3.5","_npmVersion":"6.1.0","_nodeVersion":"10.6.0","_npmUser":{"name":"coolaj86","email":"coolaj86@gmail.com"},"dist":{"shasum":"10b7a310f206bffcf834be0047d62dafb1804513","size":9900,"noattachment":false,"key":"/@coolaj86/urequest/-/@coolaj86/urequest-1.3.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@coolaj86/urequest/download/@coolaj86/urequest-1.3.5.tgz"},"maintainers":[{"name":"coolaj86","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/urequest_1.3.5_1531015046562_0.9665371676107488"},"_hasShrinkwrap":false,"publish_time":1531015046633,"_cnpm_publish_time":1531015046633,"_cnpmcore_publish_time":"2021-12-16T17:15:25.546Z"},"1.3.4":{"name":"@coolaj86/urequest","version":"1.3.4","description":"A lightweight drop-in replacement for request","main":"index.js","files":["lib"],"directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://git.ppl.family/ppl/urequest.js.git"},"keywords":["request","lightweight","alternative","http","https","call"],"author":{"name":"AJ ONeal","email":"coolaj86@gmail.com","url":"https://coolaj86.com/"},"license":"(MIT OR Apache-2.0)","gitHead":"3defd84af4bd3cb473a6ddd79bcb0894bafcd297","_id":"@coolaj86/urequest@1.3.4","_npmVersion":"6.1.0","_nodeVersion":"10.6.0","_npmUser":{"name":"coolaj86","email":"coolaj86@gmail.com"},"dist":{"shasum":"7cc9ca1601cb978f6ae148944830348ab115152b","size":9895,"noattachment":false,"key":"/@coolaj86/urequest/-/@coolaj86/urequest-1.3.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@coolaj86/urequest/download/@coolaj86/urequest-1.3.4.tgz"},"maintainers":[{"name":"coolaj86","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/urequest_1.3.4_1531014405261_0.7622635779469171"},"_hasShrinkwrap":false,"publish_time":1531014405339,"_cnpm_publish_time":1531014405339,"_cnpmcore_publish_time":"2021-12-16T17:15:25.741Z"},"1.3.3":{"name":"@coolaj86/urequest","version":"1.3.3","description":"A lightweight drop-in replacement for request","main":"index.js","files":["lib"],"directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://git.ppl.family/ppl/urequest.js.git"},"keywords":["request","lightweight","alternative","http","https","call"],"author":{"name":"AJ ONeal","email":"coolaj86@gmail.com","url":"https://coolaj86.com/"},"license":"(MIT OR Apache-2.0)","gitHead":"50704fdccce1d4205cfe3fabaa4f352ef32a9055","_id":"@coolaj86/urequest@1.3.3","_npmVersion":"5.6.0","_nodeVersion":"10.2.1","_npmUser":{"name":"coolaj86","email":"coolaj86@gmail.com"},"dist":{"shasum":"9eeb8d7f4c8a6e46d4f9f744a33939234f2876cf","size":9828,"noattachment":false,"key":"/@coolaj86/urequest/-/@coolaj86/urequest-1.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@coolaj86/urequest/download/@coolaj86/urequest-1.3.3.tgz"},"maintainers":[{"name":"coolaj86","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/urequest_1.3.3_1531001945973_0.8269358316345599"},"_hasShrinkwrap":false,"publish_time":1531001946046,"_cnpm_publish_time":1531001946046,"_cnpmcore_publish_time":"2021-12-16T17:15:25.978Z"},"1.3.2":{"name":"@coolaj86/urequest","version":"1.3.2","description":"A lightweight drop-in replacement for request","main":"index.js","files":["lib"],"directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://git.ppl.family/ppl/urequest.js.git"},"keywords":["request","lightweight","alternative","http","https","call"],"author":{"name":"AJ ONeal","email":"coolaj86@gmail.com","url":"https://coolaj86.com/"},"license":"(MIT OR Apache-2.0)","gitHead":"7255134e9f7c07fb924c94e85f1ec07aa53cbbdd","_id":"@coolaj86/urequest@1.3.2","_npmVersion":"5.6.0","_nodeVersion":"10.2.1","_npmUser":{"name":"coolaj86","email":"coolaj86@gmail.com"},"dist":{"shasum":"6af40fb4102f33ce37563370e7ed1bd8dd36d4bb","size":9828,"noattachment":false,"key":"/@coolaj86/urequest/-/@coolaj86/urequest-1.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@coolaj86/urequest/download/@coolaj86/urequest-1.3.2.tgz"},"maintainers":[{"name":"coolaj86","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/urequest_1.3.2_1530995512455_0.9924739460416541"},"_hasShrinkwrap":false,"publish_time":1530995512545,"_cnpm_publish_time":1530995512545,"_cnpmcore_publish_time":"2021-12-16T17:15:26.165Z"},"1.3.1":{"name":"@coolaj86/urequest","version":"1.3.1","description":"A lightweight drop-in replacement for request","main":"index.js","files":["lib"],"directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://git.ppl.family/ppl/urequest.js.git"},"keywords":["request","lightweight","alternative","http","https","call"],"author":{"name":"AJ ONeal","email":"coolaj86@gmail.com","url":"https://coolaj86.com/"},"license":"(MIT OR Apache-2.0)","gitHead":"aa509ea4ce7ff9274007996fc39767105717689c","_id":"@coolaj86/urequest@1.3.1","_npmVersion":"5.6.0","_nodeVersion":"10.2.1","_npmUser":{"name":"coolaj86","email":"coolaj86@gmail.com"},"dist":{"shasum":"6f1a4b77b5fb62131b9af4c8aea7215e310983f1","size":9752,"noattachment":false,"key":"/@coolaj86/urequest/-/@coolaj86/urequest-1.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@coolaj86/urequest/download/@coolaj86/urequest-1.3.1.tgz"},"maintainers":[{"name":"coolaj86","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/urequest_1.3.1_1530937951953_0.4661765814866725"},"_hasShrinkwrap":false,"publish_time":1530937952026,"_cnpm_publish_time":1530937952026,"_cnpmcore_publish_time":"2021-12-16T17:15:26.371Z"},"1.3.0":{"name":"@coolaj86/urequest","version":"1.3.0","description":"A lightweight drop-in replacement for request","main":"index.js","files":["lib"],"directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://git.ppl.family/ppl/urequest.js.git"},"keywords":["request","lightweight","alternative","http","https","call"],"author":{"name":"AJ ONeal","email":"coolaj86@gmail.com","url":"https://coolaj86.com/"},"license":"(MIT OR Apache-2.0)","gitHead":"f81dce97865a21115fa81fff4fc2bef0c68ff24d","_id":"@coolaj86/urequest@1.3.0","_npmVersion":"5.6.0","_nodeVersion":"10.2.1","_npmUser":{"name":"coolaj86","email":"coolaj86@gmail.com"},"dist":{"shasum":"4f136ef7ce98c8c216911422f3c238e2b5d8efef","size":9749,"noattachment":false,"key":"/@coolaj86/urequest/-/@coolaj86/urequest-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@coolaj86/urequest/download/@coolaj86/urequest-1.3.0.tgz"},"maintainers":[{"name":"coolaj86","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/urequest_1.3.0_1530933867320_0.14748238995388707"},"_hasShrinkwrap":false,"publish_time":1530933867432,"_cnpm_publish_time":1530933867432,"_cnpmcore_publish_time":"2021-12-16T17:15:26.581Z"},"1.2.1":{"name":"@coolaj86/urequest","version":"1.2.1","description":"A lightweight drop-in replacement for request","main":"index.js","files":["lib"],"directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://git.ppl.family/ppl/urequest.js.git"},"keywords":["request","lightweight","alternative","http","https","call"],"author":{"name":"AJ ONeal","email":"coolaj86@gmail.com","url":"https://coolaj86.com/"},"license":"(MIT OR Apache-2.0)","gitHead":"2d95ed2ac0d8e7e5a2e3042ece72d560ad93939a","_id":"@coolaj86/urequest@1.2.1","_npmVersion":"5.6.0","_nodeVersion":"10.2.1","_npmUser":{"name":"coolaj86","email":"coolaj86@gmail.com"},"dist":{"shasum":"552ce2a2887934e737964341fe50c923e3589d5a","size":8745,"noattachment":false,"key":"/@coolaj86/urequest/-/@coolaj86/urequest-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@coolaj86/urequest/download/@coolaj86/urequest-1.2.1.tgz"},"maintainers":[{"name":"coolaj86","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/urequest_1.2.1_1530930537056_0.946450948882056"},"_hasShrinkwrap":false,"publish_time":1530930537262,"_cnpm_publish_time":1530930537262,"_cnpmcore_publish_time":"2021-12-16T17:15:26.763Z"},"1.1.5":{"name":"@coolaj86/urequest","version":"1.1.5","description":"A lightweight drop-in replacement for request","main":"index.js","directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://git.ppl.family/ppl/urequest.js.git"},"keywords":["request","lightweight","alternative","http","https","call"],"author":{"name":"AJ ONeal","email":"coolaj86@gmail.com","url":"https://coolaj86.com/"},"license":"(MIT OR Apache-2.0)","gitHead":"e5bad96279f647bd5830cf638c5e06cf56e4eb7f","_id":"@coolaj86/urequest@1.1.5","_npmVersion":"5.6.0","_nodeVersion":"10.2.1","_npmUser":{"name":"coolaj86","email":"coolaj86@gmail.com"},"dist":{"shasum":"3d3923374e9578783e0906e3d767b5dc9c151d48","size":7767,"noattachment":false,"key":"/@coolaj86/urequest/-/@coolaj86/urequest-1.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@coolaj86/urequest/download/@coolaj86/urequest-1.1.5.tgz"},"maintainers":[{"name":"coolaj86","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/urequest_1.1.5_1530930442757_0.927667409164971"},"_hasShrinkwrap":false,"publish_time":1530930442822,"_cnpm_publish_time":1530930442822,"_cnpmcore_publish_time":"2021-12-16T17:15:26.971Z"},"1.2.0":{"name":"@coolaj86/urequest","version":"1.2.0","description":"A lightweight drop-in replacement for request","main":"index.js","files":["lib"],"directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://git.ppl.family/ppl/urequest.js.git"},"keywords":["request","lightweight","alternative","http","https","call"],"author":{"name":"AJ ONeal","email":"coolaj86@gmail.com","url":"https://coolaj86.com/"},"license":"(MIT OR Apache-2.0)","gitHead":"ba76c3aa14c7ad210ab6e1cb076f41db619c335b","_id":"@coolaj86/urequest@1.2.0","_npmVersion":"5.6.0","_nodeVersion":"10.2.1","_npmUser":{"name":"coolaj86","email":"coolaj86@gmail.com"},"dist":{"shasum":"d6422edd230506b51ac23573e4587f11f5fcea77","size":8753,"noattachment":false,"key":"/@coolaj86/urequest/-/@coolaj86/urequest-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@coolaj86/urequest/download/@coolaj86/urequest-1.2.0.tgz"},"maintainers":[{"name":"coolaj86","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/urequest_1.2.0_1530930351251_0.8916480343272419"},"_hasShrinkwrap":false,"publish_time":1530930351579,"_cnpm_publish_time":1530930351579,"_cnpmcore_publish_time":"2021-12-16T17:15:27.176Z"},"1.1.4":{"name":"@coolaj86/urequest","version":"1.1.4","description":"A lightweight drop-in replacement for request","main":"index.js","directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://git.ppl.family/ppl/urequest.js.git"},"keywords":["request","lightweight","alternative","http","https","call"],"author":{"name":"AJ ONeal","email":"coolaj86@gmail.com","url":"https://coolaj86.com/"},"license":"(MIT OR Apache-2.0)","gitHead":"d5af2ae5fe739818aedb2f53b0676c900ac8fe19","_id":"@coolaj86/urequest@1.1.4","_npmVersion":"5.6.0","_nodeVersion":"10.2.1","_npmUser":{"name":"coolaj86","email":"coolaj86@gmail.com"},"dist":{"shasum":"f0e542d09b50341b3ac31e4b8a94e0955ee1b483","size":7771,"noattachment":false,"key":"/@coolaj86/urequest/-/@coolaj86/urequest-1.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@coolaj86/urequest/download/@coolaj86/urequest-1.1.4.tgz"},"maintainers":[{"name":"coolaj86","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/urequest_1.1.4_1530260449082_0.03337159329530737"},"_hasShrinkwrap":false,"publish_time":1530260449130,"_cnpm_publish_time":1530260449130,"_cnpmcore_publish_time":"2021-12-16T17:15:27.377Z"},"1.1.3":{"name":"@coolaj86/urequest","version":"1.1.3","description":"A lightweight drop-in replacement for request","main":"index.js","directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://git.ppl.family/ppl/urequest.js.git"},"keywords":["request","lightweight","alternative","http","https","call"],"author":{"name":"AJ ONeal","email":"coolaj86@gmail.com","url":"https://coolaj86.com/"},"license":"(MIT OR Apache-2.0)","gitHead":"2be278364c113cb0f110e9a5d41b47c1830dc34d","_id":"@coolaj86/urequest@1.1.3","_npmVersion":"6.1.0","_nodeVersion":"10.4.1","_npmUser":{"name":"coolaj86","email":"coolaj86@gmail.com"},"dist":{"shasum":"851e0235b6002e8a28dcf57bdd0491666914000c","size":7099,"noattachment":false,"key":"/@coolaj86/urequest/-/@coolaj86/urequest-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@coolaj86/urequest/download/@coolaj86/urequest-1.1.3.tgz"},"maintainers":[{"name":"coolaj86","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/urequest_1.1.3_1530045881463_0.6967841315733341"},"_hasShrinkwrap":false,"publish_time":1530045881511,"_cnpm_publish_time":1530045881511,"_cnpmcore_publish_time":"2021-12-16T17:15:27.596Z"},"1.1.2":{"name":"@coolaj86/urequest","version":"1.1.2","description":"A lightweight drop-in replacement for request","main":"index.js","directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://git.ppl.family/ppl/urequest.js.git"},"keywords":["request","lightweight","alternative","http","https","call"],"author":{"name":"AJ ONeal","email":"coolaj86@gmail.com","url":"https://coolaj86.com/"},"license":"(MIT OR Apache-2.0)","gitHead":"28e67055e745874a03ab826c5fd031ff4b36615e","_id":"@coolaj86/urequest@1.1.2","_npmVersion":"6.1.0","_nodeVersion":"10.4.1","_npmUser":{"name":"coolaj86","email":"coolaj86@gmail.com"},"dist":{"shasum":"782a39044a62c9d6d4dd8efcc32f2ef62e1e122b","size":7098,"noattachment":false,"key":"/@coolaj86/urequest/-/@coolaj86/urequest-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@coolaj86/urequest/download/@coolaj86/urequest-1.1.2.tgz"},"maintainers":[{"name":"coolaj86","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/urequest_1.1.2_1529482338634_0.7347830230249011"},"_hasShrinkwrap":false,"publish_time":1529482338685,"_cnpm_publish_time":1529482338685,"_cnpmcore_publish_time":"2021-12-16T17:15:27.872Z"},"1.1.1":{"name":"@coolaj86/urequest","version":"1.1.1","description":"A lightweight drop-in replacement for request","main":"index.js","directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://git.ppl.family/ppl/urequest.js.git"},"keywords":["request","lightweight","alternative","http","https","call"],"author":{"name":"AJ ONeal","email":"coolaj86@gmail.com","url":"https://coolaj86.com/"},"license":"(MIT OR Apache-2.0)","gitHead":"bdf5262f1b9bdb5fe600e9906512e1874930b83a","_id":"@coolaj86/urequest@1.1.1","_npmVersion":"6.1.0","_nodeVersion":"10.4.1","_npmUser":{"name":"coolaj86","email":"coolaj86@gmail.com"},"dist":{"shasum":"57b87698531291be4458492b23ca578724024ee6","size":6959,"noattachment":false,"key":"/@coolaj86/urequest/-/@coolaj86/urequest-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@coolaj86/urequest/download/@coolaj86/urequest-1.1.1.tgz"},"maintainers":[{"name":"coolaj86","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/urequest_1.1.1_1529392211924_0.28619759499469777"},"_hasShrinkwrap":false,"publish_time":1529392211993,"_cnpm_publish_time":1529392211993,"_cnpmcore_publish_time":"2021-12-16T17:15:28.100Z"},"1.1.0":{"name":"@coolaj86/urequest","version":"1.1.0","description":"A lightweight drop-in replacement for request","main":"index.js","directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://git.ppl.family/ppl/urequest.js.git"},"keywords":["request","lightweight","alternative","http","https","call"],"author":{"name":"AJ ONeal","email":"coolaj86@gmail.com","url":"https://coolaj86.com/"},"license":"(MIT OR Apache-2.0)","gitHead":"1a1713bea1478bcc8e977803b48c17aee7344ef2","_id":"@coolaj86/urequest@1.1.0","_npmVersion":"6.1.0","_nodeVersion":"10.4.1","_npmUser":{"name":"coolaj86","email":"coolaj86@gmail.com"},"dist":{"shasum":"7c746a5425fcea314261ce70c00f97702d5cabf8","size":6745,"noattachment":false,"key":"/@coolaj86/urequest/-/@coolaj86/urequest-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@coolaj86/urequest/download/@coolaj86/urequest-1.1.0.tgz"},"maintainers":[{"name":"coolaj86","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/urequest_1.1.0_1529389080932_0.6085807657644982"},"_hasShrinkwrap":false,"publish_time":1529389081026,"_cnpm_publish_time":1529389081026,"_cnpmcore_publish_time":"2021-12-16T17:15:28.298Z"},"1.0.1":{"name":"@coolaj86/urequest","version":"1.0.1","description":"A lightweight drop-in replacement for request","main":"index.js","directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://git.ppl.family/ppl/urequest.js.git"},"keywords":["request","lightweight","alternative","http","https","call"],"author":{"name":"AJ ONeal","email":"coolaj86@gmail.com","url":"https://coolaj86.com/"},"license":"(MIT OR Apache-2.0)","gitHead":"cb7dc83b04e632d0398f9ab04787095b951a76c6","_id":"@coolaj86/urequest@1.0.1","_npmVersion":"6.1.0","_nodeVersion":"10.4.1","_npmUser":{"name":"coolaj86","email":"coolaj86@gmail.com"},"dist":{"shasum":"b8ca205810600183669638339ffa91dd7a1e2f06","size":6226,"noattachment":false,"key":"/@coolaj86/urequest/-/@coolaj86/urequest-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@coolaj86/urequest/download/@coolaj86/urequest-1.0.1.tgz"},"maintainers":[{"name":"coolaj86","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/urequest_1.0.1_1529382326863_0.7431753785605233"},"_hasShrinkwrap":false,"publish_time":1529382326923,"_cnpm_publish_time":1529382326923,"_cnpmcore_publish_time":"2021-12-16T17:15:28.524Z"},"1.0.0":{"name":"@coolaj86/urequest","version":"1.0.0","description":"A lightweight drop-in replacement for request","main":"index.js","directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://git.ppl.family/ppl/urequest.js.git"},"keywords":["request","lightweight","alternative","http","https","call"],"author":{"name":"AJ ONeal","email":"coolaj86@gmail.com","url":"https://coolaj86.com/"},"license":"(MIT OR Apache-2.0)","gitHead":"eba81d0fc9f3a777f32b3bf76d2bf0b4a275d377","_id":"@coolaj86/urequest@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"coolaj86","email":"coolaj86@gmail.com"},"dist":{"shasum":"8b5eeace31c949d9d5f33d4f49a1dbf47bee3e30","size":6254,"noattachment":false,"key":"/@coolaj86/urequest/-/@coolaj86/urequest-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@coolaj86/urequest/download/@coolaj86/urequest-1.0.0.tgz"},"maintainers":[{"name":"coolaj86","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/urequest_1.0.0_1529373676993_0.8156956594173881"},"_hasShrinkwrap":false,"publish_time":1529373677042,"_cnpm_publish_time":1529373677042,"_cnpmcore_publish_time":"2021-12-16T17:15:28.731Z"}},"readme":"# µRequest - Minimalist HTTP client\n\nA lightweight alternative to (and drop-in replacement for) request.\n\nWritten from scratch.\n\n## Super simple to use\n\nµRequest is designed to be a drop-in replacement for request.  It supports HTTPS and follows redirects by default.\n\n```bash\nnpm install --save @coolaj86/urequest\n```\n\n```js\nvar request = require('@coolaj86/urequest');\nrequest('http://www.google.com', function (error, response, body) {\n  console.log('error:', error); // Print the error if one occurred\n  console.log('statusCode:', response && response.statusCode); // Print the response status code if a response was received\n  console.log('body:', body); // Print the HTML for the Google homepage.\n});\n```\n\n## Table of contents\n\n- [Forms](#forms)\n- [HTTP Authentication](#http-authentication)\n- [Custom HTTP Headers](#custom-http-headers)\n- [Unix Domain Sockets](#unix-domain-sockets)\n- [**All Available Options**](#requestoptions-callback)\n\n## Forms\n\n`urequest` supports `application/x-www-form-urlencoded` and `multipart/form-data` form uploads.\n<!-- For `multipart/related` refer to the `multipart` API. -->\n\n#### application/x-www-form-urlencoded (URL-Encoded Forms)\n\nURL-encoded forms are simple.\n\n```js\nrequest.post('http://service.com/upload', {form:{key:'value'}})\n// or\nrequest.post({url:'http://service.com/upload', form: {key:'value'}}, function(err,httpResponse,body){ /* ... */ })\n```\n<!--\n// or\nrequest.post('http://service.com/upload').form({key:'value'})\n-->\n\n\n#### multipart/form-data (Multipart Form Uploads)\n\nFor `multipart/form-data` we use the [form-data](https://github.com/form-data/form-data) library by [@felixge](https://github.com/felixge). For the most cases, you can pass your upload form data via the `formData` option.\n\nTo use `form-data`, you must install it separately:\n\n```bash\nnpm install --save form-data@2\n```\n\n```js\nvar formData = {\n  // Pass a simple key-value pair\n  my_field: 'my_value',\n  // Pass data via Buffers\n  my_buffer: Buffer.from([1, 2, 3]),\n  // Pass data via Streams\n  my_file: fs.createReadStream(__dirname + '/unicycle.jpg'),\n  // Pass multiple values /w an Array\n  attachments: [\n    fs.createReadStream(__dirname + '/attachment1.jpg'),\n    fs.createReadStream(__dirname + '/attachment2.jpg')\n  ],\n  // Pass optional meta-data with an 'options' object with style: {value: DATA, options: OPTIONS}\n  // Use case: for some types of streams, you'll need to provide \"file\"-related information manually.\n  // See the `form-data` README for more information about options: https://github.com/form-data/form-data\n  custom_file: {\n    value:  fs.createReadStream('/dev/urandom'),\n    options: {\n      filename: 'topsecret.jpg',\n      contentType: 'image/jpeg'\n    }\n  }\n};\nrequest.post({url:'http://service.com/upload', formData: formData}, function optionalCallback(err, httpResponse, body) {\n  if (err) {\n    return console.error('upload failed:', err);\n  }\n  console.log('Upload successful!  Server responded with:', body);\n});\n```\n<!--\n\nFor advanced cases, you can access the form-data object itself via `r.form()`. This can be modified until the request is fired on the next cycle of the event-loop. (Note that this calling `form()` will clear the currently set form data for that request.)\n\n```js\n// NOTE: Advanced use-case, for normal use see 'formData' usage above\nvar r = request.post('http://service.com/upload', function optionalCallback(err, httpResponse, body) {...})\nvar form = r.form();\nform.append('my_field', 'my_value');\nform.append('my_buffer', Buffer.from([1, 2, 3]));\nform.append('custom_file', fs.createReadStream(__dirname + '/unicycle.jpg'), {filename: 'unicycle.jpg'});\n```\n-->\n\nSee the [form-data README](https://github.com/form-data/form-data) for more information & examples.\n\n---\n\n## HTTP Authentication\n\n<!--\nrequest.get('http://some.server.com/').auth('username', 'password', false);\n// or\nrequest.get('http://some.server.com/').auth(null, null, true, 'bearerToken');\n// or\n-->\n```js\nrequest.get('http://some.server.com/', {\n  'auth': {\n    'user': 'username',\n    'pass': 'password',\n    'sendImmediately': false\n  }\n});\n// or\nrequest.get('http://some.server.com/', {\n  'auth': {\n    'bearer': 'bearerToken'\n  }\n});\n```\n\nIf passed as an option, `auth` should be a hash containing values:\n\n- `user` || `username`\n- `pass` || `password`\n- `bearer` (optional)\n\n<!--\n- `sendImmediately` (optional)\n\nThe method form takes parameters\n`auth(username, password, sendImmediately, bearer)`.\n\n`sendImmediately` defaults to `true`, which causes a basic or bearer\nauthentication header to be sent. If `sendImmediately` is `false`, then\n`request` will retry with a proper authentication header after receiving a\n`401` response from the server (which must contain a `WWW-Authenticate` header\nindicating the required authentication method).\n-->\n\nNote that you can also specify basic authentication using the URL itself, as\ndetailed in [RFC 1738](http://www.ietf.org/rfc/rfc1738.txt). Simply pass the\n`user:password` before the host with an `@` sign:\n\n```js\nvar username = 'username',\n    password = 'password',\n    url = 'http://' + username + ':' + password + '@some.server.com';\n\nrequest({url: url}, function (error, response, body) {\n   // Do more stuff with 'body' here\n});\n```\n\n<!--\nDigest authentication is supported, but it only works with `sendImmediately`\nset to `false`; otherwise `request` will send basic authentication on the\ninitial request, which will probably cause the request to fail.\n-->\n\nBearer authentication is supported, and is activated when the `bearer` value is\navailable. The value may be either a `String` or a `Function` returning a\n`String`. Using a function to supply the bearer token is particularly useful if\nused in conjunction with `defaults` to allow a single function to supply the\nlast known token at the time of sending a request, or to compute one on the fly.\n\n[back to top](#table-of-contents)\n\n---\n\n## Custom HTTP Headers\n\nHTTP Headers, such as `User-Agent`, can be set in the `options` object.\nIn the example below, we call the github API to find out the number\nof stars and forks for the request repository. This requires a\ncustom `User-Agent` header as well as https.\n\n```js\nvar request = require('request');\n\nvar options = {\n  url: 'https://api.github.com/repos/request/request',\n  headers: {\n    'User-Agent': 'request'\n  }\n};\n\nfunction callback(error, response, body) {\n  if (!error && response.statusCode == 200) {\n    var info = JSON.parse(body);\n    console.log(info.stargazers_count + \" Stars\");\n    console.log(info.forks_count + \" Forks\");\n  }\n}\n\nrequest(options, callback);\n```\n\n[back to top](#table-of-contents)\n\n---\n\n## UNIX Domain Sockets\n\n`urequest` supports making requests to [UNIX Domain Sockets](https://en.wikipedia.org/wiki/Unix_domain_socket). To make one, use the following URL scheme:\n\n```js\n/* Pattern */ 'http://unix:SOCKET:PATH'\n/* Example */ request.get('http://unix:/absolute/path/to/unix.socket:/request/path')\n```\n\nNote: The `SOCKET` path is assumed to be absolute to the root of the host file system.\n\n[back to top](#table-of-contents)\n\n---\n\n## request(options, callback)\n\nThe first argument can be either a `url` or an `options` object. The only required option is `uri`; all others are optional.\n\n- `uri` || `url` - fully qualified uri or a parsed url object from `url.parse()`\n- `method` - http method (default: `\"GET\"`)\n- `headers` - http headers (default: `{}`)\n\n<!-- TODO\n- `baseUrl` - fully qualified uri string used as the base url. Most useful with `request.defaults`, for example when you want to do many requests to the same domain. If `baseUrl` is `https://example.com/api/`, then requesting `/end/point?test=true` will fetch `https://example.com/api/end/point?test=true`. When `baseUrl` is given, `uri` must also be a string.\n-->\n\n---\n\n- `body` - entity body for PATCH, POST and PUT requests. Must be a `Buffer`, `String` or `ReadStream`. If `json` is `true`, then `body` must be a JSON-serializable object.\n- `json` - sets `body` to JSON representation of value and adds `Content-type: application/json` header. Additionally, parses the response body as JSON.\n\n<!-- TODO\n- `form` - when passed an object or a querystring, this sets `body` to a querystring representation of value, and adds `Content-type: application/x-www-form-urlencoded` header. When passed no options, a `FormData` instance is returned (and is piped to request). See \"Forms\" section above.\n- `formData` - data to pass for a `multipart/form-data` request. See\n  [Forms](#forms) section above.\n- `multipart` - array of objects which contain their own headers and `body`\n  attributes. Sends a `multipart/related` request. See [Forms](#forms) section\n  above.\n  - Alternatively you can pass in an object `{chunked: false, data: []}` where\n    `chunked` is used to specify whether the request is sent in\n    [chunked transfer encoding](https://en.wikipedia.org/wiki/Chunked_transfer_encoding)\n    In non-chunked requests, data items with body streams are not allowed.\n- `preambleCRLF` - append a newline/CRLF before the boundary of your `multipart/form-data` request.\n- `postambleCRLF` - append a newline/CRLF at the end of the boundary of your `multipart/form-data` request.\n- `jsonReviver` - a [reviver function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse) that will be passed to `JSON.parse()` when parsing a JSON response body.\n- `jsonReplacer` - a [replacer function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify) that will be passed to `JSON.stringify()` when stringifying a JSON request body.\n-->\n\n---\n\n- `followRedirect` - follow HTTP 3xx responses as redirects (default: `true`). This property can also be implemented as function which gets `response` object as a single argument and should return `true` if redirects should continue or `false` otherwise.\n- `followAllRedirects` - follow non-GET HTTP 3xx responses as redirects (default: `false`)\n- `followOriginalHttpMethod` - by default we redirect to HTTP method GET. you can enable this property to redirect to the original HTTP method (default: `false`)\n- `maxRedirects` - the maximum number of redirects to follow (default: `10`)\n- `removeRefererHeader` - removes the referer header when a redirect happens (default: `false`). **Note:** if true, referer header set in the initial request is preserved during redirect chain.\n\n---\n\n- `encoding` - encoding to be used on `setEncoding` of response data. If `null`, the `body` is returned as a `Buffer`. Anything else **(including the default value of `undefined`)** will be passed as the [encoding](http://nodejs.org/api/buffer.html#buffer_buffer) parameter to `toString()` (meaning this is effectively `utf8` by default). (**Note:** if you expect binary data, you should set `encoding: null`.)\n\n<!-- TODO\n- `gzip` - if `true`, add an `Accept-Encoding` header to request compressed content encodings from the server (if not already present) and decode supported content encodings in the response. **Note:** Automatic decoding of the response content is performed on the body data returned through `request` (both through the `request` stream and passed to the callback function) but is not performed on the `response` stream (available from the `response` event) which is the unmodified `http.IncomingMessage` object which may contain compressed data. See example below.\n- `jar` - if `true`, remember cookies for future use (or define your custom cookie jar; see examples section)\n-->\n\n---\n\n## Convenience methods\n\nThere are also shorthand methods for different HTTP METHODs and some other conveniences.\n\n### request.defaults(options)\n\nThis method **returns a wrapper** around the normal request API that defaults\nto whatever options you pass to it.\n\n**Note:** `request.defaults()` **does not** modify the global request API;\ninstead, it **returns a wrapper** that has your default settings applied to it.\n\n**Note:** You can call `.defaults()` on the wrapper that is returned from\n`request.defaults` to add/override defaults that were previously defaulted.\n\nFor example:\n```js\n//requests using baseRequest() will set the 'x-token' header\nvar baseRequest = request.defaults({\n  headers: {'x-token': 'my-token'}\n})\n\n//requests using specialRequest() will include the 'x-token' header set in\n//baseRequest and will also include the 'special' header\nvar specialRequest = baseRequest.defaults({\n  headers: {special: 'special value'}\n})\n```\n\n### request.METHOD()\n\nThese HTTP method convenience functions act just like `request()` but with a default method already set for you:\n\n- *request.get()*: Defaults to `method: \"GET\"`.\n- *request.post()*: Defaults to `method: \"POST\"`.\n- *request.put()*: Defaults to `method: \"PUT\"`.\n- *request.patch()*: Defaults to `method: \"PATCH\"`.\n- *request.del() / request.delete()*: Defaults to `method: \"DELETE\"`.\n- *request.head()*: Defaults to `method: \"HEAD\"`.\n- *request.options()*: Defaults to `method: \"OPTIONS\"`.\n\n---\n\n## Debugging\n\nThere are at least <!--three--> two ways to debug the operation of `request`:\n\n1. Launch the node process like `NODE_DEBUG=urequest node script.js`\n   (`lib,request,otherlib` works too).\n\n2. Set `require('@coolaj86/urequest').debug = true` at any time (this does the same thing\n   as #1).\n\n<!-- TODO\n3. Use the [request-debug module](https://github.com/request/request-debug) to\n   view request and response headers and bodies.\n\n[back to top](#table-of-contents)\n-->\n\n[back to top](#table-of-contents)\n","_attachments":{},"license":"(MIT OR Apache-2.0)"}