{"_id":"forwarded","_rev":"10-d19a33102cf827b5759f4ba389145195","name":"forwarded","time":{"modified":"2017-04-22T09:18:21.717Z","created":"2014-08-19T08:43:29.230Z","0.0.0":"2014-08-19T08:43:29.230Z","0.1.0":"2014-09-21T19:23:28.870Z"},"maintainers":[{"name":"dougwilson","email":"doug@somethingdoug.com"}],"dist-tags":{"latest":"0.1.0"},"description":"Parse HTTP X-Forwarded-For header","readme":"# forwarded\n\n[![NPM Version][npm-image]][npm-url]\n[![NPM Downloads][downloads-image]][downloads-url]\n[![Node.js Version][node-version-image]][node-version-url]\n[![Build Status][travis-image]][travis-url]\n[![Test Coverage][coveralls-image]][coveralls-url]\n\nParse HTTP X-Forwarded-For header\n\n## Installation\n\n```sh\n$ npm install forwarded\n```\n\n## API\n\n```js\nvar forwarded = require('forwarded')\n```\n\n### forwarded(req)\n\n```js\nvar addresses = forwarded(req)\n```\n\nParse the `X-Forwarded-For` header from the request. Returns an array\nof the addresses, including the socket address for the `req`. In reverse\norder (i.e. index `0` is the socket address and the last index is the\nfurthest address, typically the end-user).\n\n## Testing\n\n```sh\n$ npm test\n```\n\n## License\n\n[MIT](LICENSE)\n\n[npm-image]: https://img.shields.io/npm/v/forwarded.svg?style=flat\n[npm-url]: https://npmjs.org/package/forwarded\n[node-version-image]: https://img.shields.io/node/v/forwarded.svg?style=flat\n[node-version-url]: http://nodejs.org/download/\n[travis-image]: https://img.shields.io/travis/jshttp/forwarded.svg?style=flat\n[travis-url]: https://travis-ci.org/jshttp/forwarded\n[coveralls-image]: https://img.shields.io/coveralls/jshttp/forwarded.svg?style=flat\n[coveralls-url]: https://coveralls.io/r/jshttp/forwarded?branch=master\n[downloads-image]: https://img.shields.io/npm/dm/forwarded.svg?style=flat\n[downloads-url]: https://npmjs.org/package/forwarded\n","versions":{"0.1.0":{"name":"forwarded","description":"Parse HTTP X-Forwarded-For header","version":"0.1.0","contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"}],"license":"MIT","keywords":["x-forwarded-for","http","req"],"repository":{"type":"git","url":"https://github.com/jshttp/forwarded"},"devDependencies":{"istanbul":"0.3.2","mocha":"~1.21.4"},"files":["LICENSE","HISTORY.md","README.md","index.js"],"engines":{"node":">= 0.6"},"scripts":{"test":"mocha --reporter spec --bail --check-leaks test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"},"gitHead":"e9a9faeb3cfaadf40eb57d144fff26bca9b818e8","bugs":{"url":"https://github.com/jshttp/forwarded/issues"},"homepage":"https://github.com/jshttp/forwarded","_id":"forwarded@0.1.0","_shasum":"19ef9874c4ae1c297bcf078fde63a09b66a84363","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"maintainers":[{"name":"dougwilson","email":"doug@somethingdoug.com"}],"dist":{"shasum":"19ef9874c4ae1c297bcf078fde63a09b66a84363","tarball":"https://registry.npmjs.org/forwarded/-/forwarded-0.1.0.tgz"},"directories":{}}},"homepage":"https://github.com/jshttp/forwarded","keywords":["x-forwarded-for","http","req"],"repository":{"type":"git","url":"https://github.com/jshttp/forwarded"},"contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"}],"bugs":{"url":"https://github.com/jshttp/forwarded/issues"},"license":"MIT","readmeFilename":"README.md","users":{"mojaray2k":true,"rocket0191":true},"_attachments":{},"_etag":"W/\"58fb1fdd-e26\"","_lastModified":"Sat, 22 Apr 2017 09:18:21 GMT","_cached":true}