{
  "name": "follow-redirects",
  "version": "0.0.3",
  "description": "HTTP and HTTPS modules that follow redirects.",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "repository": {
    "type": "git",
    "url": "git@github.com:olalonde/follow-redirects.git"
  },
  "homepage": "",
  "keywords": [
    "http",
    "https",
    "url",
    "redirect",
    "client",
    "location",
    "utility"
  ],
  "author": {
    "name": "Olivier Lalonde",
    "email": "olalonde@gmail.com",
    "url": "http://www.syskall.com"
  },
  "dependencies": {
    "underscore": ""
  },
  "devDependencies": {
    "colors": ""
  },
  "license": "BSD",
  "readme": "`follow-redirects` extends http and https with the ability to follow\nHTTP redirects painlessly. It does not modify the native modules but\ninstead offers its own http/https modules which inherit from the native\nmodules. If you want to automatically follow redirects, all you need to\ndo is replace: \n\n```javascript\nvar http = require('http');\n```\n\nby\n\n```javascript\nvar http = require('follow-redirects').http;\n```\n\n# Install\n\n    npm install follow-redirects\n\n# Usage\n\n```javascript\n\nvar http = require('follow-redirects').http;\nvar https = require('follow-redirects').https;\n\n/* \n * http and https are just like Node.js' http and https modules except \n * that they follow redirects seamlessly. \n */\n\nhttp.get('http://bit.ly/900913', function (res) {\n  res.on('data', function (chunk) {\n    console.log(chunk);\n  });\n}).on('error', function (err) {\n  console.error(err);\n});\n\n/*\n * You can optionnally pass the maxRedirect option which defaults to 5\n */\n\nhttps.request({\n  host: 'bitly.com',\n  path: '/UHfDGO',\n  maxRedirects: 3\n}, function (res) {\n  res.on('data', function (chunk) {\n    console.log(chunk);\n  });\n}).on('error', function (err) {\n  console.error(err);\n});\n\n```\n",
  "readmeFilename": "README.md",
  "bugs": {
    "url": "https://github.com/olalonde/follow-redirects/issues"
  },
  "_id": "follow-redirects@0.0.3",
  "dist": {
    "shasum": "549c2a670a96553d2b7c24124deb9c910fd58d02"
  },
  "_from": "follow-redirects@0.0.3",
  "_resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-0.0.3.tgz"
}
