Debian Codegraph @

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

raw
1 {
2 "_id": "cookie",
3 "_rev": "124-13988ff040c44fb2aeb7c07178147dfd",
4 "name": "cookie",
5 "description": "HTTP server cookie parsing and serialization",
6 "dist-tags": {
7 "latest": "0.4.1"
8 },
9 "versions": {
10 "0.0.0": {
11 "author": {
12 "name": "Roman Shtylman",
13 "email": "[email protected]"
14 },
15 "name": "cookie",
16 "description": "cookie parsing and serialization",
17 "version": "0.0.0",
18 "repository": {
19 "type": "git",
20 "url": "git://github.com/shtylman/node-cookie.git"
21 },
22 "keywords": [
23 "cookie",
24 "cookies"
25 ],
26 "main": "index.js",
27 "scripts": {
28 "test": "mocha"
29 },
30 "dependencies": {},
31 "devDependencies": {
32 "mocha": "1.x.x"
33 },
34 "optionalDependencies": {},
35 "engines": {
36 "node": "*"
37 },
38 "_npmUser": {
39 "name": "shtylman",
40 "email": "[email protected]"
41 },
42 "_id": "[email protected]",
43 "_engineSupported": true,
44 "_npmVersion": "1.1.12",
45 "_nodeVersion": "v0.6.14",
46 "_defaultsLoaded": true,
47 "dist": {
48 "shasum": "a134b9c981df85c8a67b1620be5a36c0db1bdc63",
49 "tarball": "https://registry.npmjs.org/cookie/-/cookie-0.0.0.tgz"
50 },
51 "maintainers": [
52 {
53 "name": "shtylman",
54 "email": "[email protected]"
55 }
56 ],
57 "directories": {}
58 },
59 "0.0.1": {
60 "author": {
61 "name": "Roman Shtylman",
62 "email": "[email protected]"
63 },
64 "name": "cookie",
65 "description": "cookie parsing and serialization",
66 "version": "0.0.1",
67 "repository": {
68 "type": "git",
69 "url": "git://github.com/shtylman/node-cookie.git"
70 },
71 "keywords": [
72 "cookie",
73 "cookies"
74 ],
75 "main": "index.js",
76 "scripts": {
77 "test": "mocha"
78 },
79 "dependencies": {},
80 "devDependencies": {
81 "mocha": "1.x.x"
82 },
83 "optionalDependencies": {},
84 "engines": {
85 "node": "*"
86 },
87 "_npmUser": {
88 "name": "shtylman",
89 "email": "[email protected]"
90 },
91 "_id": "[email protected]",
92 "_engineSupported": true,
93 "_npmVersion": "1.1.12",
94 "_nodeVersion": "v0.6.14",
95 "_defaultsLoaded": true,
96 "dist": {
97 "shasum": "3162dd34ea833740e2e0d6e7129f2dcd55dcf7ed",
98 "tarball": "https://registry.npmjs.org/cookie/-/cookie-0.0.1.tgz"
99 },
100 "maintainers": [
101 {
102 "name": "shtylman",
103 "email": "[email protected]"
104 }
105 ],
106 "directories": {}
107 },
108 "0.0.2": {
109 "author": {
110 "name": "Roman Shtylman",
111 "email": "[email protected]"
112 },
113 "name": "cookie",
114 "description": "cookie parsing and serialization",
115 "version": "0.0.2",
116 "repository": {
117 "type": "git",
118 "url": "git://github.com/shtylman/node-cookie.git"
119 },
120 "keywords": [
121 "cookie",
122 "cookies"
123 ],
124 "main": "index.js",
125 "scripts": {
126 "test": "mocha"
127 },
128 "dependencies": {},
129 "devDependencies": {
130 "mocha": "1.x.x"
131 },
132 "optionalDependencies": {},
133 "engines": {
134 "node": "*"
135 },
136 "_npmUser": {
137 "name": "shtylman",
138 "email": "[email protected]"
139 },
140 "_id": "[email protected]",
141 "_engineSupported": true,
142 "_npmVersion": "1.1.12",
143 "_nodeVersion": "v0.6.14",
144 "_defaultsLoaded": true,
145 "dist": {
146 "shasum": "17aedf62bc6af53745fecb55c45c3f097c2e858b",
147 "tarball": "https://registry.npmjs.org/cookie/-/cookie-0.0.2.tgz"
148 },
149 "maintainers": [
150 {
151 "name": "shtylman",
152 "email": "[email protected]"
153 }
154 ],
155 "directories": {}
156 },
157 "0.0.3": {
158 "author": {
159 "name": "Roman Shtylman",
160 "email": "[email protected]"
161 },
162 "name": "cookie",
163 "description": "cookie parsing and serialization",
164 "version": "0.0.3",
165 "repository": {
166 "type": "git",
167 "url": "git://github.com/shtylman/node-cookie.git"
168 },
169 "keywords": [
170 "cookie",
171 "cookies"
172 ],
173 "main": "index.js",
174 "scripts": {
175 "test": "mocha"
176 },
177 "dependencies": {},
178 "devDependencies": {
179 "mocha": "1.x.x"
180 },
181 "optionalDependencies": {},
182 "engines": {
183 "node": "*"
184 },
185 "_npmUser": {
186 "name": "shtylman",
187 "email": "[email protected]"
188 },
189 "_id": "[email protected]",
190 "_engineSupported": true,
191 "_npmVersion": "1.1.21",
192 "_nodeVersion": "v0.7.10-pre",
193 "_defaultsLoaded": true,
194 "dist": {
195 "shasum": "732b0e64cb77186954f5e36b0b6bcfd062a12e91",
196 "tarball": "https://registry.npmjs.org/cookie/-/cookie-0.0.3.tgz"
197 },
198 "maintainers": [
199 {
200 "name": "shtylman",
201 "email": "[email protected]"
202 }
203 ],
204 "directories": {}
205 },
206 "0.0.4": {
207 "author": {
208 "name": "Roman Shtylman",
209 "email": "[email protected]"
210 },
211 "name": "cookie",
212 "description": "cookie parsing and serialization",
213 "version": "0.0.4",
214 "repository": {
215 "type": "git",
216 "url": "git://github.com/shtylman/node-cookie.git"
217 },
218 "keywords": [
219 "cookie",
220 "cookies"
221 ],
222 "main": "index.js",
223 "scripts": {
224 "test": "mocha"
225 },
226 "dependencies": {},
227 "devDependencies": {
228 "mocha": "1.x.x"
229 },
230 "optionalDependencies": {},
231 "engines": {
232 "node": "*"
233 },
234 "_npmUser": {
235 "name": "shtylman",
236 "email": "[email protected]"
237 },
238 "_id": "[email protected]",
239 "_engineSupported": true,
240 "_npmVersion": "1.1.24",
241 "_nodeVersion": "v0.6.20-pre",
242 "_defaultsLoaded": true,
243 "dist": {
244 "shasum": "5456bd47aee2666eac976ea80a6105940483fe98",
245 "tarball": "https://registry.npmjs.org/cookie/-/cookie-0.0.4.tgz"
246 },
247 "maintainers": [
248 {
249 "name": "shtylman",
250 "email": "[email protected]"
251 }
252 ],
253 "directories": {}
254 },
255 "0.0.5": {
256 "author": {
257 "name": "Roman Shtylman",
258 "email": "[email protected]"
259 },
260 "name": "cookie",
261 "description": "cookie parsing and serialization",
262 "version": "0.0.5",
263 "repository": {
264 "type": "git",
265 "url": "git://github.com/shtylman/node-cookie.git"
266 },
267 "keywords": [
268 "cookie",
269 "cookies"
270 ],
271 "main": "index.js",
272 "scripts": {
273 "test": "mocha"
274 },
275 "dependencies": {},
276 "devDependencies": {
277 "mocha": "1.x.x"
278 },
279 "optionalDependencies": {},
280 "engines": {
281 "node": "*"
282 },
283 "_id": "[email protected]",
284 "dist": {
285 "shasum": "f9acf9db57eb7568c9fcc596256b7bb22e307c81",
286 "tarball": "https://registry.npmjs.org/cookie/-/cookie-0.0.5.tgz"
287 },
288 "maintainers": [
289 {
290 "name": "shtylman",
291 "email": "[email protected]"
292 }
293 ],
294 "directories": {}
295 },
296 "0.0.6": {
297 "author": {
298 "name": "Roman Shtylman",
299 "email": "[email protected]"
300 },
301 "name": "cookie",
302 "description": "cookie parsing and serialization",
303 "version": "0.0.6",
304 "repository": {
305 "type": "git",
306 "url": "git://github.com/shtylman/node-cookie.git"
307 },
308 "keywords": [
309 "cookie",
310 "cookies"
311 ],
312 "main": "index.js",
313 "scripts": {
314 "test": "mocha"
315 },
316 "dependencies": {},
317 "devDependencies": {
318 "mocha": "1.x.x"
319 },
320 "optionalDependencies": {},
321 "engines": {
322 "node": "*"
323 },
324 "_id": "[email protected]",
325 "dist": {
326 "shasum": "7bc6bb50205dcb98cf13ad09d6c60bc523f6fcb7",
327 "tarball": "https://registry.npmjs.org/cookie/-/cookie-0.0.6.tgz"
328 },
329 "_from": ".",
330 "_npmVersion": "1.2.14",
331 "_npmUser": {
332 "name": "shtylman",
333 "email": "[email protected]"
334 },
335 "maintainers": [
336 {
337 "name": "shtylman",
338 "email": "[email protected]"
339 }
340 ],
341 "directories": {}
342 },
343 "0.1.0": {
344 "author": {
345 "name": "Roman Shtylman",
346 "email": "[email protected]"
347 },
348 "name": "cookie",
349 "description": "cookie parsing and serialization",
350 "version": "0.1.0",
351 "repository": {
352 "type": "git",
353 "url": "git://github.com/shtylman/node-cookie.git"
354 },
355 "keywords": [
356 "cookie",
357 "cookies"
358 ],
359 "main": "index.js",
360 "scripts": {
361 "test": "mocha"
362 },
363 "dependencies": {},
364 "devDependencies": {
365 "mocha": "1.x.x"
366 },
367 "optionalDependencies": {},
368 "engines": {
369 "node": "*"
370 },
371 "_id": "[email protected]",
372 "dist": {
373 "shasum": "90eb469ddce905c866de687efc43131d8801f9d0",
374 "tarball": "https://registry.npmjs.org/cookie/-/cookie-0.1.0.tgz"
375 },
376 "_from": ".",
377 "_npmVersion": "1.2.18",
378 "_npmUser": {
379 "name": "shtylman",
380 "email": "[email protected]"
381 },
382 "maintainers": [
383 {
384 "name": "shtylman",
385 "email": "[email protected]"
386 }
387 ],
388 "directories": {}
389 },
390 "0.1.1": {
391 "author": {
392 "name": "Roman Shtylman",
393 "email": "[email protected]"
394 },
395 "name": "cookie",
396 "description": "cookie parsing and serialization",
397 "version": "0.1.1",
398 "repository": {
399 "type": "git",
400 "url": "git://github.com/shtylman/node-cookie.git"
401 },
402 "keywords": [
403 "cookie",
404 "cookies"
405 ],
406 "main": "index.js",
407 "scripts": {
408 "test": "mocha"
409 },
410 "dependencies": {},
411 "devDependencies": {
412 "mocha": "1.x.x"
413 },
414 "optionalDependencies": {},
415 "engines": {
416 "node": "*"
417 },
418 "bugs": {
419 "url": "https://github.com/shtylman/node-cookie/issues"
420 },
421 "homepage": "https://github.com/shtylman/node-cookie",
422 "_id": "[email protected]",
423 "dist": {
424 "shasum": "cbd4b537aa65f800b6c66ead2520ba8d6afbdf54",
425 "tarball": "https://registry.npmjs.org/cookie/-/cookie-0.1.1.tgz"
426 },
427 "_from": ".",
428 "_npmVersion": "1.3.24",
429 "_npmUser": {
430 "name": "shtylman",
431 "email": "[email protected]"
432 },
433 "maintainers": [
434 {
435 "name": "shtylman",
436 "email": "[email protected]"
437 }
438 ],
439 "directories": {}
440 },
441 "0.1.2": {
442 "author": {
443 "name": "Roman Shtylman",
444 "email": "[email protected]"
445 },
446 "name": "cookie",
447 "description": "cookie parsing and serialization",
448 "version": "0.1.2",
449 "repository": {
450 "type": "git",
451 "url": "git://github.com/shtylman/node-cookie.git"
452 },
453 "keywords": [
454 "cookie",
455 "cookies"
456 ],
457 "main": "index.js",
458 "scripts": {
459 "test": "mocha"
460 },
461 "dependencies": {},
462 "devDependencies": {
463 "mocha": "1.x.x"
464 },
465 "optionalDependencies": {},
466 "engines": {
467 "node": "*"
468 },
469 "bugs": {
470 "url": "https://github.com/shtylman/node-cookie/issues"
471 },
472 "homepage": "https://github.com/shtylman/node-cookie",
473 "_id": "[email protected]",
474 "dist": {
475 "shasum": "72fec3d24e48a3432073d90c12642005061004b1",
476 "tarball": "https://registry.npmjs.org/cookie/-/cookie-0.1.2.tgz"
477 },
478 "_from": ".",
479 "_npmVersion": "1.4.6",
480 "_npmUser": {
481 "name": "shtylman",
482 "email": "[email protected]"
483 },
484 "maintainers": [
485 {
486 "name": "shtylman",
487 "email": "[email protected]"
488 }
489 ],
490 "directories": {}
491 },
492 "0.1.3": {
493 "name": "cookie",
494 "description": "cookie parsing and serialization",
495 "version": "0.1.3",
496 "author": {
497 "name": "Roman Shtylman",
498 "email": "[email protected]"
499 },
500 "license": "MIT",
501 "keywords": [
502 "cookie",
503 "cookies"
504 ],
505 "repository": {
506 "type": "git",
507 "url": "https://github.com/jshttp/cookie"
508 },
509 "devDependencies": {
510 "istanbul": "0.3.9",
511 "mocha": "1.x.x"
512 },
513 "files": [
514 "LICENSE",
515 "README.md",
516 "index.js"
517 ],
518 "engines": {
519 "node": "*"
520 },
521 "scripts": {
522 "test": "mocha --reporter spec --bail --check-leaks test/",
523 "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/",
524 "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/"
525 },
526 "gitHead": "f46097723c16f920a7b9759e154c34792e1d1a3b",
527 "bugs": {
528 "url": "https://github.com/jshttp/cookie/issues"
529 },
530 "homepage": "https://github.com/jshttp/cookie",
531 "_id": "[email protected]",
532 "_shasum": "e734a5c1417fce472d5aef82c381cabb64d1a435",
533 "_from": ".",
534 "_npmVersion": "1.4.28",
535 "_npmUser": {
536 "name": "dougwilson",
537 "email": "[email protected]"
538 },
539 "maintainers": [
540 {
541 "name": "defunctzombie",
542 "email": "[email protected]"
543 },
544 {
545 "name": "dougwilson",
546 "email": "[email protected]"
547 },
548 {
549 "name": "jongleberry",
550 "email": "[email protected]"
551 }
552 ],
553 "dist": {
554 "shasum": "e734a5c1417fce472d5aef82c381cabb64d1a435",
555 "tarball": "https://registry.npmjs.org/cookie/-/cookie-0.1.3.tgz"
556 },
557 "directories": {}
558 },
559 "0.2.0": {
560 "name": "cookie",
561 "description": "cookie parsing and serialization",
562 "version": "0.2.0",
563 "author": {
564 "name": "Roman Shtylman",
565 "email": "[email protected]"
566 },
567 "license": "MIT",
568 "keywords": [
569 "cookie",
570 "cookies"
571 ],
572 "repository": {
573 "type": "git",
574 "url": "https://github.com/jshttp/cookie"
575 },
576 "devDependencies": {
577 "istanbul": "0.3.17",
578 "mocha": "1.21.5"
579 },
580 "files": [
581 "HISTORY.md",
582 "LICENSE",
583 "README.md",
584 "index.js"
585 ],
586 "engines": {
587 "node": ">= 0.6"
588 },
589 "scripts": {
590 "test": "mocha --reporter spec --bail --check-leaks test/",
591 "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/",
592 "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/"
593 },
594 "gitHead": "e0d36be803099855dfa323de092eed97bec155bd",
595 "bugs": {
596 "url": "https://github.com/jshttp/cookie/issues"
597 },
598 "homepage": "https://github.com/jshttp/cookie",
599 "_id": "[email protected]",
600 "_shasum": "9708beeaa361857de7d16516fea779572625caad",
601 "_from": ".",
602 "_npmVersion": "1.4.28",
603 "_npmUser": {
604 "name": "dougwilson",
605 "email": "[email protected]"
606 },
607 "maintainers": [
608 {
609 "name": "defunctzombie",
610 "email": "[email protected]"
611 },
612 {
613 "name": "dougwilson",
614 "email": "[email protected]"
615 },
616 {
617 "name": "jongleberry",
618 "email": "[email protected]"
619 }
620 ],
621 "dist": {
622 "shasum": "9708beeaa361857de7d16516fea779572625caad",
623 "tarball": "https://registry.npmjs.org/cookie/-/cookie-0.2.0.tgz"
624 },
625 "directories": {}
626 },
627 "0.1.4": {
628 "name": "cookie",
629 "description": "cookie parsing and serialization",
630 "version": "0.1.4",
631 "author": {
632 "name": "Roman Shtylman",
633 "email": "[email protected]"
634 },
635 "contributors": [
636 {
637 "name": "Douglas Christopher Wilson",
638 "email": "[email protected]"
639 }
640 ],
641 "license": "MIT",
642 "keywords": [
643 "cookie",
644 "cookies"
645 ],
646 "repository": {
647 "type": "git",
648 "url": "https://github.com/jshttp/cookie"
649 },
650 "devDependencies": {
651 "istanbul": "0.3.20",
652 "mocha": "1.21.5"
653 },
654 "files": [
655 "HISTORY.md",
656 "LICENSE",
657 "README.md",
658 "index.js"
659 ],
660 "engines": {
661 "node": ">= 0.6"
662 },
663 "scripts": {
664 "test": "mocha --reporter spec --bail --check-leaks test/",
665 "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/",
666 "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/"
667 },
668 "gitHead": "337c0f1be395c1b62b8cae4306a745012c62a989",
669 "bugs": {
670 "url": "https://github.com/jshttp/cookie/issues"
671 },
672 "homepage": "https://github.com/jshttp/cookie",
673 "_id": "[email protected]",
674 "_shasum": "4955c0bd32fffa83b7433586185875876ea04e4b",
675 "_from": ".",
676 "_npmVersion": "1.4.28",
677 "_npmUser": {
678 "name": "dougwilson",
679 "email": "[email protected]"
680 },
681 "maintainers": [
682 {
683 "name": "defunctzombie",
684 "email": "[email protected]"
685 },
686 {
687 "name": "dougwilson",
688 "email": "[email protected]"
689 },
690 {
691 "name": "jongleberry",
692 "email": "[email protected]"
693 }
694 ],
695 "dist": {
696 "shasum": "4955c0bd32fffa83b7433586185875876ea04e4b",
697 "tarball": "https://registry.npmjs.org/cookie/-/cookie-0.1.4.tgz"
698 },
699 "directories": {}
700 },
701 "0.2.1": {
702 "name": "cookie",
703 "description": "cookie parsing and serialization",
704 "version": "0.2.1",
705 "author": {
706 "name": "Roman Shtylman",
707 "email": "[email protected]"
708 },
709 "contributors": [
710 {
711 "name": "Douglas Christopher Wilson",
712 "email": "[email protected]"
713 }
714 ],
715 "license": "MIT",
716 "keywords": [
717 "cookie",
718 "cookies"
719 ],
720 "repository": {
721 "type": "git",
722 "url": "https://github.com/jshttp/cookie"
723 },
724 "devDependencies": {
725 "istanbul": "0.3.20",
726 "mocha": "1.21.5"
727 },
728 "files": [
729 "HISTORY.md",
730 "LICENSE",
731 "README.md",
732 "index.js"
733 ],
734 "engines": {
735 "node": ">= 0.6"
736 },
737 "scripts": {
738 "test": "mocha --reporter spec --bail --check-leaks test/",
739 "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/",
740 "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/"
741 },
742 "gitHead": "f3b5262b23b8eb64c9cbebc6f6271894889b14b1",
743 "bugs": {
744 "url": "https://github.com/jshttp/cookie/issues"
745 },
746 "homepage": "https://github.com/jshttp/cookie",
747 "_id": "[email protected]",
748 "_shasum": "e1bc7c07d1985c17ad7347502bac1a0eb072ac9a",
749 "_from": ".",
750 "_npmVersion": "1.4.28",
751 "_npmUser": {
752 "name": "dougwilson",
753 "email": "[email protected]"
754 },
755 "maintainers": [
756 {
757 "name": "defunctzombie",
758 "email": "[email protected]"
759 },
760 {
761 "name": "dougwilson",
762 "email": "[email protected]"
763 },
764 {
765 "name": "jongleberry",
766 "email": "[email protected]"
767 }
768 ],
769 "dist": {
770 "shasum": "e1bc7c07d1985c17ad7347502bac1a0eb072ac9a",
771 "tarball": "https://registry.npmjs.org/cookie/-/cookie-0.2.1.tgz"
772 },
773 "directories": {}
774 },
775 "0.1.5": {
776 "name": "cookie",
777 "description": "cookie parsing and serialization",
778 "version": "0.1.5",
779 "author": {
780 "name": "Roman Shtylman",
781 "email": "[email protected]"
782 },
783 "contributors": [
784 {
785 "name": "Douglas Christopher Wilson",
786 "email": "[email protected]"
787 }
788 ],
789 "license": "MIT",
790 "keywords": [
791 "cookie",
792 "cookies"
793 ],
794 "repository": {
795 "type": "git",
796 "url": "https://github.com/jshttp/cookie"
797 },
798 "devDependencies": {
799 "istanbul": "0.3.20",
800 "mocha": "1.21.5"
801 },
802 "files": [
803 "HISTORY.md",
804 "LICENSE",
805 "README.md",
806 "index.js"
807 ],
808 "engines": {
809 "node": ">= 0.6"
810 },
811 "scripts": {
812 "test": "mocha --reporter spec --bail --check-leaks test/",
813 "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/",
814 "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/"
815 },
816 "gitHead": "0dfc4876575cef2609cdc1082fccf832743822c2",
817 "bugs": {
818 "url": "https://github.com/jshttp/cookie/issues"
819 },
820 "homepage": "https://github.com/jshttp/cookie",
821 "_id": "[email protected]",
822 "_shasum": "6ab9948a4b1ae21952cd2588530a4722d4044d7c",
823 "_from": ".",
824 "_npmVersion": "1.4.28",
825 "_npmUser": {
826 "name": "dougwilson",
827 "email": "[email protected]"
828 },
829 "maintainers": [
830 {
831 "name": "defunctzombie",
832 "email": "[email protected]"
833 },
834 {
835 "name": "dougwilson",
836 "email": "[email protected]"
837 },
838 {
839 "name": "jongleberry",
840 "email": "[email protected]"
841 }
842 ],
843 "dist": {
844 "shasum": "6ab9948a4b1ae21952cd2588530a4722d4044d7c",
845 "tarball": "https://registry.npmjs.org/cookie/-/cookie-0.1.5.tgz"
846 },
847 "directories": {}
848 },
849 "0.2.2": {
850 "name": "cookie",
851 "description": "cookie parsing and serialization",
852 "version": "0.2.2",
853 "author": {
854 "name": "Roman Shtylman",
855 "email": "[email protected]"
856 },
857 "contributors": [
858 {
859 "name": "Douglas Christopher Wilson",
860 "email": "[email protected]"
861 }
862 ],
863 "license": "MIT",
864 "keywords": [
865 "cookie",
866 "cookies"
867 ],
868 "repository": {
869 "type": "git",
870 "url": "https://github.com/jshttp/cookie"
871 },
872 "devDependencies": {
873 "istanbul": "0.3.20",
874 "mocha": "1.21.5"
875 },
876 "files": [
877 "HISTORY.md",
878 "LICENSE",
879 "README.md",
880 "index.js"
881 ],
882 "engines": {
883 "node": ">= 0.6"
884 },
885 "scripts": {
886 "test": "mocha --reporter spec --bail --check-leaks test/",
887 "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/",
888 "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/"
889 },
890 "gitHead": "9b481be547730c5f487364b720ab298d097541d5",
891 "bugs": {
892 "url": "https://github.com/jshttp/cookie/issues"
893 },
894 "homepage": "https://github.com/jshttp/cookie",
895 "_id": "[email protected]",
896 "_shasum": "579ef8bc9b2d6f7e975a16bf4164d572e752e540",
897 "_from": ".",
898 "_npmVersion": "1.4.28",
899 "_npmUser": {
900 "name": "dougwilson",
901 "email": "[email protected]"
902 },
903 "maintainers": [
904 {
905 "name": "defunctzombie",
906 "email": "[email protected]"
907 },
908 {
909 "name": "dougwilson",
910 "email": "[email protected]"
911 },
912 {
913 "name": "jongleberry",
914 "email": "[email protected]"
915 }
916 ],
917 "dist": {
918 "shasum": "579ef8bc9b2d6f7e975a16bf4164d572e752e540",
919 "tarball": "https://registry.npmjs.org/cookie/-/cookie-0.2.2.tgz"
920 },
921 "directories": {}
922 },
923 "0.2.3": {
924 "name": "cookie",
925 "description": "cookie parsing and serialization",
926 "version": "0.2.3",
927 "author": {
928 "name": "Roman Shtylman",
929 "email": "[email protected]"
930 },
931 "contributors": [
932 {
933 "name": "Douglas Christopher Wilson",
934 "email": "[email protected]"
935 }
936 ],
937 "license": "MIT",
938 "keywords": [
939 "cookie",
940 "cookies"
941 ],
942 "repository": {
943 "type": "git",
944 "url": "https://github.com/jshttp/cookie"
945 },
946 "devDependencies": {
947 "istanbul": "0.3.22",
948 "mocha": "1.21.5"
949 },
950 "files": [
951 "HISTORY.md",
952 "LICENSE",
953 "README.md",
954 "index.js"
955 ],
956 "engines": {
957 "node": ">= 0.6"
958 },
959 "scripts": {
960 "test": "mocha --reporter spec --bail --check-leaks test/",
961 "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/",
962 "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/"
963 },
964 "gitHead": "35326af88e9665bb8ea1be280cb827523e9360a7",
965 "bugs": {
966 "url": "https://github.com/jshttp/cookie/issues"
967 },
968 "homepage": "https://github.com/jshttp/cookie",
969 "_id": "[email protected]",
970 "_shasum": "1a59536af68537a21178a01346f87cb059d2ae5c",
971 "_from": ".",
972 "_npmVersion": "1.4.28",
973 "_npmUser": {
974 "name": "dougwilson",
975 "email": "[email protected]"
976 },
977 "maintainers": [
978 {
979 "name": "defunctzombie",
980 "email": "[email protected]"
981 },
982 {
983 "name": "dougwilson",
984 "email": "[email protected]"
985 },
986 {
987 "name": "jongleberry",
988 "email": "[email protected]"
989 }
990 ],
991 "dist": {
992 "shasum": "1a59536af68537a21178a01346f87cb059d2ae5c",
993 "tarball": "https://registry.npmjs.org/cookie/-/cookie-0.2.3.tgz"
994 },
995 "directories": {}
996 },
997 "0.2.4": {
998 "name": "cookie",
999 "description": "cookie parsing and serialization",
1000 "version": "0.2.4",
1001 "author": {
1002 "name": "Roman Shtylman",
1003 "email": "[email protected]"
1004 },
1005 "contributors": [
1006 {
1007 "name": "Douglas Christopher Wilson",
1008 "email": "[email protected]"
1009 }
1010 ],
1011 "license": "MIT",
1012 "keywords": [
1013 "cookie",
1014 "cookies"
1015 ],
1016 "repository": {
1017 "type": "git",
1018 "url": "https://github.com/jshttp/cookie"
1019 },
1020 "devDependencies": {
1021 "istanbul": "0.4.3",
1022 "mocha": "1.21.5"
1023 },
1024 "files": [
1025 "HISTORY.md",
1026 "LICENSE",
1027 "README.md",
1028 "index.js"
1029 ],
1030 "engines": {
1031 "node": ">= 0.6"
1032 },
1033 "scripts": {
1034 "test": "mocha --reporter spec --bail --check-leaks test/",
1035 "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/",
1036 "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/"
1037 },
1038 "gitHead": "0c6fe48e2976d66ed73c03817bb5cb10180b50ee",
1039 "bugs": {
1040 "url": "https://github.com/jshttp/cookie/issues"
1041 },
1042 "homepage": "https://github.com/jshttp/cookie",
1043 "_id": "[email protected]",
1044 "_shasum": "a8c155aa7b9b2cf2c4d32ebc7b9a0aa288ccc6bd",
1045 "_from": ".",
1046 "_npmVersion": "1.4.28",
1047 "_npmUser": {
1048 "name": "dougwilson",
1049 "email": "[email protected]"
1050 },
1051 "maintainers": [
1052 {
1053 "name": "dougwilson",
1054 "email": "[email protected]"
1055 }
1056 ],
1057 "dist": {
1058 "shasum": "a8c155aa7b9b2cf2c4d32ebc7b9a0aa288ccc6bd",
1059 "tarball": "https://registry.npmjs.org/cookie/-/cookie-0.2.4.tgz"
1060 },
1061 "_npmOperationalInternal": {
1062 "host": "packages-16-east.internal.npmjs.com",
1063 "tmp": "tmp/cookie-0.2.4.tgz_1463790764235_0.7945549874566495"
1064 },
1065 "directories": {}
1066 },
1067 "0.3.0": {
1068 "name": "cookie",
1069 "description": "HTTP server cookie parsing and serialization",
1070 "version": "0.3.0",
1071 "author": {
1072 "name": "Roman Shtylman",
1073 "email": "[email protected]"
1074 },
1075 "contributors": [
1076 {
1077 "name": "Douglas Christopher Wilson",
1078 "email": "[email protected]"
1079 }
1080 ],
1081 "license": "MIT",
1082 "keywords": [
1083 "cookie",
1084 "cookies"
1085 ],
1086 "repository": {
1087 "type": "git",
1088 "url": "https://github.com/jshttp/cookie"
1089 },
1090 "devDependencies": {
1091 "istanbul": "0.4.3",
1092 "mocha": "1.21.5"
1093 },
1094 "files": [
1095 "HISTORY.md",
1096 "LICENSE",
1097 "README.md",
1098 "index.js"
1099 ],
1100 "engines": {
1101 "node": ">= 0.6"
1102 },
1103 "scripts": {
1104 "test": "mocha --reporter spec --bail --check-leaks test/",
1105 "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/",
1106 "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/"
1107 },
1108 "gitHead": "91b733fbe29ae6fcfa305f8e8ff31a1c2e651feb",
1109 "bugs": {
1110 "url": "https://github.com/jshttp/cookie/issues"
1111 },
1112 "homepage": "https://github.com/jshttp/cookie",
1113 "_id": "[email protected]",
1114 "_shasum": "a4bdd609d86748a5ce6c64d7ede6f4840ba434d8",
1115 "_from": ".",
1116 "_npmVersion": "1.4.28",
1117 "_npmUser": {
1118 "name": "dougwilson",
1119 "email": "[email protected]"
1120 },
1121 "maintainers": [
1122 {
1123 "name": "dougwilson",
1124 "email": "[email protected]"
1125 }
1126 ],
1127 "dist": {
1128 "shasum": "a4bdd609d86748a5ce6c64d7ede6f4840ba434d8",
1129 "tarball": "https://registry.npmjs.org/cookie/-/cookie-0.3.0.tgz"
1130 },
1131 "_npmOperationalInternal": {
1132 "host": "packages-12-west.internal.npmjs.com",
1133 "tmp": "tmp/cookie-0.3.0.tgz_1464310839393_0.722841773647815"
1134 },
1135 "directories": {}
1136 },
1137 "0.3.1": {
1138 "name": "cookie",
1139 "description": "HTTP server cookie parsing and serialization",
1140 "version": "0.3.1",
1141 "author": {
1142 "name": "Roman Shtylman",
1143 "email": "[email protected]"
1144 },
1145 "contributors": [
1146 {
1147 "name": "Douglas Christopher Wilson",
1148 "email": "[email protected]"
1149 }
1150 ],
1151 "license": "MIT",
1152 "keywords": [
1153 "cookie",
1154 "cookies"
1155 ],
1156 "repository": {
1157 "type": "git",
1158 "url": "https://github.com/jshttp/cookie"
1159 },
1160 "devDependencies": {
1161 "istanbul": "0.4.3",
1162 "mocha": "1.21.5"
1163 },
1164 "files": [
1165 "HISTORY.md",
1166 "LICENSE",
1167 "README.md",
1168 "index.js"
1169 ],
1170 "engines": {
1171 "node": ">= 0.6"
1172 },
1173 "scripts": {
1174 "test": "mocha --reporter spec --bail --check-leaks test/",
1175 "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/",
1176 "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/"
1177 },
1178 "gitHead": "e3c77d497d66c8b8d4b677b8954c1b192a09f0b3",
1179 "bugs": {
1180 "url": "https://github.com/jshttp/cookie/issues"
1181 },
1182 "homepage": "https://github.com/jshttp/cookie",
1183 "_id": "[email protected]",
1184 "_shasum": "e7e0a1f9ef43b4c8ba925c5c5a96e806d16873bb",
1185 "_from": ".",
1186 "_npmVersion": "1.4.28",
1187 "_npmUser": {
1188 "name": "dougwilson",
1189 "email": "[email protected]"
1190 },
1191 "maintainers": [
1192 {
1193 "name": "dougwilson",
1194 "email": "[email protected]"
1195 }
1196 ],
1197 "dist": {
1198 "shasum": "e7e0a1f9ef43b4c8ba925c5c5a96e806d16873bb",
1199 "tarball": "https://registry.npmjs.org/cookie/-/cookie-0.3.1.tgz"
1200 },
1201 "_npmOperationalInternal": {
1202 "host": "packages-12-west.internal.npmjs.com",
1203 "tmp": "tmp/cookie-0.3.1.tgz_1464323556714_0.6435900838114321"
1204 },
1205 "directories": {}
1206 },
1207 "0.4.0": {
1208 "name": "cookie",
1209 "description": "HTTP server cookie parsing and serialization",
1210 "version": "0.4.0",
1211 "author": {
1212 "name": "Roman Shtylman",
1213 "email": "[email protected]"
1214 },
1215 "contributors": [
1216 {
1217 "name": "Douglas Christopher Wilson",
1218 "email": "[email protected]"
1219 }
1220 ],
1221 "license": "MIT",
1222 "keywords": [
1223 "cookie",
1224 "cookies"
1225 ],
1226 "repository": {
1227 "type": "git",
1228 "url": "git+https://github.com/jshttp/cookie.git"
1229 },
1230 "devDependencies": {
1231 "beautify-benchmark": "0.2.4",
1232 "benchmark": "2.1.4",
1233 "eslint": "5.16.0",
1234 "eslint-plugin-markdown": "1.0.0",
1235 "istanbul": "0.4.5",
1236 "mocha": "6.1.4"
1237 },
1238 "engines": {
1239 "node": ">= 0.6"
1240 },
1241 "scripts": {
1242 "bench": "node benchmark/index.js",
1243 "lint": "eslint --plugin markdown --ext js,md .",
1244 "test": "mocha --reporter spec --bail --check-leaks test/",
1245 "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/",
1246 "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
1247 "version": "node scripts/version-history.js && git add HISTORY.md"
1248 },
1249 "gitHead": "aec1177c7da67e3b3273df96cf476824dbc9ae09",
1250 "bugs": {
1251 "url": "https://github.com/jshttp/cookie/issues"
1252 },
1253 "homepage": "https://github.com/jshttp/cookie#readme",
1254 "_id": "[email protected]",
1255 "_npmVersion": "6.4.1",
1256 "_nodeVersion": "8.16.0",
1257 "_npmUser": {
1258 "name": "dougwilson",
1259 "email": "[email protected]"
1260 },
1261 "dist": {
1262 "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==",
1263 "shasum": "beb437e7022b3b6d49019d088665303ebe9c14ba",
1264 "tarball": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz",
1265 "fileCount": 5,
1266 "unpackedSize": 17858,
1267 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3NhPCRA9TVsSAnZWagAADA4P/0Y8HkoR7zm45iuEtjAd\nEfcXA4oFAC9rTJtAWNcmDGwTW1HxfIX3M9ci8WSjlwbEqWsvE6XJYq4yjhZq\ncwj7IRftR1aGaGusZPrBQTXnwqMvRKTFG4ZMwH/IeeoEtmBq9hJJZX8yXjNL\nZbaAq84JTiGriMb9kjS+sizB6dHMUrCN4SDTP6EUEAVuF6lIVrikG3G6i7am\nqXeFIVXJQFn31/MRV/258l6eOefuPTlgWqpiBBLSScxSOSsyLhW2+FTpZ1Ga\n8wqAhQVf0JATKrElCH5x2u2slNxOI8FltAwxfMFHzN/5Q2XlOFznqFqoO1l6\nEYF0NgJQZXBQuKWIAVIyqwBZ5fQ9+lhjKtVqCGbcw9I2U+TRK0eHMNDgI+pR\nebdSwAhVWGTp0o2ahqhQBW/CB+tPgIjgy0lPRg5ioPs9noBb6AZZ5H9I0Ffm\niWO1FsneQYbFL+2IM/P3rIQefwFTParMXRuq70XxuVcU+cTXNi4X8lzH8KiJ\ncnq3Pit6czof7+OvNBWQAIq++d6z1tMq+ELOqp7L0QogZl7OGI/nFtZQrTbn\n2VtTg4su5j/zkE350pwTXirnRkS/9AiignuLco2H9PspMxEadPnmmakwErZJ\n+KXAFLAHZhgxfa7meSbFFoYDarbpuizUzDDULbUM0murTVR2dAYZUnCByEoi\nvmIe\r\n=Oa0u\r\n-----END PGP SIGNATURE-----\r\n"
1268 },
1269 "maintainers": [
1270 {
1271 "name": "dougwilson",
1272 "email": "[email protected]"
1273 }
1274 ],
1275 "directories": {},
1276 "_npmOperationalInternal": {
1277 "host": "s3://npm-registry-packages",
1278 "tmp": "tmp/cookie_0.4.0_1557977167056_0.23732140409492142"
1279 },
1280 "_hasShrinkwrap": false
1281 },
1282 "0.4.1": {
1283 "name": "cookie",
1284 "description": "HTTP server cookie parsing and serialization",
1285 "version": "0.4.1",
1286 "author": {
1287 "name": "Roman Shtylman",
1288 "email": "[email protected]"
1289 },
1290 "contributors": [
1291 {
1292 "name": "Douglas Christopher Wilson",
1293 "email": "[email protected]"
1294 }
1295 ],
1296 "license": "MIT",
1297 "keywords": [
1298 "cookie",
1299 "cookies"
1300 ],
1301 "repository": {
1302 "type": "git",
1303 "url": "git+https://github.com/jshttp/cookie.git"
1304 },
1305 "devDependencies": {
1306 "beautify-benchmark": "0.2.4",
1307 "benchmark": "2.1.4",
1308 "eslint": "6.8.0",
1309 "eslint-plugin-markdown": "1.0.2",
1310 "mocha": "7.1.1",
1311 "nyc": "15.0.1"
1312 },
1313 "engines": {
1314 "node": ">= 0.6"
1315 },
1316 "scripts": {
1317 "bench": "node benchmark/index.js",
1318 "lint": "eslint --plugin markdown --ext js,md .",
1319 "test": "mocha --reporter spec --bail --check-leaks --ui qunit test/",
1320 "test-ci": "nyc --reporter=text npm test",
1321 "test-cov": "nyc --reporter=html --reporter=text npm test",
1322 "version": "node scripts/version-history.js && git add HISTORY.md"
1323 },
1324 "gitHead": "b22458dd9f7ca94705fd7ee25780836601b913aa",
1325 "bugs": {
1326 "url": "https://github.com/jshttp/cookie/issues"
1327 },
1328 "homepage": "https://github.com/jshttp/cookie#readme",
1329 "_id": "[email protected]",
1330 "_nodeVersion": "13.12.0",
1331 "_npmVersion": "6.14.4",
1332 "dist": {
1333 "integrity": "sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA==",
1334 "shasum": "afd713fe26ebd21ba95ceb61f9a8116e50a537d1",
1335 "tarball": "https://registry.npmjs.org/cookie/-/cookie-0.4.1.tgz",
1336 "fileCount": 5,
1337 "unpackedSize": 18123,
1338 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJen7jNCRA9TVsSAnZWagAAX/wP/j8Mcw3MQyifqWMFSZTL\nwpTBVC0/hRHh581NsIKtfF1fzWvRHKu+VPlGhMg1vqXoZweebf1H5Mwhlz7z\nDEiUiPQgCi6hXgdsUMxc+iDOFy2fQoPOKtY4LnfDA/vZMCok8QFLVWArl3CC\nLmA5Amh/Zfud0WkGzDGrjRQKWHRRAUVrQBZ6ziTM5KplDWy1PBSE59M3WYMY\nUFOdCEqk4xGEvW8YjkAkRSiY5Z8r8wcES4GkxaLsVFfpLJbI0cbRCen6b1uK\n4ZTGjwpnQKHPaywefIX1UTV8Em6D0QGweyc4CgTicMz+lPD9uZT8jmZr+Apy\nkcfen3enN1sKrn0e4p6AXOu1Ku38KeK0nLyU3ueo7/KzbAf8XVkbbsWdZ1Yr\nteOjmHDqv5k7B7616PSjyQJRmXhfB2FgR84MmyUbeEtOSStBaNPI7BxzA0Mj\nKvSfVDGxxO0dTb3Uu6QRF4tl8T2AFKarNzpik5VNvJpYsueISnGVG4J480YI\nz8L/Ayn3+BmW7GLtVU5nfXaMZBjGNryRRQFhju7tS0JOzbRgmUCRLK77NGUX\n+warQVVAXDJJgAVexSen90OLR+SSNq84HIBT9/UP70OLFxwndxB91XuDTuMO\nNot9PtZFUNZnv9ArYN/HGCRKDkJm98Gn0Pu5eJ4ITNA3iCE/urbSnVLzigSA\n11mU\r\n=IPIC\r\n-----END PGP SIGNATURE-----\r\n"
1339 },
1340 "maintainers": [
1341 {
1342 "name": "dougwilson",
1343 "email": "[email protected]"
1344 }
1345 ],
1346 "_npmUser": {
1347 "name": "dougwilson",
1348 "email": "[email protected]"
1349 },
1350 "directories": {},
1351 "_npmOperationalInternal": {
1352 "host": "s3://npm-registry-packages",
1353 "tmp": "tmp/cookie_0.4.1_1587525837181_0.04343373246138138"
1354 },
1355 "_hasShrinkwrap": false
1356 }
1357 },
1358 "readme": "# cookie\n\n[![NPM Version][npm-version-image]][npm-url]\n[![NPM Downloads][npm-downloads-image]][npm-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\nBasic HTTP cookie parser and serializer for HTTP servers.\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 cookie\n```\n\n## API\n\n```js\nvar cookie = require('cookie');\n```\n\n### cookie.parse(str, options)\n\nParse an HTTP `Cookie` header string and returning an object of all cookie name-value pairs.\nThe `str` argument is the string representing a `Cookie` header value and `options` is an\noptional object containing additional parsing options.\n\n```js\nvar cookies = cookie.parse('foo=bar; equation=E%3Dmc%5E2');\n// { foo: 'bar', equation: 'E=mc^2' }\n```\n\n#### Options\n\n`cookie.parse` accepts these properties in the options object.\n\n##### decode\n\nSpecifies a function that will be used to decode a cookie's value. Since the value of a cookie\nhas a limited character set (and must be a simple string), this function can be used to decode\na previously-encoded cookie value into a JavaScript string or other object.\n\nThe default function is the global `decodeURIComponent`, which will decode any URL-encoded\nsequences into their byte representations.\n\n**note** if an error is thrown from this function, the original, non-decoded cookie value will\nbe returned as the cookie's value.\n\n### cookie.serialize(name, value, options)\n\nSerialize a cookie name-value pair into a `Set-Cookie` header string. The `name` argument is the\nname for the cookie, the `value` argument is the value to set the cookie to, and the `options`\nargument is an optional object containing additional serialization options.\n\n```js\nvar setCookie = cookie.serialize('foo', 'bar');\n// foo=bar\n```\n\n#### Options\n\n`cookie.serialize` accepts these properties in the options object.\n\n##### domain\n\nSpecifies the value for the [`Domain` `Set-Cookie` attribute][rfc-6265-5.2.3]. By default, no\ndomain is set, and most clients will consider the cookie to apply to only the current domain.\n\n##### encode\n\nSpecifies a function that will be used to encode a cookie's value. Since value of a cookie\nhas a limited character set (and must be a simple string), this function can be used to encode\na value into a string suited for a cookie's value.\n\nThe default function is the global `encodeURIComponent`, which will encode a JavaScript string\ninto UTF-8 byte sequences and then URL-encode any that fall outside of the cookie range.\n\n##### expires\n\nSpecifies the `Date` object to be the value for the [`Expires` `Set-Cookie` attribute][rfc-6265-5.2.1].\nBy default, no expiration is set, and most clients will consider this a \"non-persistent cookie\" and\nwill delete it on a condition like exiting a web browser application.\n\n**note** the [cookie storage model specification][rfc-6265-5.3] states that if both `expires` and\n`maxAge` are set, then `maxAge` takes precedence, but it is possible not all clients by obey this,\nso if both are set, they should point to the same date and time.\n\n##### httpOnly\n\nSpecifies the `boolean` value for the [`HttpOnly` `Set-Cookie` attribute][rfc-6265-5.2.6]. When truthy,\nthe `HttpOnly` attribute is set, otherwise it is not. By default, the `HttpOnly` attribute is not set.\n\n**note** be careful when setting this to `true`, as compliant clients will not allow client-side\nJavaScript to see the cookie in `document.cookie`.\n\n##### maxAge\n\nSpecifies the `number` (in seconds) to be the value for the [`Max-Age` `Set-Cookie` attribute][rfc-6265-5.2.2].\nThe given number will be converted to an integer by rounding down. By default, no maximum age is set.\n\n**note** the [cookie storage model specification][rfc-6265-5.3] states that if both `expires` and\n`maxAge` are set, then `maxAge` takes precedence, but it is possible not all clients by obey this,\nso if both are set, they should point to the same date and time.\n\n##### path\n\nSpecifies the value for the [`Path` `Set-Cookie` attribute][rfc-6265-5.2.4]. By default, the path\nis considered the [\"default path\"][rfc-6265-5.1.4].\n\n##### sameSite\n\nSpecifies the `boolean` or `string` to be the value for the [`SameSite` `Set-Cookie` attribute][rfc-6265bis-03-4.1.2.7].\n\n - `true` will set the `SameSite` attribute to `Strict` for strict same site enforcement.\n - `false` will not set the `SameSite` attribute.\n - `'lax'` will set the `SameSite` attribute to `Lax` for lax same site enforcement.\n - `'none'` will set the `SameSite` attribute to `None` for an explicit cross-site cookie.\n - `'strict'` will set the `SameSite` attribute to `Strict` for strict same site enforcement.\n\nMore information about the different enforcement levels can be found in\n[the specification][rfc-6265bis-03-4.1.2.7].\n\n**note** This is an attribute that has not yet been fully standardized, and may change in the future.\nThis also means many clients may ignore this attribute until they understand it.\n\n##### secure\n\nSpecifies the `boolean` value for the [`Secure` `Set-Cookie` attribute][rfc-6265-5.2.5]. When truthy,\nthe `Secure` attribute is set, otherwise it is not. By default, the `Secure` attribute is not set.\n\n**note** be careful when setting this to `true`, as compliant clients will not send the cookie back to\nthe server in the future if the browser does not have an HTTPS connection.\n\n## Example\n\nThe following example uses this module in conjunction with the Node.js core HTTP server\nto prompt a user for their name and display it back on future visits.\n\n```js\nvar cookie = require('cookie');\nvar escapeHtml = require('escape-html');\nvar http = require('http');\nvar url = require('url');\n\nfunction onRequest(req, res) {\n // Parse the query string\n var query = url.parse(req.url, true, true).query;\n\n if (query && query.name) {\n // Set a new cookie with the name\n res.setHeader('Set-Cookie', cookie.serialize('name', String(query.name), {\n httpOnly: true,\n maxAge: 60 * 60 * 24 * 7 // 1 week\n }));\n\n // Redirect back after setting cookie\n res.statusCode = 302;\n res.setHeader('Location', req.headers.referer || '/');\n res.end();\n return;\n }\n\n // Parse the cookies on the request\n var cookies = cookie.parse(req.headers.cookie || '');\n\n // Get the visitor name set in the cookie\n var name = cookies.name;\n\n res.setHeader('Content-Type', 'text/html; charset=UTF-8');\n\n if (name) {\n res.write('<p>Welcome back, <b>' + escapeHtml(name) + '</b>!</p>');\n } else {\n res.write('<p>Hello, new visitor!</p>');\n }\n\n res.write('<form method=\"GET\">');\n res.write('<input placeholder=\"enter your name\" name=\"name\"> <input type=\"submit\" value=\"Set Name\">');\n res.end('</form>');\n}\n\nhttp.createServer(onRequest).listen(3000);\n```\n\n## Testing\n\n```sh\n$ npm test\n```\n\n## Benchmark\n\n```\n$ npm run bench\n\n> [email protected] bench cookie\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 [email protected]\n modules@48\n napi@3\n [email protected]\n\n> node benchmark/parse.js\n\n cookie.parse\n\n 6 tests completed.\n\n simple x 1,200,691 ops/sec ±1.12% (189 runs sampled)\n decode x 1,012,994 ops/sec ±0.97% (186 runs sampled)\n unquote x 1,074,174 ops/sec ±2.43% (186 runs sampled)\n duplicates x 438,424 ops/sec ±2.17% (184 runs sampled)\n 10 cookies x 147,154 ops/sec ±1.01% (186 runs sampled)\n 100 cookies x 14,274 ops/sec ±1.07% (187 runs sampled)\n```\n\n## References\n\n- [RFC 6265: HTTP State Management Mechanism][rfc-6265]\n- [Same-site Cookies][rfc-6265bis-03-4.1.2.7]\n\n[rfc-6265bis-03-4.1.2.7]: https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-03#section-4.1.2.7\n[rfc-6265]: https://tools.ietf.org/html/rfc6265\n[rfc-6265-5.1.4]: https://tools.ietf.org/html/rfc6265#section-5.1.4\n[rfc-6265-5.2.1]: https://tools.ietf.org/html/rfc6265#section-5.2.1\n[rfc-6265-5.2.2]: https://tools.ietf.org/html/rfc6265#section-5.2.2\n[rfc-6265-5.2.3]: https://tools.ietf.org/html/rfc6265#section-5.2.3\n[rfc-6265-5.2.4]: https://tools.ietf.org/html/rfc6265#section-5.2.4\n[rfc-6265-5.2.5]: https://tools.ietf.org/html/rfc6265#section-5.2.5\n[rfc-6265-5.2.6]: https://tools.ietf.org/html/rfc6265#section-5.2.6\n[rfc-6265-5.3]: https://tools.ietf.org/html/rfc6265#section-5.3\n\n## License\n\n[MIT](LICENSE)\n\n[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/cookie/master\n[coveralls-url]: https://coveralls.io/r/jshttp/cookie?branch=master\n[node-version-image]: https://badgen.net/npm/node/cookie\n[node-version-url]: https://nodejs.org/en/download\n[npm-downloads-image]: https://badgen.net/npm/dm/cookie\n[npm-url]: https://npmjs.org/package/cookie\n[npm-version-image]: https://badgen.net/npm/v/cookie\n[travis-image]: https://badgen.net/travis/jshttp/cookie/master\n[travis-url]: https://travis-ci.org/jshttp/cookie\n",
1359 "maintainers": [
1360 {
1361 "name": "dougwilson",
1362 "email": "[email protected]"
1363 }
1364 ],
1365 "time": {
1366 "modified": "2020-04-22T03:23:59.666Z",
1367 "created": "2012-05-28T23:56:11.938Z",
1368 "0.0.0": "2012-05-28T23:56:12.299Z",
1369 "0.0.1": "2012-05-29T02:15:56.897Z",
1370 "0.0.2": "2012-06-01T17:57:58.161Z",
1371 "0.0.3": "2012-06-06T18:50:00.041Z",
1372 "0.0.4": "2012-06-21T16:27:06.621Z",
1373 "0.0.5": "2012-10-29T17:26:30.049Z",
1374 "0.0.6": "2013-04-09T05:59:56.056Z",
1375 "0.1.0": "2013-05-01T19:18:22.075Z",
1376 "0.1.1": "2014-02-23T15:56:33.086Z",
1377 "0.1.2": "2014-04-16T23:00:21.566Z",
1378 "0.1.3": "2015-05-20T01:22:20.719Z",
1379 "0.2.0": "2015-08-14T05:15:35.455Z",
1380 "0.1.4": "2015-09-17T17:03:42.289Z",
1381 "0.2.1": "2015-09-17T17:08:41.911Z",
1382 "0.1.5": "2015-09-17T18:52:10.481Z",
1383 "0.2.2": "2015-09-17T20:40:15.826Z",
1384 "0.2.3": "2015-10-26T01:02:06.233Z",
1385 "0.2.4": "2016-05-21T00:32:45.246Z",
1386 "0.3.0": "2016-05-27T01:00:41.646Z",
1387 "0.3.1": "2016-05-27T04:32:39.156Z",
1388 "0.4.0": "2019-05-16T03:26:07.333Z",
1389 "0.4.1": "2020-04-22T03:23:57.297Z"
1390 },
1391 "author": {
1392 "name": "Roman Shtylman",
1393 "email": "[email protected]"
1394 },
1395 "repository": {
1396 "type": "git",
1397 "url": "git+https://github.com/jshttp/cookie.git"
1398 },
1399 "users": {
1400 "285858315": true,
1401 "fgribreau": true,
1402 "m42am": true,
1403 "rhedenk": true,
1404 "substack": true,
1405 "grncdr": true,
1406 "masanorinyo": true,
1407 "qiuzuhui": true,
1408 "shen-weizhong": true,
1409 "dexteryy": true,
1410 "dofy": true,
1411 "dgarlitt": true,
1412 "priyaranjan": true,
1413 "roryrjb": true,
1414 "x_soth": true,
1415 "vboctor": true,
1416 "koulmomo": true,
1417 "goodseller": true,
1418 "simplyianm": true,
1419 "trotyl": true,
1420 "akiva": true,
1421 "dac2205": true,
1422 "flyslow": true,
1423 "markthethomas": true,
1424 "nickeljew": true,
1425 "ovuncozturk": true,
1426 "kungkk": true,
1427 "awzm": true,
1428 "antanst": true,
1429 "intuitivcloud": true,
1430 "panlw": true,
1431 "wut": true,
1432 "justinliao": true,
1433 "qbylucky": true,
1434 "milfromoz": true,
1435 "demod": true,
1436 "oikewll": true,
1437 "qinyifeng": true,
1438 "princetoad": true,
1439 "danielsunami": true,
1440 "wkaifang": true,
1441 "antixrist": true,
1442 "hongbo-miao": true,
1443 "abuelwafa": true,
1444 "wenbing": true,
1445 "tedyhy": true,
1446 "mhaidarh": true,
1447 "zuizuihao": true,
1448 "monjer": true,
1449 "zoluzo": true,
1450 "giussa_dan": true,
1451 "ilex.h": true,
1452 "waidd": true,
1453 "xiaoqiang.yang": true,
1454 "bphanikumar": true,
1455 "wayn": true,
1456 "vjudge": true,
1457 "frankl83": true,
1458 "infernocloud": true,
1459 "shanyy": true,
1460 "hbkapps": true,
1461 "grin_zhou": true,
1462 "shuoshubao": true,
1463 "vcordero07": true,
1464 "bumsuk": true,
1465 "alexchao": true,
1466 "dennisli87": true,
1467 "imaginegenesis": true,
1468 "mfessenden": true,
1469 "rparris": true,
1470 "zuojiang": true
1471 },
1472 "readmeFilename": "README.md",
1473 "homepage": "https://github.com/jshttp/cookie#readme",
1474 "keywords": [
1475 "cookie",
1476 "cookies"
1477 ],
1478 "bugs": {
1479 "url": "https://github.com/jshttp/cookie/issues"
1480 },
1481 "license": "MIT",
1482 "contributors": [
1483 {
1484 "name": "Douglas Christopher Wilson",
1485 "email": "[email protected]"
1486 }
1487 ]
1488 }