{"_id":"7239","_rev":"5-413028b0316bf36539e7090c96b36a9f","name":"7239","description":"Parses Forwarded headers according to RFC 7239.","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"7239","version":"1.0.0","description":"Parses Forwarded headers according to RFC 7239.","keywords":["forwarded","proxy","middleware"],"homepage":"https://github.com/charmander/7239","bugs":{"url":"https://github.com/charmander/7239/issues"},"license":"ISC","files":["7239.js"],"main":"7239","repository":{"type":"git","url":"git+https://github.com/charmander/7239.git"},"scripts":{"test":"tap test"},"devDependencies":{"tap":"~1.4.1"},"gitHead":"0fb4f2924809aa2bd5206c31d7732a70b02413a1","_id":"7239@1.0.0","_shasum":"29d6c4648a1d0044aed4e2c9ad64d58c4055e45e","_from":".","_npmVersion":"2.14.3","_nodeVersion":"5.0.0-pre","_npmUser":{"name":"charmander","email":"~@charmander.me"},"dist":{"shasum":"29d6c4648a1d0044aed4e2c9ad64d58c4055e45e","tarball":"https://registry.npmjs.org/7239/-/7239-1.0.0.tgz","integrity":"sha512-Yfa6fE5hjTUJeqW56UB5CvnnbiR62w5iT0WqAw0T6XicncraZ6iKfoTfV4S+4Tl9qlkyuTuW0FTiKo8jm9Iecg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE3/VfMqb5nzt8+s32YSsEiJi8Cr9JM/OGzLnpWHMT9RAiAWJZDGKmwo220UA8Qd6VWPXQU08gm/MX+FpiX8rthS1g=="}]},"maintainers":[{"name":"charmander","email":"~@charmander.me"}]},"1.0.1":{"name":"7239","version":"1.0.1","description":"Parses Forwarded headers according to RFC 7239.","keywords":["forwarded","proxy","middleware"],"homepage":"https://github.com/charmander/7239","bugs":{"url":"https://github.com/charmander/7239/issues"},"license":"ISC","files":["7239.js"],"main":"7239","repository":{"type":"git","url":"git+https://github.com/charmander/7239.git"},"scripts":{"test":"tap test"},"devDependencies":{"tap":"~1.4.1"},"gitHead":"ed9633a8d513e3987214447f3410ed96b9a87e5d","_id":"7239@1.0.1","_shasum":"4896ab06949b21d5cc301528ddf3e29b043ce5aa","_from":".","_npmVersion":"2.14.3","_nodeVersion":"5.0.0-pre","_npmUser":{"name":"charmander","email":"~@charmander.me"},"dist":{"shasum":"4896ab06949b21d5cc301528ddf3e29b043ce5aa","tarball":"https://registry.npmjs.org/7239/-/7239-1.0.1.tgz","integrity":"sha512-FymbdKPXyp7R+OC02PR3y3M8mwFr9gQaDU9NNm2HWAAokENGWi++iZHE2532/gB6YKLS9mblIgzBkpLuUNzuiA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICu4KSrkhNT02Ak3EXCpYX3MTpbp2XRhr+U6ZW7oX1l6AiAhOeAKTVQmXGt3h0gwX/PztgWZALFwRXm0b7jdXIP1iQ=="}]},"maintainers":[{"name":"charmander","email":"~@charmander.me"}]},"1.0.2":{"name":"7239","version":"1.0.2","description":"Parses Forwarded headers according to RFC 7239.","keywords":["forwarded","proxy","middleware"],"homepage":"https://github.com/charmander/7239","bugs":{"url":"https://github.com/charmander/7239/issues"},"license":"ISC","files":["7239.js"],"main":"7239","repository":{"type":"git","url":"git+https://github.com/charmander/7239.git"},"scripts":{"test":"tap test"},"devDependencies":{"tap":"~1.4.1"},"gitHead":"2ee444aeea506b325527662321beb13d5b238c8d","_id":"7239@1.0.2","_shasum":"c4e28417801fb90018c1f8c091f731d4a8b906ed","_from":".","_npmVersion":"2.14.3","_nodeVersion":"5.0.0-pre","_npmUser":{"name":"charmander","email":"~@charmander.me"},"dist":{"shasum":"c4e28417801fb90018c1f8c091f731d4a8b906ed","tarball":"https://registry.npmjs.org/7239/-/7239-1.0.2.tgz","integrity":"sha512-CSrlvQTLGyNI9fLxE91zx7Oigkoqo8PyJvIi4Glngsxs4ztDQQVIUwiK6mWM/gxXie+LHi4XHR5vrzrEGK4tNQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZYzG+iQrMZ0K8+G3q901UfrH4kJOC9uGTV0eTw+LjAAIgN5adETduLYyIV3ZKY8dz2d+z1ABhP2sWEouCM1phyHY="}]},"maintainers":[{"name":"charmander","email":"~@charmander.me"}]}},"readme":"# 7239\n\n[![Build status][ci-image]][ci]\n\nA module to parse Forwarded headers according to [RFC 7239][].\n\n```javascript\nconst sttn = require('7239');\n\nsttn.parseForwardedHeader('for=203.0.113.72;proto=https')\n// [{ for: '203.0.113.72', proto: 'https', by: null, host: null }]\n\nsttn.parseForwardedHeader('for=[2001:db8::39]')\n// null\n\napp.use(sttn.middleware);\n```\n\nThe middleware is compatible with [Connect][] (and therefore Express).\nIt adds a `forwarded` property to the request, with the value of the last\nforwarded element or `{ for: null, proto: null, by: null, host: null }`\nif no such object exists or if the header is invalid.\n\n\n  [RFC 7239]: https://tools.ietf.org/html/rfc7239\n  [Connect]: https://github.com/senchalabs/connect\n\n  [ci]: https://travis-ci.org/charmander/7239\n  [ci-image]: https://api.travis-ci.org/charmander/7239.svg\n","maintainers":[{"name":"charmander","email":"~@charmander.me"}],"time":{"modified":"2022-06-12T14:08:29.928Z","created":"2015-09-14T06:27:59.904Z","1.0.0":"2015-09-14T06:27:59.904Z","1.0.1":"2015-09-14T17:34:43.657Z","1.0.2":"2015-09-15T16:32:20.141Z"},"homepage":"https://github.com/charmander/7239","keywords":["forwarded","proxy","middleware"],"repository":{"type":"git","url":"git+https://github.com/charmander/7239.git"},"bugs":{"url":"https://github.com/charmander/7239/issues"},"license":"ISC","readmeFilename":"README.md"}