Permalink
Browse files

Modified readme

  • Loading branch information...
1 parent eb24e12 commit 8c7f1ea2a300f821305981cb049ee09204d8f35c @olalonde committed Nov 15, 2012
Showing with 12 additions and 1 deletion.
  1. +12 −1 README.md
View
@@ -1,7 +1,18 @@
`follow-redirects` extends http and https with the ability to follow
HTTP redirects painlessly. It does not modify the native modules but
instead offers its own http/https modules which inherit from the native
-modules.
+modules. If you want to automatically follow redirects, all you need to
+do is replace:
+
+```javascript
+var http = require('http');
+```
+
+by
+
+```javascript
+var http = require('follow-redirects').http;
+```
# Install

0 comments on commit 8c7f1ea

Please sign in to comment.