From fc92c66be871e4822cb90771998f35974486ab29 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 18 Jun 2018 20:00:19 -0600 Subject: [PATCH] urequest => @coolaj86/urequest (someone just claimed it over the weekend) --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a52acc5..d8754c0 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,12 @@ Written from scratch. µRequest is designed to be a drop-in replacement for request. It supports HTTPS and follows redirects by default. +```bash +npm install @coolaj86/urequest +``` + ```js -var request = require('urequest'); +var request = require('@coolaj86/urequest'); request('http://www.google.com', function (error, response, body) { console.log('error:', error); // Print the error if one occurred console.log('statusCode:', response && response.statusCode); // Print the response status code if a response was received @@ -117,7 +121,7 @@ There are at least two ways to debug the operation of `request`: 1. Launch the node process like `NODE_DEBUG=urequest node script.js` (`lib,request,otherlib` works too). -2. Set `require('urequest').debug = true` at any time (this does the same thing +2. Set `require('@coolaj86/urequest').debug = true` at any time (this does the same thing as #1).