Debian Codegraph @

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

raw
1 {
2 "_id": "parseurl",
3 "_rev": "56-c89f6040711784eea001cbf53de41d7f",
4 "name": "parseurl",
5 "description": "parse a url with memoization",
6 "dist-tags": {
7 "latest": "1.3.3"
8 },
9 "versions": {
10 "1.0.0": {
11 "name": "parseurl",
12 "description": "parse a url with memoization",
13 "version": "1.0.0",
14 "author": {
15 "name": "Jonathan Ong",
16 "email": "[email protected]",
17 "url": "http://jongleberry.com"
18 },
19 "repository": {
20 "type": "git",
21 "url": "https://github.com/expressjs/parseurl.git"
22 },
23 "bugs": {
24 "url": "https://github.com/expressjs/parseurl/issues",
25 "email": "[email protected]"
26 },
27 "license": "MIT",
28 "homepage": "https://github.com/expressjs/parseurl",
29 "_id": "[email protected]",
30 "dist": {
31 "shasum": "060280cfeecd8788fec6459ca0cc5df218477fe4",
32 "tarball": "https://registry.npmjs.org/parseurl/-/parseurl-1.0.0.tgz"
33 },
34 "_from": ".",
35 "_npmVersion": "1.4.4",
36 "_npmUser": {
37 "name": "jongleberry",
38 "email": "[email protected]"
39 },
40 "maintainers": [
41 {
42 "name": "jongleberry",
43 "email": "[email protected]"
44 }
45 ],
46 "directories": {}
47 },
48 "1.0.1": {
49 "name": "parseurl",
50 "description": "parse a url with memoization",
51 "version": "1.0.1",
52 "author": {
53 "name": "Jonathan Ong",
54 "email": "[email protected]",
55 "url": "http://jongleberry.com"
56 },
57 "repository": {
58 "type": "git",
59 "url": "https://github.com/expressjs/parseurl.git"
60 },
61 "bugs": {
62 "url": "https://github.com/expressjs/parseurl/issues",
63 "email": "[email protected]"
64 },
65 "license": "MIT",
66 "homepage": "https://github.com/expressjs/parseurl",
67 "_id": "[email protected]",
68 "dist": {
69 "shasum": "2e57dce6efdd37c3518701030944c22bf388b7b4",
70 "tarball": "https://registry.npmjs.org/parseurl/-/parseurl-1.0.1.tgz"
71 },
72 "_from": ".",
73 "_npmVersion": "1.4.4",
74 "_npmUser": {
75 "name": "jongleberry",
76 "email": "[email protected]"
77 },
78 "maintainers": [
79 {
80 "name": "jongleberry",
81 "email": "[email protected]"
82 }
83 ],
84 "directories": {}
85 },
86 "1.1.0": {
87 "name": "parseurl",
88 "description": "parse a url with memoization",
89 "version": "1.1.0",
90 "author": {
91 "name": "Jonathan Ong",
92 "email": "[email protected]",
93 "url": "http://jongleberry.com"
94 },
95 "repository": {
96 "type": "git",
97 "url": "https://github.com/expressjs/parseurl.git"
98 },
99 "bugs": {
100 "url": "https://github.com/expressjs/parseurl/issues",
101 "email": "[email protected]"
102 },
103 "license": "MIT",
104 "homepage": "https://github.com/expressjs/parseurl",
105 "_id": "[email protected]",
106 "dist": {
107 "shasum": "b389c827d9426b4d8698ef45eaf14f1b63596371",
108 "tarball": "https://registry.npmjs.org/parseurl/-/parseurl-1.1.0.tgz"
109 },
110 "_from": ".",
111 "_npmVersion": "1.4.3",
112 "_npmUser": {
113 "name": "dougwilson",
114 "email": "[email protected]"
115 },
116 "maintainers": [
117 {
118 "name": "jongleberry",
119 "email": "[email protected]"
120 },
121 {
122 "name": "shtylman",
123 "email": "[email protected]"
124 },
125 {
126 "name": "dougwilson",
127 "email": "[email protected]"
128 },
129 {
130 "name": "tjholowaychuk",
131 "email": "[email protected]"
132 },
133 {
134 "name": "mscdex",
135 "email": "[email protected]"
136 },
137 {
138 "name": "fishrock123",
139 "email": "[email protected]"
140 }
141 ],
142 "directories": {}
143 },
144 "1.1.1": {
145 "name": "parseurl",
146 "description": "parse a url with memoization",
147 "version": "1.1.1",
148 "author": {
149 "name": "Jonathan Ong",
150 "email": "[email protected]",
151 "url": "http://jongleberry.com"
152 },
153 "repository": {
154 "type": "git",
155 "url": "https://github.com/expressjs/parseurl.git"
156 },
157 "bugs": {
158 "url": "https://github.com/expressjs/parseurl/issues",
159 "email": "[email protected]"
160 },
161 "license": "MIT",
162 "homepage": "https://github.com/expressjs/parseurl",
163 "_id": "[email protected]",
164 "dist": {
165 "shasum": "3b8fdb423aeb18c997dcdf9ac9ecd7f037b3500a",
166 "tarball": "https://registry.npmjs.org/parseurl/-/parseurl-1.1.1.tgz"
167 },
168 "_from": ".",
169 "_npmVersion": "1.4.3",
170 "_npmUser": {
171 "name": "dougwilson",
172 "email": "[email protected]"
173 },
174 "maintainers": [
175 {
176 "name": "jongleberry",
177 "email": "[email protected]"
178 },
179 {
180 "name": "shtylman",
181 "email": "[email protected]"
182 },
183 {
184 "name": "dougwilson",
185 "email": "[email protected]"
186 },
187 {
188 "name": "tjholowaychuk",
189 "email": "[email protected]"
190 },
191 {
192 "name": "mscdex",
193 "email": "[email protected]"
194 },
195 {
196 "name": "fishrock123",
197 "email": "[email protected]"
198 }
199 ],
200 "directories": {}
201 },
202 "1.1.2": {
203 "name": "parseurl",
204 "description": "parse a url with memoization",
205 "version": "1.1.2",
206 "author": {
207 "name": "Jonathan Ong",
208 "email": "[email protected]",
209 "url": "http://jongleberry.com"
210 },
211 "repository": {
212 "type": "git",
213 "url": "https://github.com/expressjs/parseurl.git"
214 },
215 "bugs": {
216 "url": "https://github.com/expressjs/parseurl/issues",
217 "email": "[email protected]"
218 },
219 "license": "MIT",
220 "homepage": "https://github.com/expressjs/parseurl",
221 "_id": "[email protected]",
222 "dist": {
223 "shasum": "d3294c91119d19885e586fcc871b90d2006eb006",
224 "tarball": "https://registry.npmjs.org/parseurl/-/parseurl-1.1.2.tgz"
225 },
226 "_from": ".",
227 "_npmVersion": "1.4.3",
228 "_npmUser": {
229 "name": "dougwilson",
230 "email": "[email protected]"
231 },
232 "maintainers": [
233 {
234 "name": "jongleberry",
235 "email": "[email protected]"
236 },
237 {
238 "name": "shtylman",
239 "email": "[email protected]"
240 },
241 {
242 "name": "dougwilson",
243 "email": "[email protected]"
244 },
245 {
246 "name": "tjholowaychuk",
247 "email": "[email protected]"
248 },
249 {
250 "name": "mscdex",
251 "email": "[email protected]"
252 },
253 {
254 "name": "fishrock123",
255 "email": "[email protected]"
256 }
257 ],
258 "directories": {}
259 },
260 "1.1.3": {
261 "name": "parseurl",
262 "description": "parse a url with memoization",
263 "version": "1.1.3",
264 "author": {
265 "name": "Jonathan Ong",
266 "email": "[email protected]",
267 "url": "http://jongleberry.com"
268 },
269 "repository": {
270 "type": "git",
271 "url": "https://github.com/expressjs/parseurl.git"
272 },
273 "bugs": {
274 "url": "https://github.com/expressjs/parseurl/issues",
275 "email": "[email protected]"
276 },
277 "license": "MIT",
278 "homepage": "https://github.com/expressjs/parseurl",
279 "_id": "[email protected]",
280 "dist": {
281 "shasum": "1f005738ac71b417bc2d0845cbdfa2a8b63ea639",
282 "tarball": "https://registry.npmjs.org/parseurl/-/parseurl-1.1.3.tgz"
283 },
284 "_from": ".",
285 "_npmVersion": "1.4.3",
286 "_npmUser": {
287 "name": "dougwilson",
288 "email": "[email protected]"
289 },
290 "maintainers": [
291 {
292 "name": "jongleberry",
293 "email": "[email protected]"
294 },
295 {
296 "name": "shtylman",
297 "email": "[email protected]"
298 },
299 {
300 "name": "dougwilson",
301 "email": "[email protected]"
302 },
303 {
304 "name": "tjholowaychuk",
305 "email": "[email protected]"
306 },
307 {
308 "name": "mscdex",
309 "email": "[email protected]"
310 },
311 {
312 "name": "fishrock123",
313 "email": "[email protected]"
314 }
315 ],
316 "directories": {}
317 },
318 "1.2.0": {
319 "name": "parseurl",
320 "description": "parse a url with memoization",
321 "version": "1.2.0",
322 "author": {
323 "name": "Jonathan Ong",
324 "email": "[email protected]",
325 "url": "http://jongleberry.com"
326 },
327 "contributors": [
328 {
329 "name": "Douglas Christopher Wilson",
330 "email": "[email protected]"
331 }
332 ],
333 "repository": {
334 "type": "git",
335 "url": "git://github.com/expressjs/parseurl"
336 },
337 "license": "MIT",
338 "devDependencies": {
339 "benchmark": "1.0.0",
340 "beautify-benchmark": "0.2.4",
341 "fast-url-parser": "~1.0.0",
342 "istanbul": "0.3.0",
343 "mocha": "~1.20.0"
344 },
345 "scripts": {
346 "bench": "node benchmark/index.js",
347 "test": "mocha --check-leaks --bail --reporter spec test/",
348 "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --check-leaks --reporter dot test/",
349 "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --check-leaks --reporter spec test/"
350 },
351 "bugs": {
352 "url": "https://github.com/expressjs/parseurl/issues"
353 },
354 "homepage": "https://github.com/expressjs/parseurl",
355 "_id": "[email protected]",
356 "dist": {
357 "shasum": "be7df2d698eb49ffb10ea62939693e152991c008",
358 "tarball": "https://registry.npmjs.org/parseurl/-/parseurl-1.2.0.tgz"
359 },
360 "_from": ".",
361 "_npmVersion": "1.4.3",
362 "_npmUser": {
363 "name": "dougwilson",
364 "email": "[email protected]"
365 },
366 "maintainers": [
367 {
368 "name": "jongleberry",
369 "email": "[email protected]"
370 },
371 {
372 "name": "shtylman",
373 "email": "[email protected]"
374 },
375 {
376 "name": "dougwilson",
377 "email": "[email protected]"
378 },
379 {
380 "name": "tjholowaychuk",
381 "email": "[email protected]"
382 },
383 {
384 "name": "mscdex",
385 "email": "[email protected]"
386 },
387 {
388 "name": "fishrock123",
389 "email": "[email protected]"
390 }
391 ],
392 "directories": {}
393 },
394 "1.3.0": {
395 "name": "parseurl",
396 "description": "parse a url with memoization",
397 "version": "1.3.0",
398 "author": {
399 "name": "Jonathan Ong",
400 "email": "[email protected]",
401 "url": "http://jongleberry.com"
402 },
403 "contributors": [
404 {
405 "name": "Douglas Christopher Wilson",
406 "email": "[email protected]"
407 }
408 ],
409 "repository": {
410 "type": "git",
411 "url": "https://github.com/expressjs/parseurl"
412 },
413 "license": "MIT",
414 "devDependencies": {
415 "benchmark": "1.0.0",
416 "beautify-benchmark": "0.2.4",
417 "fast-url-parser": "~1.0.0",
418 "istanbul": "0.3.0",
419 "mocha": "~1.21.4"
420 },
421 "scripts": {
422 "bench": "node benchmark/index.js",
423 "test": "mocha --check-leaks --bail --reporter spec test/",
424 "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --check-leaks --reporter dot test/",
425 "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --check-leaks --reporter spec test/"
426 },
427 "gitHead": "03b7ccca240e2bef5df6c25797e99175d28fb2cb",
428 "bugs": {
429 "url": "https://github.com/expressjs/parseurl/issues"
430 },
431 "homepage": "https://github.com/expressjs/parseurl",
432 "_id": "[email protected]",
433 "_shasum": "b58046db4223e145afa76009e61bac87cc2281b3",
434 "_from": ".",
435 "_npmVersion": "1.4.21",
436 "_npmUser": {
437 "name": "dougwilson",
438 "email": "[email protected]"
439 },
440 "maintainers": [
441 {
442 "name": "jongleberry",
443 "email": "[email protected]"
444 },
445 {
446 "name": "shtylman",
447 "email": "[email protected]"
448 },
449 {
450 "name": "dougwilson",
451 "email": "[email protected]"
452 },
453 {
454 "name": "tjholowaychuk",
455 "email": "[email protected]"
456 },
457 {
458 "name": "mscdex",
459 "email": "[email protected]"
460 },
461 {
462 "name": "fishrock123",
463 "email": "[email protected]"
464 }
465 ],
466 "dist": {
467 "shasum": "b58046db4223e145afa76009e61bac87cc2281b3",
468 "tarball": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.0.tgz"
469 },
470 "directories": {}
471 },
472 "1.3.1": {
473 "name": "parseurl",
474 "description": "parse a url with memoization",
475 "version": "1.3.1",
476 "author": {
477 "name": "Jonathan Ong",
478 "email": "[email protected]",
479 "url": "http://jongleberry.com"
480 },
481 "contributors": [
482 {
483 "name": "Douglas Christopher Wilson",
484 "email": "[email protected]"
485 }
486 ],
487 "repository": {
488 "type": "git",
489 "url": "https://github.com/pillarjs/parseurl"
490 },
491 "license": "MIT",
492 "devDependencies": {
493 "benchmark": "2.0.0",
494 "beautify-benchmark": "0.2.4",
495 "fast-url-parser": "1.1.3",
496 "istanbul": "0.4.2",
497 "mocha": "~1.21.5"
498 },
499 "files": [
500 "LICENSE",
501 "HISTORY.md",
502 "README.md",
503 "index.js"
504 ],
505 "engines": {
506 "node": ">= 0.8"
507 },
508 "scripts": {
509 "bench": "node benchmark/index.js",
510 "test": "mocha --check-leaks --bail --reporter spec test/",
511 "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --check-leaks --reporter dot test/",
512 "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --check-leaks --reporter spec test/"
513 },
514 "gitHead": "6d22d376d75b927ab2b5347ce3a1d6735133dd43",
515 "bugs": {
516 "url": "https://github.com/pillarjs/parseurl/issues"
517 },
518 "homepage": "https://github.com/pillarjs/parseurl",
519 "_id": "[email protected]",
520 "_shasum": "c8ab8c9223ba34888aa64a297b28853bec18da56",
521 "_from": ".",
522 "_npmVersion": "1.4.28",
523 "_npmUser": {
524 "name": "dougwilson",
525 "email": "[email protected]"
526 },
527 "maintainers": [
528 {
529 "name": "jongleberry",
530 "email": "[email protected]"
531 },
532 {
533 "name": "dougwilson",
534 "email": "[email protected]"
535 },
536 {
537 "name": "tjholowaychuk",
538 "email": "[email protected]"
539 },
540 {
541 "name": "mscdex",
542 "email": "[email protected]"
543 },
544 {
545 "name": "fishrock123",
546 "email": "[email protected]"
547 },
548 {
549 "name": "defunctzombie",
550 "email": "[email protected]"
551 }
552 ],
553 "dist": {
554 "shasum": "c8ab8c9223ba34888aa64a297b28853bec18da56",
555 "tarball": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.1.tgz"
556 },
557 "directories": {}
558 },
559 "1.3.2": {
560 "name": "parseurl",
561 "description": "parse a url with memoization",
562 "version": "1.3.2",
563 "contributors": [
564 {
565 "name": "Douglas Christopher Wilson",
566 "email": "[email protected]"
567 },
568 {
569 "name": "Jonathan Ong",
570 "email": "[email protected]",
571 "url": "http://jongleberry.com"
572 }
573 ],
574 "repository": {
575 "type": "git",
576 "url": "git+https://github.com/pillarjs/parseurl.git"
577 },
578 "license": "MIT",
579 "devDependencies": {
580 "beautify-benchmark": "0.2.4",
581 "benchmark": "2.1.4",
582 "eslint": "3.19.0",
583 "eslint-config-standard": "10.2.1",
584 "eslint-plugin-import": "2.7.0",
585 "eslint-plugin-node": "5.1.1",
586 "eslint-plugin-promise": "3.5.0",
587 "eslint-plugin-standard": "3.0.1",
588 "fast-url-parser": "1.1.3",
589 "istanbul": "0.4.5",
590 "mocha": "2.5.3"
591 },
592 "files": [
593 "LICENSE",
594 "HISTORY.md",
595 "README.md",
596 "index.js"
597 ],
598 "engines": {
599 "node": ">= 0.8"
600 },
601 "scripts": {
602 "bench": "node benchmark/index.js",
603 "lint": "eslint .",
604 "test": "mocha --check-leaks --bail --reporter spec test/",
605 "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --check-leaks --reporter dot test/",
606 "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --check-leaks --reporter spec test/"
607 },
608 "gitHead": "0022a009d0973a44ae3849e83112ea4d12ad5b49",
609 "bugs": {
610 "url": "https://github.com/pillarjs/parseurl/issues"
611 },
612 "homepage": "https://github.com/pillarjs/parseurl#readme",
613 "_id": "[email protected]",
614 "_shasum": "fc289d4ed8993119460c156253262cdc8de65bf3",
615 "_from": ".",
616 "_npmVersion": "3.10.10",
617 "_nodeVersion": "6.11.1",
618 "_npmUser": {
619 "name": "dougwilson",
620 "email": "[email protected]"
621 },
622 "dist": {
623 "shasum": "fc289d4ed8993119460c156253262cdc8de65bf3",
624 "tarball": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.2.tgz"
625 },
626 "maintainers": [
627 {
628 "email": "[email protected]",
629 "name": "dougwilson"
630 }
631 ],
632 "_npmOperationalInternal": {
633 "host": "s3://npm-registry-packages",
634 "tmp": "tmp/parseurl-1.3.2.tgz_1504992079883_0.05658079497516155"
635 },
636 "directories": {}
637 },
638 "1.3.3": {
639 "name": "parseurl",
640 "description": "parse a url with memoization",
641 "version": "1.3.3",
642 "contributors": [
643 {
644 "name": "Douglas Christopher Wilson",
645 "email": "[email protected]"
646 },
647 {
648 "name": "Jonathan Ong",
649 "email": "[email protected]",
650 "url": "http://jongleberry.com"
651 }
652 ],
653 "repository": {
654 "type": "git",
655 "url": "git+https://github.com/pillarjs/parseurl.git"
656 },
657 "license": "MIT",
658 "devDependencies": {
659 "beautify-benchmark": "0.2.4",
660 "benchmark": "2.1.4",
661 "eslint": "5.16.0",
662 "eslint-config-standard": "12.0.0",
663 "eslint-plugin-import": "2.17.1",
664 "eslint-plugin-node": "7.0.1",
665 "eslint-plugin-promise": "4.1.1",
666 "eslint-plugin-standard": "4.0.0",
667 "fast-url-parser": "1.1.3",
668 "istanbul": "0.4.5",
669 "mocha": "6.1.3"
670 },
671 "engines": {
672 "node": ">= 0.8"
673 },
674 "scripts": {
675 "bench": "node benchmark/index.js",
676 "lint": "eslint .",
677 "test": "mocha --check-leaks --bail --reporter spec test/",
678 "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --check-leaks --reporter dot test/",
679 "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --check-leaks --reporter spec test/"
680 },
681 "gitHead": "0a5323370b02f4eff4069472d1e96a0094aef621",
682 "bugs": {
683 "url": "https://github.com/pillarjs/parseurl/issues"
684 },
685 "homepage": "https://github.com/pillarjs/parseurl#readme",
686 "_id": "[email protected]",
687 "_npmVersion": "6.4.1",
688 "_nodeVersion": "8.15.1",
689 "_npmUser": {
690 "name": "dougwilson",
691 "email": "[email protected]"
692 },
693 "dist": {
694 "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==",
695 "shasum": "9da19e7bee8d12dff0513ed5b76957793bc2e8d4",
696 "tarball": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
697 "fileCount": 5,
698 "unpackedSize": 10299,
699 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJctVcbCRA9TVsSAnZWagAAUsoQAItlF92ss4WrI6lZGFUQ\n94+a7wb5I/oCJxcya6zpvv9F0TjfE2Gv/wdM5wTah83LqQ/FQbKiOKlarWAy\nUFC9i3oFqNCNf9Q4JoiUvFgFpA8K3VdjFL2FG5kXtxSPBEJ7DQ2LiFtp0316\nRJ7BFr6ICgWHl/IA8K0OvLmx4X8/nlbF0Gjuvzdv4dWFkkxWGDNaath51wRt\nKnp32YsQxzQPZJaDFpfOOfweIL4M1Xw3Mzm9T3C7IEdDIH1VeLis41IwVMx6\naCMDeTe9p29yl+uvf6JIBq7gYS1jSmfUgstTU34fu1bgaqavgs5wbv73ECEQ\nYWpS/27rVa/wjAfzIEyahL8Tgw7i3ZuwGaHVApOdackwGY3GZXLufRw5aZt+\n1e20FvF6iap14ONf6fDavmBgla6L5zQfsKPP1uynoPYiPAwLnDGyfK63WNQ4\nuE3CTFJwq8vKZ5byW2g8LrAE1+rDzy2FUWDkLc6sGTz0Nyk+ixM0i8qlA5/Q\nj8qzolmkHixA8UQkgMuCD1pbfDvrj8mrHicZkJLtc8z4mHvZKgAFClTfhcx9\n6LuUqhpkK1LD5kc4HImtYlwZ2NbLSc0QSthgCzxL429GWoxsPl6HnDfStZqR\n6UeYTkoLWR2K9tvhykwPHhCt/cTSpuWnlnDqovHap4ogM/HvLqcKkaomOdVa\nuzpW\r\n=CkLQ\r\n-----END PGP SIGNATURE-----\r\n"
700 },
701 "maintainers": [
702 {
703 "email": "[email protected]",
704 "name": "dougwilson"
705 }
706 ],
707 "directories": {},
708 "_npmOperationalInternal": {
709 "host": "s3://npm-registry-packages",
710 "tmp": "tmp/parseurl_1.3.3_1555388186313_0.9689221694795169"
711 },
712 "_hasShrinkwrap": false
713 }
714 },
715 "readme": "# parseurl\n\n[![NPM Version][npm-version-image]][npm-url]\n[![NPM Downloads][npm-downloads-image]][npm-url]\n[![Node.js Version][node-image]][node-url]\n[![Build Status][travis-image]][travis-url]\n[![Test Coverage][coveralls-image]][coveralls-url]\n\nParse a URL with memoization.\n\n## Install\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 parseurl\n```\n\n## API\n\n```js\nvar parseurl = require('parseurl')\n```\n\n### parseurl(req)\n\nParse the URL of the given request object (looks at the `req.url` property)\nand return the result. The result is the same as `url.parse` in Node.js core.\nCalling this function multiple times on the same `req` where `req.url` does\nnot change will return a cached parsed object, rather than parsing again.\n\n### parseurl.original(req)\n\nParse the original URL of the given request object and return the result.\nThis works by trying to parse `req.originalUrl` if it is a string, otherwise\nparses `req.url`. The result is the same as `url.parse` in Node.js core.\nCalling this function multiple times on the same `req` where `req.originalUrl`\ndoes not change will return a cached parsed object, rather than parsing again.\n\n## Benchmark\n\n```bash\n$ npm run-script bench\n\n> [email protected] bench nodejs-parseurl\n> node benchmark/index.js\n\n [email protected]\n [email protected]\n [email protected]\n [email protected]\n [email protected]\n [email protected]\n modules@64\n [email protected]\n napi@3\n [email protected]\n [email protected]\n [email protected]\n [email protected]\n tz@2018c\n\n> node benchmark/fullurl.js\n\n Parsing URL \"http://localhost:8888/foo/bar?user=tj&pet=fluffy\"\n\n 4 tests completed.\n\n fasturl x 2,207,842 ops/sec ±3.76% (184 runs sampled)\n nativeurl - legacy x 507,180 ops/sec ±0.82% (191 runs sampled)\n nativeurl - whatwg x 290,044 ops/sec ±1.96% (189 runs sampled)\n parseurl x 488,907 ops/sec ±2.13% (192 runs sampled)\n\n> node benchmark/pathquery.js\n\n Parsing URL \"/foo/bar?user=tj&pet=fluffy\"\n\n 4 tests completed.\n\n fasturl x 3,812,564 ops/sec ±3.15% (188 runs sampled)\n nativeurl - legacy x 2,651,631 ops/sec ±1.68% (189 runs sampled)\n nativeurl - whatwg x 161,837 ops/sec ±2.26% (189 runs sampled)\n parseurl x 4,166,338 ops/sec ±2.23% (184 runs sampled)\n\n> node benchmark/samerequest.js\n\n Parsing URL \"/foo/bar?user=tj&pet=fluffy\" on same request object\n\n 4 tests completed.\n\n fasturl x 3,821,651 ops/sec ±2.42% (185 runs sampled)\n nativeurl - legacy x 2,651,162 ops/sec ±1.90% (187 runs sampled)\n nativeurl - whatwg x 175,166 ops/sec ±1.44% (188 runs sampled)\n parseurl x 14,912,606 ops/sec ±3.59% (183 runs sampled)\n\n> node benchmark/simplepath.js\n\n Parsing URL \"/foo/bar\"\n\n 4 tests completed.\n\n fasturl x 12,421,765 ops/sec ±2.04% (191 runs sampled)\n nativeurl - legacy x 7,546,036 ops/sec ±1.41% (188 runs sampled)\n nativeurl - whatwg x 198,843 ops/sec ±1.83% (189 runs sampled)\n parseurl x 24,244,006 ops/sec ±0.51% (194 runs sampled)\n\n> node benchmark/slash.js\n\n Parsing URL \"/\"\n\n 4 tests completed.\n\n fasturl x 17,159,456 ops/sec ±3.25% (188 runs sampled)\n nativeurl - legacy x 11,635,097 ops/sec ±3.79% (184 runs sampled)\n nativeurl - whatwg x 240,693 ops/sec ±0.83% (189 runs sampled)\n parseurl x 42,279,067 ops/sec ±0.55% (190 runs sampled)\n```\n\n## License\n\n [MIT](LICENSE)\n\n[coveralls-image]: https://badgen.net/coveralls/c/github/pillarjs/parseurl/master\n[coveralls-url]: https://coveralls.io/r/pillarjs/parseurl?branch=master\n[node-image]: https://badgen.net/npm/node/parseurl\n[node-url]: https://nodejs.org/en/download\n[npm-downloads-image]: https://badgen.net/npm/dm/parseurl\n[npm-url]: https://npmjs.org/package/parseurl\n[npm-version-image]: https://badgen.net/npm/v/parseurl\n[travis-image]: https://badgen.net/travis/pillarjs/parseurl/master\n[travis-url]: https://travis-ci.org/pillarjs/parseurl\n",
716 "maintainers": [
717 {
718 "email": "[email protected]",
719 "name": "dougwilson"
720 }
721 ],
722 "time": {
723 "modified": "2019-04-16T04:16:30.465Z",
724 "created": "2014-03-08T02:08:58.819Z",
725 "1.0.0": "2014-03-08T02:08:58.819Z",
726 "1.0.1": "2014-03-08T02:11:05.583Z",
727 "1.1.0": "2014-07-09T02:22:48.887Z",
728 "1.1.1": "2014-07-09T05:05:40.824Z",
729 "1.1.2": "2014-07-09T05:18:03.016Z",
730 "1.1.3": "2014-07-09T05:25:36.837Z",
731 "1.2.0": "2014-07-21T19:12:21.102Z",
732 "1.3.0": "2014-08-10T02:54:41.099Z",
733 "1.3.1": "2016-01-17T19:49:35.110Z",
734 "1.3.2": "2017-09-09T21:21:20.714Z",
735 "1.3.3": "2019-04-16T04:16:26.547Z"
736 },
737 "homepage": "https://github.com/pillarjs/parseurl#readme",
738 "repository": {
739 "type": "git",
740 "url": "git+https://github.com/pillarjs/parseurl.git"
741 },
742 "bugs": {
743 "url": "https://github.com/pillarjs/parseurl/issues"
744 },
745 "license": "MIT",
746 "readmeFilename": "README.md",
747 "contributors": [
748 {
749 "name": "Douglas Christopher Wilson",
750 "email": "[email protected]"
751 },
752 {
753 "name": "Jonathan Ong",
754 "email": "[email protected]",
755 "url": "http://jongleberry.com"
756 }
757 ],
758 "users": {
759 "goodseller": true,
760 "simplyianm": true,
761 "qqqppp9998": true,
762 "princetoad": true,
763 "pandao": true,
764 "aredridel": true,
765 "kankungyip": true,
766 "ramoslin02": true,
767 "wangnan0610": true,
768 "wkaifang": true,
769 "wangshijun": true,
770 "xu_q90": true,
771 "monjer": true,
772 "mojaray2k": true,
773 "hyokosdeveloper": true,
774 "giussa_dan": true,
775 "shuoshubao": true,
776 "justjavac": true,
777 "wxttxw125": true,
778 "eyson": true,
779 "raycharles": true,
780 "avivharuzi": true
781 }
782 }