Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/forwarded.json

raw
1 {
2 "_id": "forwarded",
3 "_rev": "12-36dd9543e195d9d55d3e1f82f3cc0fdf",
4 "name": "forwarded",
5 "time": {
6 "modified": "2017-09-15T02:17:54.232Z",
7 "created": "2014-08-19T08:43:29.230Z",
8 "0.0.0": "2014-08-19T08:43:29.230Z",
9 "0.1.0": "2014-09-21T19:23:28.870Z",
10 "0.1.1": "2017-09-10T23:15:48.834Z",
11 "0.1.2": "2017-09-15T02:17:54.232Z"
12 },
13 "maintainers": [
14 {
15 "name": "dougwilson",
16 "email": "[email protected]"
17 }
18 ],
19 "dist-tags": {
20 "latest": "0.1.2"
21 },
22 "description": "Parse HTTP X-Forwarded-For header",
23 "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\nThis is a [Node.js](https://nodejs.org/en/) module available through the\n[npm registry](https://www.npmjs.com/). Installation is done using the\n[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):\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\n[npm-url]: https://npmjs.org/package/forwarded\n[node-version-image]: https://img.shields.io/node/v/forwarded.svg\n[node-version-url]: https://nodejs.org/en/download/\n[travis-image]: https://img.shields.io/travis/jshttp/forwarded/master.svg\n[travis-url]: https://travis-ci.org/jshttp/forwarded\n[coveralls-image]: https://img.shields.io/coveralls/jshttp/forwarded/master.svg\n[coveralls-url]: https://coveralls.io/r/jshttp/forwarded?branch=master\n[downloads-image]: https://img.shields.io/npm/dm/forwarded.svg\n[downloads-url]: https://npmjs.org/package/forwarded\n",
24 "versions": {
25 "0.1.0": {
26 "name": "forwarded",
27 "description": "Parse HTTP X-Forwarded-For header",
28 "version": "0.1.0",
29 "contributors": [
30 {
31 "name": "Douglas Christopher Wilson",
32 "email": "[email protected]"
33 }
34 ],
35 "license": "MIT",
36 "keywords": [
37 "x-forwarded-for",
38 "http",
39 "req"
40 ],
41 "repository": {
42 "type": "git",
43 "url": "https://github.com/jshttp/forwarded"
44 },
45 "devDependencies": {
46 "istanbul": "0.3.2",
47 "mocha": "~1.21.4"
48 },
49 "files": [
50 "LICENSE",
51 "HISTORY.md",
52 "README.md",
53 "index.js"
54 ],
55 "engines": {
56 "node": ">= 0.6"
57 },
58 "scripts": {
59 "test": "mocha --reporter spec --bail --check-leaks test/",
60 "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
61 "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
62 },
63 "gitHead": "e9a9faeb3cfaadf40eb57d144fff26bca9b818e8",
64 "bugs": {
65 "url": "https://github.com/jshttp/forwarded/issues"
66 },
67 "homepage": "https://github.com/jshttp/forwarded",
68 "_id": "[email protected]",
69 "_shasum": "19ef9874c4ae1c297bcf078fde63a09b66a84363",
70 "_from": ".",
71 "_npmVersion": "1.4.21",
72 "_npmUser": {
73 "name": "dougwilson",
74 "email": "[email protected]"
75 },
76 "maintainers": [
77 {
78 "name": "dougwilson",
79 "email": "[email protected]"
80 }
81 ],
82 "dist": {
83 "shasum": "19ef9874c4ae1c297bcf078fde63a09b66a84363",
84 "tarball": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.0.tgz"
85 },
86 "directories": {}
87 },
88 "0.1.1": {
89 "name": "forwarded",
90 "description": "Parse HTTP X-Forwarded-For header",
91 "version": "0.1.1",
92 "contributors": [
93 {
94 "name": "Douglas Christopher Wilson",
95 "email": "[email protected]"
96 }
97 ],
98 "license": "MIT",
99 "keywords": [
100 "x-forwarded-for",
101 "http",
102 "req"
103 ],
104 "repository": {
105 "type": "git",
106 "url": "git+https://github.com/jshttp/forwarded.git"
107 },
108 "devDependencies": {
109 "eslint": "3.19.0",
110 "eslint-config-standard": "10.2.1",
111 "eslint-plugin-import": "2.7.0",
112 "eslint-plugin-node": "5.1.0",
113 "eslint-plugin-promise": "3.5.0",
114 "eslint-plugin-standard": "3.0.1",
115 "istanbul": "0.4.5",
116 "mocha": "1.21.5"
117 },
118 "files": [
119 "LICENSE",
120 "HISTORY.md",
121 "README.md",
122 "index.js"
123 ],
124 "engines": {
125 "node": ">= 0.6"
126 },
127 "scripts": {
128 "lint": "eslint .",
129 "test": "mocha --reporter spec --bail --check-leaks test/",
130 "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
131 "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
132 },
133 "gitHead": "45e46e2a56348b62ebe679e263550624e6a02d70",
134 "bugs": {
135 "url": "https://github.com/jshttp/forwarded/issues"
136 },
137 "homepage": "https://github.com/jshttp/forwarded#readme",
138 "_id": "[email protected]",
139 "_shasum": "8a4e30c640b05395399a3549c730257728048961",
140 "_from": ".",
141 "_npmVersion": "3.10.10",
142 "_nodeVersion": "6.11.1",
143 "_npmUser": {
144 "name": "dougwilson",
145 "email": "[email protected]"
146 },
147 "dist": {
148 "shasum": "8a4e30c640b05395399a3549c730257728048961",
149 "tarball": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.1.tgz"
150 },
151 "maintainers": [
152 {
153 "name": "dougwilson",
154 "email": "[email protected]"
155 }
156 ],
157 "_npmOperationalInternal": {
158 "host": "s3://npm-registry-packages",
159 "tmp": "tmp/forwarded-0.1.1.tgz_1505085347950_0.7802835658658296"
160 },
161 "directories": {}
162 },
163 "0.1.2": {
164 "name": "forwarded",
165 "description": "Parse HTTP X-Forwarded-For header",
166 "version": "0.1.2",
167 "contributors": [
168 {
169 "name": "Douglas Christopher Wilson",
170 "email": "[email protected]"
171 }
172 ],
173 "license": "MIT",
174 "keywords": [
175 "x-forwarded-for",
176 "http",
177 "req"
178 ],
179 "repository": {
180 "type": "git",
181 "url": "git+https://github.com/jshttp/forwarded.git"
182 },
183 "devDependencies": {
184 "beautify-benchmark": "0.2.4",
185 "benchmark": "2.1.4",
186 "eslint": "3.19.0",
187 "eslint-config-standard": "10.2.1",
188 "eslint-plugin-import": "2.7.0",
189 "eslint-plugin-node": "5.1.1",
190 "eslint-plugin-promise": "3.5.0",
191 "eslint-plugin-standard": "3.0.1",
192 "istanbul": "0.4.5",
193 "mocha": "1.21.5"
194 },
195 "files": [
196 "LICENSE",
197 "HISTORY.md",
198 "README.md",
199 "index.js"
200 ],
201 "engines": {
202 "node": ">= 0.6"
203 },
204 "scripts": {
205 "bench": "node benchmark/index.js",
206 "lint": "eslint .",
207 "test": "mocha --reporter spec --bail --check-leaks test/",
208 "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
209 "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
210 },
211 "gitHead": "2fc094b49781b62acb0e2b00f83abd641d604a7c",
212 "bugs": {
213 "url": "https://github.com/jshttp/forwarded/issues"
214 },
215 "homepage": "https://github.com/jshttp/forwarded#readme",
216 "_id": "[email protected]",
217 "_shasum": "98c23dab1175657b8c0573e8ceccd91b0ff18c84",
218 "_from": ".",
219 "_npmVersion": "3.10.10",
220 "_nodeVersion": "6.11.1",
221 "_npmUser": {
222 "name": "dougwilson",
223 "email": "[email protected]"
224 },
225 "dist": {
226 "shasum": "98c23dab1175657b8c0573e8ceccd91b0ff18c84",
227 "tarball": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz"
228 },
229 "maintainers": [
230 {
231 "name": "dougwilson",
232 "email": "[email protected]"
233 }
234 ],
235 "_npmOperationalInternal": {
236 "host": "s3://npm-registry-packages",
237 "tmp": "tmp/forwarded-0.1.2.tgz_1505441873168_0.0936233215034008"
238 },
239 "directories": {}
240 }
241 },
242 "homepage": "https://github.com/jshttp/forwarded#readme",
243 "keywords": [
244 "x-forwarded-for",
245 "http",
246 "req"
247 ],
248 "repository": {
249 "type": "git",
250 "url": "git+https://github.com/jshttp/forwarded.git"
251 },
252 "contributors": [
253 {
254 "name": "Douglas Christopher Wilson",
255 "email": "[email protected]"
256 }
257 ],
258 "bugs": {
259 "url": "https://github.com/jshttp/forwarded/issues"
260 },
261 "license": "MIT",
262 "readmeFilename": "README.md",
263 "users": {
264 "mojaray2k": true,
265 "rocket0191": true
266 },
267 "_attachments": {}
268 }