Debian Codegraph @

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

raw
1 {
2 "_id": "he",
3 "_rev": "99-6cdeef83668d696d8ac427b07b4c6823",
4 "name": "he",
5 "description": "A robust HTML entities encoder/decoder with full Unicode support.",
6 "dist-tags": {
7 "latest": "1.2.0"
8 },
9 "versions": {
10 "0.1.0": {
11 "name": "he",
12 "version": "0.1.0",
13 "description": "A robust HTML entities encoder/decoder with full Unicode support.",
14 "homepage": "http://mths.be/he",
15 "main": "he.js",
16 "keywords": [
17 "string",
18 "entities",
19 "entity",
20 "html",
21 "encode",
22 "decode",
23 "unicode"
24 ],
25 "licenses": [
26 {
27 "type": "MIT",
28 "url": "http://mths.be/mit"
29 }
30 ],
31 "author": {
32 "name": "Mathias Bynens",
33 "url": "http://mathiasbynens.be/"
34 },
35 "repository": {
36 "type": "git",
37 "url": "https://github.com/mathiasbynens/he.git"
38 },
39 "bugs": {
40 "url": "https://github.com/mathiasbynens/he/issues"
41 },
42 "directories": {
43 "test": "tests"
44 },
45 "scripts": {
46 "test": "node tests/tests.js"
47 },
48 "dependencies": {},
49 "devDependencies": {
50 "grunt": "~0.4.1",
51 "grunt-shell": "~0.2.2",
52 "grunt-template": "~0.1.0",
53 "istanbul": "~0.1.37",
54 "qunit-clib": "~1.3.0",
55 "qunitjs": "~1.11.0",
56 "regenerate": "~0.5.1",
57 "requirejs": "~2.1.6",
58 "lodash": "~1.3.1",
59 "string-escape": "~0.1.6",
60 "grunt-curl": "~1.1.1"
61 },
62 "_id": "[email protected]",
63 "dist": {
64 "shasum": "ff047a4c4a91ee6be2c1156f177a46e269a35908",
65 "tarball": "https://registry.npmjs.org/he/-/he-0.1.0.tgz"
66 },
67 "_from": ".",
68 "_npmVersion": "1.2.30",
69 "_npmUser": {
70 "name": "mathias",
71 "email": "[email protected]"
72 },
73 "maintainers": [
74 {
75 "name": "mathias",
76 "email": "[email protected]"
77 }
78 ]
79 },
80 "0.1.1": {
81 "name": "he",
82 "version": "0.1.1",
83 "description": "A robust HTML entities encoder/decoder with full Unicode support.",
84 "homepage": "http://mths.be/he",
85 "main": "he.js",
86 "keywords": [
87 "string",
88 "entities",
89 "entity",
90 "html",
91 "encode",
92 "decode",
93 "unicode"
94 ],
95 "licenses": [
96 {
97 "type": "MIT",
98 "url": "http://mths.be/mit"
99 }
100 ],
101 "author": {
102 "name": "Mathias Bynens",
103 "url": "http://mathiasbynens.be/"
104 },
105 "repository": {
106 "type": "git",
107 "url": "https://github.com/mathiasbynens/he.git"
108 },
109 "bugs": {
110 "url": "https://github.com/mathiasbynens/he/issues"
111 },
112 "directories": {
113 "test": "tests"
114 },
115 "scripts": {
116 "test": "node tests/tests.js"
117 },
118 "dependencies": {},
119 "devDependencies": {
120 "grunt": "~0.4.1",
121 "grunt-shell": "~0.2.2",
122 "grunt-template": "~0.1.0",
123 "istanbul": "~0.1.37",
124 "qunit-clib": "~1.3.0",
125 "qunitjs": "~1.11.0",
126 "regenerate": "~0.5.1",
127 "requirejs": "~2.1.6",
128 "lodash": "~1.3.1",
129 "string-escape": "~0.1.6",
130 "grunt-curl": "~1.1.1"
131 },
132 "_id": "[email protected]",
133 "dist": {
134 "shasum": "0938123417e6ada2be2f2b1bb4e3c94313bd1b62",
135 "tarball": "https://registry.npmjs.org/he/-/he-0.1.1.tgz"
136 },
137 "_from": ".",
138 "_npmVersion": "1.2.30",
139 "_npmUser": {
140 "name": "mathias",
141 "email": "[email protected]"
142 },
143 "maintainers": [
144 {
145 "name": "mathias",
146 "email": "[email protected]"
147 }
148 ]
149 },
150 "0.1.2": {
151 "name": "he",
152 "version": "0.1.2",
153 "description": "A robust HTML entities encoder/decoder with full Unicode support.",
154 "homepage": "http://mths.be/he",
155 "main": "he.js",
156 "keywords": [
157 "string",
158 "entities",
159 "entity",
160 "html",
161 "encode",
162 "decode",
163 "unicode"
164 ],
165 "licenses": [
166 {
167 "type": "MIT",
168 "url": "http://mths.be/mit"
169 }
170 ],
171 "author": {
172 "name": "Mathias Bynens",
173 "url": "http://mathiasbynens.be/"
174 },
175 "repository": {
176 "type": "git",
177 "url": "https://github.com/mathiasbynens/he.git"
178 },
179 "bugs": {
180 "url": "https://github.com/mathiasbynens/he/issues"
181 },
182 "directories": {
183 "test": "tests"
184 },
185 "scripts": {
186 "test": "node tests/tests.js"
187 },
188 "dependencies": {},
189 "devDependencies": {
190 "grunt": "~0.4.1",
191 "grunt-curl": "~1.1.1",
192 "grunt-shell": "~0.3.0",
193 "grunt-template": "~0.1.0",
194 "istanbul": "~0.1.37",
195 "lodash": "~1.3.1",
196 "qunit-clib": "~1.3.0",
197 "qunitjs": "~1.11.0",
198 "regenerate": "~0.5.2",
199 "requirejs": "~2.1.6",
200 "string-escape": "~0.1.6"
201 },
202 "_id": "[email protected]",
203 "dist": {
204 "shasum": "031f56851e950bddb110dd958f8592b41acc5ba6",
205 "tarball": "https://registry.npmjs.org/he/-/he-0.1.2.tgz"
206 },
207 "_from": ".",
208 "_npmVersion": "1.2.30",
209 "_npmUser": {
210 "name": "mathias",
211 "email": "[email protected]"
212 },
213 "maintainers": [
214 {
215 "name": "mathias",
216 "email": "[email protected]"
217 }
218 ]
219 },
220 "0.1.3": {
221 "name": "he",
222 "version": "0.1.3",
223 "description": "A robust HTML entities encoder/decoder with full Unicode support.",
224 "homepage": "http://mths.be/he",
225 "main": "he.js",
226 "keywords": [
227 "string",
228 "entities",
229 "entity",
230 "html",
231 "encode",
232 "decode",
233 "unicode"
234 ],
235 "licenses": [
236 {
237 "type": "MIT",
238 "url": "http://mths.be/mit"
239 }
240 ],
241 "author": {
242 "name": "Mathias Bynens",
243 "url": "http://mathiasbynens.be/"
244 },
245 "repository": {
246 "type": "git",
247 "url": "https://github.com/mathiasbynens/he.git"
248 },
249 "bugs": {
250 "url": "https://github.com/mathiasbynens/he/issues"
251 },
252 "directories": {
253 "test": "tests"
254 },
255 "scripts": {
256 "test": "node tests/tests.js"
257 },
258 "dependencies": {},
259 "devDependencies": {
260 "grunt": "~0.4.1",
261 "grunt-curl": "~1.1.1",
262 "grunt-shell": "~0.3.0",
263 "grunt-template": "~0.1.0",
264 "istanbul": "~0.1.37",
265 "lodash": "~1.3.1",
266 "qunit-clib": "~1.3.0",
267 "qunitjs": "~1.11.0",
268 "regenerate": "~0.5.2",
269 "requirejs": "~2.1.6",
270 "string-escape": "~0.1.6"
271 },
272 "_id": "[email protected]",
273 "dist": {
274 "shasum": "879aeb954f0846116e58d5694366d95dab6df495",
275 "tarball": "https://registry.npmjs.org/he/-/he-0.1.3.tgz"
276 },
277 "_from": ".",
278 "_npmVersion": "1.2.30",
279 "_npmUser": {
280 "name": "mathias",
281 "email": "[email protected]"
282 },
283 "maintainers": [
284 {
285 "name": "mathias",
286 "email": "[email protected]"
287 }
288 ]
289 },
290 "0.1.4": {
291 "name": "he",
292 "version": "0.1.4",
293 "description": "A robust HTML entities encoder/decoder with full Unicode support.",
294 "homepage": "http://mths.be/he",
295 "main": "he.js",
296 "keywords": [
297 "string",
298 "entities",
299 "entity",
300 "html",
301 "encode",
302 "decode",
303 "unicode"
304 ],
305 "licenses": [
306 {
307 "type": "MIT",
308 "url": "http://mths.be/mit"
309 }
310 ],
311 "author": {
312 "name": "Mathias Bynens",
313 "url": "http://mathiasbynens.be/"
314 },
315 "repository": {
316 "type": "git",
317 "url": "https://github.com/mathiasbynens/he.git"
318 },
319 "bugs": {
320 "url": "https://github.com/mathiasbynens/he/issues"
321 },
322 "directories": {
323 "test": "tests"
324 },
325 "scripts": {
326 "test": "node tests/tests.js"
327 },
328 "dependencies": {},
329 "devDependencies": {
330 "grunt": "~0.4.1",
331 "grunt-curl": "~1.1.1",
332 "grunt-shell": "~0.3.0",
333 "grunt-template": "~0.1.0",
334 "istanbul": "~0.1.37",
335 "lodash": "~1.3.1",
336 "qunit-clib": "~1.3.0",
337 "qunitjs": "~1.11.0",
338 "regenerate": "~0.5.2",
339 "requirejs": "~2.1.6",
340 "string-escape": "~0.1.6"
341 },
342 "_id": "[email protected]",
343 "dist": {
344 "shasum": "b772cb498842d6f6918b0e56079a6df27d966703",
345 "tarball": "https://registry.npmjs.org/he/-/he-0.1.4.tgz"
346 },
347 "_from": ".",
348 "_npmVersion": "1.2.30",
349 "_npmUser": {
350 "name": "mathias",
351 "email": "[email protected]"
352 },
353 "maintainers": [
354 {
355 "name": "mathias",
356 "email": "[email protected]"
357 }
358 ]
359 },
360 "0.1.5": {
361 "name": "he",
362 "version": "0.1.5",
363 "description": "A robust HTML entities encoder/decoder with full Unicode support.",
364 "homepage": "http://mths.be/he",
365 "main": "he.js",
366 "keywords": [
367 "string",
368 "entities",
369 "entity",
370 "html",
371 "encode",
372 "decode",
373 "unicode"
374 ],
375 "licenses": [
376 {
377 "type": "MIT",
378 "url": "http://mths.be/mit"
379 }
380 ],
381 "author": {
382 "name": "Mathias Bynens",
383 "url": "http://mathiasbynens.be/"
384 },
385 "repository": {
386 "type": "git",
387 "url": "https://github.com/mathiasbynens/he.git"
388 },
389 "bugs": {
390 "url": "https://github.com/mathiasbynens/he/issues"
391 },
392 "directories": {
393 "test": "tests"
394 },
395 "scripts": {
396 "test": "node tests/tests.js"
397 },
398 "dependencies": {},
399 "devDependencies": {
400 "grunt": "~0.4.1",
401 "grunt-curl": "~1.1.1",
402 "grunt-shell": "~0.3.0",
403 "grunt-template": "~0.1.0",
404 "istanbul": "~0.1.37",
405 "lodash": "~1.3.1",
406 "qunit-clib": "~1.3.0",
407 "qunitjs": "~1.11.0",
408 "regenerate": "~0.5.2",
409 "requirejs": "~2.1.6",
410 "string-escape": "~0.1.6"
411 },
412 "_id": "[email protected]",
413 "dist": {
414 "shasum": "3b0e16129145e644589e62eec823ff6818fc4645",
415 "tarball": "https://registry.npmjs.org/he/-/he-0.1.5.tgz"
416 },
417 "_from": ".",
418 "_npmVersion": "1.2.30",
419 "_npmUser": {
420 "name": "mathias",
421 "email": "[email protected]"
422 },
423 "maintainers": [
424 {
425 "name": "mathias",
426 "email": "[email protected]"
427 }
428 ]
429 },
430 "0.1.6": {
431 "name": "he",
432 "version": "0.1.6",
433 "description": "A robust HTML entities encoder/decoder with full Unicode support.",
434 "homepage": "http://mths.be/he",
435 "main": "he.js",
436 "keywords": [
437 "string",
438 "entities",
439 "entity",
440 "html",
441 "encode",
442 "decode",
443 "unicode"
444 ],
445 "licenses": [
446 {
447 "type": "MIT",
448 "url": "http://mths.be/mit"
449 }
450 ],
451 "author": {
452 "name": "Mathias Bynens",
453 "url": "http://mathiasbynens.be/"
454 },
455 "repository": {
456 "type": "git",
457 "url": "https://github.com/mathiasbynens/he.git"
458 },
459 "bugs": {
460 "url": "https://github.com/mathiasbynens/he/issues"
461 },
462 "directories": {
463 "test": "tests"
464 },
465 "scripts": {
466 "test": "node tests/tests.js"
467 },
468 "dependencies": {},
469 "devDependencies": {
470 "grunt": "~0.4.1",
471 "grunt-curl": "~1.1.1",
472 "grunt-shell": "~0.3.0",
473 "grunt-template": "~0.1.0",
474 "istanbul": "~0.1.37",
475 "lodash": "~1.3.1",
476 "qunit-clib": "~1.3.0",
477 "qunitjs": "~1.11.0",
478 "regenerate": "~0.5.2",
479 "requirejs": "~2.1.6",
480 "string-escape": "~0.1.6"
481 },
482 "_id": "[email protected]",
483 "dist": {
484 "shasum": "69b020bd6ab6196b42562b1c2192887ece2815f9",
485 "tarball": "https://registry.npmjs.org/he/-/he-0.1.6.tgz"
486 },
487 "_from": ".",
488 "_npmVersion": "1.2.30",
489 "_npmUser": {
490 "name": "mathias",
491 "email": "[email protected]"
492 },
493 "maintainers": [
494 {
495 "name": "mathias",
496 "email": "[email protected]"
497 }
498 ]
499 },
500 "0.1.7": {
501 "name": "he",
502 "version": "0.1.7",
503 "description": "A robust HTML entities encoder/decoder with full Unicode support.",
504 "homepage": "http://mths.be/he",
505 "main": "he.js",
506 "keywords": [
507 "string",
508 "entities",
509 "entity",
510 "html",
511 "encode",
512 "decode",
513 "unicode"
514 ],
515 "licenses": [
516 {
517 "type": "MIT",
518 "url": "http://mths.be/mit"
519 }
520 ],
521 "author": {
522 "name": "Mathias Bynens",
523 "url": "http://mathiasbynens.be/"
524 },
525 "repository": {
526 "type": "git",
527 "url": "https://github.com/mathiasbynens/he.git"
528 },
529 "bugs": {
530 "url": "https://github.com/mathiasbynens/he/issues"
531 },
532 "directories": {
533 "test": "tests"
534 },
535 "scripts": {
536 "test": "node tests/tests.js"
537 },
538 "dependencies": {},
539 "devDependencies": {
540 "grunt": "~0.4.1",
541 "grunt-curl": "~1.1.1",
542 "grunt-shell": "~0.3.0",
543 "grunt-template": "~0.1.0",
544 "istanbul": "~0.1.37",
545 "lodash": "~1.3.1",
546 "qunit-clib": "~1.3.0",
547 "qunitjs": "~1.11.0",
548 "regenerate": "~0.5.2",
549 "requirejs": "~2.1.6",
550 "string-escape": "~0.1.6"
551 },
552 "_id": "[email protected]",
553 "dist": {
554 "shasum": "c5e17c7c61a8a668b249279a9ffe30ca14f3bf64",
555 "tarball": "https://registry.npmjs.org/he/-/he-0.1.7.tgz"
556 },
557 "_from": ".",
558 "_npmVersion": "1.2.30",
559 "_npmUser": {
560 "name": "mathias",
561 "email": "[email protected]"
562 },
563 "maintainers": [
564 {
565 "name": "mathias",
566 "email": "[email protected]"
567 }
568 ]
569 },
570 "0.1.8": {
571 "name": "he",
572 "version": "0.1.8",
573 "description": "A robust HTML entities encoder/decoder with full Unicode support.",
574 "homepage": "http://mths.be/he",
575 "main": "he.js",
576 "keywords": [
577 "string",
578 "entities",
579 "entity",
580 "html",
581 "encode",
582 "decode",
583 "unicode"
584 ],
585 "licenses": [
586 {
587 "type": "MIT",
588 "url": "http://mths.be/mit"
589 }
590 ],
591 "author": {
592 "name": "Mathias Bynens",
593 "url": "http://mathiasbynens.be/"
594 },
595 "repository": {
596 "type": "git",
597 "url": "https://github.com/mathiasbynens/he.git"
598 },
599 "bugs": {
600 "url": "https://github.com/mathiasbynens/he/issues"
601 },
602 "directories": {
603 "test": "tests"
604 },
605 "scripts": {
606 "test": "node tests/tests.js"
607 },
608 "dependencies": {},
609 "devDependencies": {
610 "grunt": "~0.4.1",
611 "grunt-curl": "~1.1.1",
612 "grunt-shell": "~0.3.0",
613 "grunt-template": "~0.1.0",
614 "istanbul": "~0.1.37",
615 "lodash": "~1.3.1",
616 "qunit-clib": "~1.3.0",
617 "qunitjs": "~1.11.0",
618 "regenerate": "~0.5.2",
619 "requirejs": "~2.1.6",
620 "string-escape": "~0.1.6"
621 },
622 "_id": "[email protected]",
623 "dist": {
624 "shasum": "4350e7c9506269928f9d84c21a2d49f1ab49d797",
625 "tarball": "https://registry.npmjs.org/he/-/he-0.1.8.tgz"
626 },
627 "_from": ".",
628 "_npmVersion": "1.2.30",
629 "_npmUser": {
630 "name": "mathias",
631 "email": "[email protected]"
632 },
633 "maintainers": [
634 {
635 "name": "mathias",
636 "email": "[email protected]"
637 }
638 ]
639 },
640 "0.1.9": {
641 "name": "he",
642 "version": "0.1.9",
643 "description": "A robust HTML entities encoder/decoder with full Unicode support.",
644 "homepage": "http://mths.be/he",
645 "main": "he.js",
646 "keywords": [
647 "string",
648 "entities",
649 "entity",
650 "html",
651 "encode",
652 "decode",
653 "unicode"
654 ],
655 "licenses": [
656 {
657 "type": "MIT",
658 "url": "http://mths.be/mit"
659 }
660 ],
661 "author": {
662 "name": "Mathias Bynens",
663 "url": "http://mathiasbynens.be/"
664 },
665 "repository": {
666 "type": "git",
667 "url": "https://github.com/mathiasbynens/he.git"
668 },
669 "bugs": {
670 "url": "https://github.com/mathiasbynens/he/issues"
671 },
672 "directories": {
673 "test": "tests"
674 },
675 "scripts": {
676 "test": "node tests/tests.js"
677 },
678 "dependencies": {},
679 "devDependencies": {
680 "grunt": "~0.4.1",
681 "grunt-shell": "~0.3.0",
682 "grunt-template": "~0.1.0",
683 "istanbul": "~0.1.37",
684 "lodash": "~1.3.1",
685 "qunit-clib": "~1.3.0",
686 "qunitjs": "~1.11.0",
687 "regenerate": "~0.5.2",
688 "requirejs": "~2.1.6",
689 "string-escape": "~0.1.6"
690 },
691 "_id": "[email protected]",
692 "dist": {
693 "shasum": "0354548643682c12752c63bc39e7bbbf9df096bf",
694 "tarball": "https://registry.npmjs.org/he/-/he-0.1.9.tgz"
695 },
696 "_from": ".",
697 "_npmVersion": "1.2.30",
698 "_npmUser": {
699 "name": "mathias",
700 "email": "[email protected]"
701 },
702 "maintainers": [
703 {
704 "name": "mathias",
705 "email": "[email protected]"
706 }
707 ]
708 },
709 "0.1.10": {
710 "name": "he",
711 "version": "0.1.10",
712 "description": "A robust HTML entities encoder/decoder with full Unicode support.",
713 "homepage": "http://mths.be/he",
714 "main": "he.js",
715 "keywords": [
716 "string",
717 "entities",
718 "entity",
719 "html",
720 "encode",
721 "decode",
722 "unicode"
723 ],
724 "licenses": [
725 {
726 "type": "MIT",
727 "url": "http://mths.be/mit"
728 }
729 ],
730 "author": {
731 "name": "Mathias Bynens",
732 "url": "http://mathiasbynens.be/"
733 },
734 "repository": {
735 "type": "git",
736 "url": "https://github.com/mathiasbynens/he.git"
737 },
738 "bugs": {
739 "url": "https://github.com/mathiasbynens/he/issues"
740 },
741 "directories": {
742 "test": "tests"
743 },
744 "scripts": {
745 "test": "node tests/tests.js"
746 },
747 "dependencies": {},
748 "devDependencies": {
749 "grunt": "~0.4.1",
750 "grunt-shell": "~0.3.0",
751 "grunt-template": "~0.1.0",
752 "istanbul": "~0.1.37",
753 "lodash": "~1.3.1",
754 "qunit-clib": "~1.3.0",
755 "qunitjs": "~1.11.0",
756 "regenerate": "~0.5.2",
757 "requirejs": "~2.1.6",
758 "string-escape": "~0.1.6"
759 },
760 "_id": "[email protected]",
761 "dist": {
762 "shasum": "183ecc8f277a2a577f5b2b0c2a08eb3fa908cb1f",
763 "tarball": "https://registry.npmjs.org/he/-/he-0.1.10.tgz"
764 },
765 "_from": ".",
766 "_npmVersion": "1.2.30",
767 "_npmUser": {
768 "name": "mathias",
769 "email": "[email protected]"
770 },
771 "maintainers": [
772 {
773 "name": "mathias",
774 "email": "[email protected]"
775 }
776 ]
777 },
778 "0.2.0": {
779 "name": "he",
780 "version": "0.2.0",
781 "description": "A robust HTML entities encoder/decoder with full Unicode support.",
782 "homepage": "http://mths.be/he",
783 "main": "he.js",
784 "keywords": [
785 "string",
786 "entities",
787 "entity",
788 "html",
789 "encode",
790 "decode",
791 "unicode"
792 ],
793 "licenses": [
794 {
795 "type": "MIT",
796 "url": "http://mths.be/mit"
797 }
798 ],
799 "author": {
800 "name": "Mathias Bynens",
801 "url": "http://mathiasbynens.be/"
802 },
803 "repository": {
804 "type": "git",
805 "url": "https://github.com/mathiasbynens/he.git"
806 },
807 "bugs": {
808 "url": "https://github.com/mathiasbynens/he/issues"
809 },
810 "directories": {
811 "test": "tests"
812 },
813 "scripts": {
814 "test": "node tests/tests.js"
815 },
816 "dependencies": {},
817 "devDependencies": {
818 "grunt": "~0.4.1",
819 "grunt-shell": "~0.3.0",
820 "grunt-template": "~0.1.0",
821 "istanbul": "~0.1.37",
822 "lodash": "~1.3.1",
823 "qunit-clib": "~1.3.0",
824 "qunitjs": "~1.11.0",
825 "regenerate": "~0.5.2",
826 "requirejs": "~2.1.6",
827 "string-escape": "~0.1.6"
828 },
829 "_id": "[email protected]",
830 "dist": {
831 "shasum": "fe1509700c35d4115b715ed80ebd2f5fbbf7d90b",
832 "tarball": "https://registry.npmjs.org/he/-/he-0.2.0.tgz"
833 },
834 "_from": ".",
835 "_npmVersion": "1.2.30",
836 "_npmUser": {
837 "name": "mathias",
838 "email": "[email protected]"
839 },
840 "maintainers": [
841 {
842 "name": "mathias",
843 "email": "[email protected]"
844 }
845 ]
846 },
847 "0.2.1": {
848 "name": "he",
849 "version": "0.2.1",
850 "description": "A robust HTML entities encoder/decoder with full Unicode support.",
851 "homepage": "http://mths.be/he",
852 "main": "he.js",
853 "keywords": [
854 "string",
855 "entities",
856 "entity",
857 "html",
858 "encode",
859 "decode",
860 "unicode"
861 ],
862 "licenses": [
863 {
864 "type": "MIT",
865 "url": "http://mths.be/mit"
866 }
867 ],
868 "author": {
869 "name": "Mathias Bynens",
870 "url": "http://mathiasbynens.be/"
871 },
872 "repository": {
873 "type": "git",
874 "url": "https://github.com/mathiasbynens/he.git"
875 },
876 "bugs": {
877 "url": "https://github.com/mathiasbynens/he/issues"
878 },
879 "directories": {
880 "test": "tests"
881 },
882 "scripts": {
883 "test": "node tests/tests.js"
884 },
885 "dependencies": {},
886 "devDependencies": {
887 "grunt": "~0.4.1",
888 "grunt-shell": "~0.3.0",
889 "grunt-template": "~0.2.0",
890 "istanbul": "~0.1.37",
891 "lodash": "~1.3.1",
892 "qunit-clib": "~1.3.0",
893 "qunitjs": "~1.11.0",
894 "regenerate": "~0.5.2",
895 "requirejs": "~2.1.6",
896 "string-escape": "~0.2.2"
897 },
898 "_id": "[email protected]",
899 "dist": {
900 "shasum": "6e97081ab21e8ba6df01d9070b648d6fe7a5da6f",
901 "tarball": "https://registry.npmjs.org/he/-/he-0.2.1.tgz"
902 },
903 "_from": ".",
904 "_npmVersion": "1.2.30",
905 "_npmUser": {
906 "name": "mathias",
907 "email": "[email protected]"
908 },
909 "maintainers": [
910 {
911 "name": "mathias",
912 "email": "[email protected]"
913 }
914 ]
915 },
916 "0.3.0": {
917 "name": "he",
918 "version": "0.3.0",
919 "description": "A robust HTML entities encoder/decoder with full Unicode support.",
920 "homepage": "http://mths.be/he",
921 "main": "he.js",
922 "keywords": [
923 "string",
924 "entities",
925 "entity",
926 "html",
927 "encode",
928 "decode",
929 "unicode"
930 ],
931 "licenses": [
932 {
933 "type": "MIT",
934 "url": "http://mths.be/mit"
935 }
936 ],
937 "author": {
938 "name": "Mathias Bynens",
939 "url": "http://mathiasbynens.be/"
940 },
941 "repository": {
942 "type": "git",
943 "url": "https://github.com/mathiasbynens/he.git"
944 },
945 "bugs": {
946 "url": "https://github.com/mathiasbynens/he/issues"
947 },
948 "directories": {
949 "test": "tests"
950 },
951 "scripts": {
952 "test": "node tests/tests.js"
953 },
954 "dependencies": {},
955 "devDependencies": {
956 "grunt": "~0.4.1",
957 "grunt-shell": "~0.3.0",
958 "grunt-template": "~0.2.0",
959 "istanbul": "~0.1.37",
960 "lodash": "~1.3.1",
961 "qunit-clib": "~1.3.0",
962 "qunitjs": "~1.11.0",
963 "regenerate": "~0.5.2",
964 "requirejs": "~2.1.6",
965 "string-escape": "~0.2.2"
966 },
967 "_id": "[email protected]",
968 "dist": {
969 "shasum": "acd9b93774b6c85af4da8aa49f304ef462005aff",
970 "tarball": "https://registry.npmjs.org/he/-/he-0.3.0.tgz"
971 },
972 "_from": ".",
973 "_npmVersion": "1.2.30",
974 "_npmUser": {
975 "name": "mathias",
976 "email": "[email protected]"
977 },
978 "maintainers": [
979 {
980 "name": "mathias",
981 "email": "[email protected]"
982 }
983 ]
984 },
985 "0.3.1": {
986 "name": "he",
987 "version": "0.3.1",
988 "description": "A robust HTML entities encoder/decoder with full Unicode support.",
989 "homepage": "http://mths.be/he",
990 "main": "he.js",
991 "keywords": [
992 "string",
993 "entities",
994 "entity",
995 "html",
996 "encode",
997 "decode",
998 "unicode"
999 ],
1000 "licenses": [
1001 {
1002 "type": "MIT",
1003 "url": "http://mths.be/mit"
1004 }
1005 ],
1006 "author": {
1007 "name": "Mathias Bynens",
1008 "url": "http://mathiasbynens.be/"
1009 },
1010 "repository": {
1011 "type": "git",
1012 "url": "https://github.com/mathiasbynens/he.git"
1013 },
1014 "bugs": {
1015 "url": "https://github.com/mathiasbynens/he/issues"
1016 },
1017 "directories": {
1018 "test": "tests"
1019 },
1020 "scripts": {
1021 "test": "node tests/tests.js"
1022 },
1023 "dependencies": {},
1024 "devDependencies": {
1025 "grunt": "~0.4.1",
1026 "grunt-shell": "~0.3.0",
1027 "grunt-template": "~0.2.0",
1028 "istanbul": "~0.1.37",
1029 "lodash": "~1.3.1",
1030 "qunit-clib": "~1.3.0",
1031 "qunitjs": "~1.11.0",
1032 "regenerate": "~0.5.2",
1033 "requirejs": "~2.1.6",
1034 "string-escape": "~0.2.2"
1035 },
1036 "_id": "[email protected]",
1037 "dist": {
1038 "shasum": "2a558a6dd2d06163351ba535868051a32749751e",
1039 "tarball": "https://registry.npmjs.org/he/-/he-0.3.1.tgz"
1040 },
1041 "_from": ".",
1042 "_npmVersion": "1.2.30",
1043 "_npmUser": {
1044 "name": "mathias",
1045 "email": "[email protected]"
1046 },
1047 "maintainers": [
1048 {
1049 "name": "mathias",
1050 "email": "[email protected]"
1051 }
1052 ]
1053 },
1054 "0.3.2": {
1055 "name": "he",
1056 "version": "0.3.2",
1057 "description": "A robust HTML entities encoder/decoder with full Unicode support.",
1058 "homepage": "http://mths.be/he",
1059 "main": "he.js",
1060 "bin": {
1061 "he": "bin/he"
1062 },
1063 "man": [
1064 "man/he.1"
1065 ],
1066 "keywords": [
1067 "string",
1068 "entities",
1069 "entity",
1070 "html",
1071 "encode",
1072 "decode",
1073 "unicode"
1074 ],
1075 "licenses": [
1076 {
1077 "type": "MIT",
1078 "url": "http://mths.be/mit"
1079 }
1080 ],
1081 "author": {
1082 "name": "Mathias Bynens",
1083 "url": "http://mathiasbynens.be/"
1084 },
1085 "repository": {
1086 "type": "git",
1087 "url": "https://github.com/mathiasbynens/he.git"
1088 },
1089 "bugs": {
1090 "url": "https://github.com/mathiasbynens/he/issues"
1091 },
1092 "files": [
1093 "LICENSE-MIT.txt",
1094 "he.js",
1095 "bin/",
1096 "man/"
1097 ],
1098 "directories": {
1099 "test": "tests"
1100 },
1101 "scripts": {
1102 "test": "node tests/tests.js"
1103 },
1104 "dependencies": {},
1105 "devDependencies": {
1106 "grunt": "~0.4.1",
1107 "grunt-shell": "~0.3.1",
1108 "grunt-template": "~0.2.0",
1109 "istanbul": "~0.1.42",
1110 "jsesc": "~0.3.0",
1111 "lodash": "~1.3.1",
1112 "qunit-clib": "~1.3.0",
1113 "qunitjs": "~1.11.0",
1114 "regenerate": "~0.5.2",
1115 "requirejs": "~2.1.8"
1116 },
1117 "_id": "[email protected]",
1118 "dist": {
1119 "shasum": "928e2df76f564a60d51b36825a11c47d5a9e74e2",
1120 "tarball": "https://registry.npmjs.org/he/-/he-0.3.2.tgz"
1121 },
1122 "_from": ".",
1123 "_npmVersion": "1.2.32",
1124 "_npmUser": {
1125 "name": "mathias",
1126 "email": "[email protected]"
1127 },
1128 "maintainers": [
1129 {
1130 "name": "mathias",
1131 "email": "[email protected]"
1132 }
1133 ]
1134 },
1135 "0.3.3": {
1136 "name": "he",
1137 "version": "0.3.3",
1138 "description": "A robust HTML entities encoder/decoder with full Unicode support.",
1139 "homepage": "http://mths.be/he",
1140 "main": "he.js",
1141 "bin": {
1142 "he": "bin/he"
1143 },
1144 "man": [
1145 "man/he.1"
1146 ],
1147 "keywords": [
1148 "string",
1149 "entities",
1150 "entity",
1151 "html",
1152 "encode",
1153 "decode",
1154 "unicode"
1155 ],
1156 "licenses": [
1157 {
1158 "type": "MIT",
1159 "url": "http://mths.be/mit"
1160 }
1161 ],
1162 "author": {
1163 "name": "Mathias Bynens",
1164 "url": "http://mathiasbynens.be/"
1165 },
1166 "repository": {
1167 "type": "git",
1168 "url": "https://github.com/mathiasbynens/he.git"
1169 },
1170 "bugs": {
1171 "url": "https://github.com/mathiasbynens/he/issues"
1172 },
1173 "files": [
1174 "LICENSE-MIT.txt",
1175 "he.js",
1176 "bin/",
1177 "man/"
1178 ],
1179 "directories": {
1180 "test": "tests"
1181 },
1182 "scripts": {
1183 "test": "node tests/tests.js"
1184 },
1185 "dependencies": {},
1186 "devDependencies": {
1187 "grunt": "~0.4.1",
1188 "grunt-shell": "~0.3.1",
1189 "grunt-template": "~0.2.0",
1190 "istanbul": "~0.1.42",
1191 "jsesc": "~0.3.0",
1192 "lodash": "~1.3.1",
1193 "qunit-clib": "~1.3.0",
1194 "qunitjs": "~1.11.0",
1195 "regenerate": "~0.5.2",
1196 "requirejs": "~2.1.8"
1197 },
1198 "_id": "[email protected]",
1199 "dist": {
1200 "shasum": "0aef2ba87ec9ce434c0381f4767f1a3ebe154a45",
1201 "tarball": "https://registry.npmjs.org/he/-/he-0.3.3.tgz"
1202 },
1203 "_from": ".",
1204 "_npmVersion": "1.2.32",
1205 "_npmUser": {
1206 "name": "mathias",
1207 "email": "[email protected]"
1208 },
1209 "maintainers": [
1210 {
1211 "name": "mathias",
1212 "email": "[email protected]"
1213 }
1214 ]
1215 },
1216 "0.3.4": {
1217 "name": "he",
1218 "version": "0.3.4",
1219 "description": "A robust HTML entities encoder/decoder with full Unicode support.",
1220 "homepage": "http://mths.be/he",
1221 "main": "he.js",
1222 "bin": {
1223 "he": "bin/he"
1224 },
1225 "man": [
1226 "man/he.1"
1227 ],
1228 "keywords": [
1229 "string",
1230 "entities",
1231 "entity",
1232 "html",
1233 "encode",
1234 "decode",
1235 "unicode"
1236 ],
1237 "licenses": [
1238 {
1239 "type": "MIT",
1240 "url": "http://mths.be/mit"
1241 }
1242 ],
1243 "author": {
1244 "name": "Mathias Bynens",
1245 "url": "http://mathiasbynens.be/"
1246 },
1247 "repository": {
1248 "type": "git",
1249 "url": "https://github.com/mathiasbynens/he.git"
1250 },
1251 "bugs": {
1252 "url": "https://github.com/mathiasbynens/he/issues"
1253 },
1254 "files": [
1255 "LICENSE-MIT.txt",
1256 "he.js",
1257 "bin/",
1258 "man/"
1259 ],
1260 "directories": {
1261 "test": "tests"
1262 },
1263 "scripts": {
1264 "test": "node tests/tests.js"
1265 },
1266 "dependencies": {},
1267 "devDependencies": {
1268 "grunt": "~0.4.1",
1269 "grunt-shell": "~0.3.1",
1270 "grunt-template": "~0.2.0",
1271 "istanbul": "~0.1.42",
1272 "jsesc": "~0.3.0",
1273 "lodash": "~1.3.1",
1274 "qunit-clib": "~1.3.0",
1275 "qunitjs": "~1.11.0",
1276 "regenerate": "~0.5.2",
1277 "requirejs": "~2.1.8"
1278 },
1279 "_id": "[email protected]",
1280 "dist": {
1281 "shasum": "b9d808667263d003fd00aac92ab57b869957c9d8",
1282 "tarball": "https://registry.npmjs.org/he/-/he-0.3.4.tgz"
1283 },
1284 "_from": ".",
1285 "_npmVersion": "1.2.32",
1286 "_npmUser": {
1287 "name": "mathias",
1288 "email": "[email protected]"
1289 },
1290 "maintainers": [
1291 {
1292 "name": "mathias",
1293 "email": "[email protected]"
1294 }
1295 ]
1296 },
1297 "0.3.5": {
1298 "name": "he",
1299 "version": "0.3.5",
1300 "description": "A robust HTML entities encoder/decoder with full Unicode support.",
1301 "homepage": "http://mths.be/he",
1302 "main": "he.js",
1303 "bin": {
1304 "he": "bin/he"
1305 },
1306 "man": [
1307 "man/he.1"
1308 ],
1309 "keywords": [
1310 "string",
1311 "entities",
1312 "entity",
1313 "html",
1314 "encode",
1315 "decode",
1316 "unicode"
1317 ],
1318 "licenses": [
1319 {
1320 "type": "MIT",
1321 "url": "http://mths.be/mit"
1322 }
1323 ],
1324 "author": {
1325 "name": "Mathias Bynens",
1326 "url": "http://mathiasbynens.be/"
1327 },
1328 "repository": {
1329 "type": "git",
1330 "url": "https://github.com/mathiasbynens/he.git"
1331 },
1332 "bugs": {
1333 "url": "https://github.com/mathiasbynens/he/issues"
1334 },
1335 "files": [
1336 "LICENSE-MIT.txt",
1337 "he.js",
1338 "bin/",
1339 "man/"
1340 ],
1341 "directories": {
1342 "test": "tests"
1343 },
1344 "scripts": {
1345 "test": "node tests/tests.js"
1346 },
1347 "dependencies": {},
1348 "devDependencies": {
1349 "grunt": "~0.4.1",
1350 "grunt-shell": "~0.3.1",
1351 "grunt-template": "~0.2.0",
1352 "istanbul": "~0.1.42",
1353 "jsesc": "~0.3.0",
1354 "lodash": "~1.3.1",
1355 "qunit-clib": "~1.3.0",
1356 "qunitjs": "~1.11.0",
1357 "regenerate": "~0.5.2",
1358 "requirejs": "~2.1.8"
1359 },
1360 "_id": "[email protected]",
1361 "dist": {
1362 "shasum": "1c2025f18a3bbfcc5f4e0e5db85658b34d2dd619",
1363 "tarball": "https://registry.npmjs.org/he/-/he-0.3.5.tgz"
1364 },
1365 "_from": ".",
1366 "_npmVersion": "1.2.32",
1367 "_npmUser": {
1368 "name": "mathias",
1369 "email": "[email protected]"
1370 },
1371 "maintainers": [
1372 {
1373 "name": "mathias",
1374 "email": "[email protected]"
1375 }
1376 ]
1377 },
1378 "0.3.6": {
1379 "name": "he",
1380 "version": "0.3.6",
1381 "description": "A robust HTML entities encoder/decoder with full Unicode support.",
1382 "homepage": "http://mths.be/he",
1383 "main": "he.js",
1384 "bin": {
1385 "he": "bin/he"
1386 },
1387 "man": [
1388 "man/he.1"
1389 ],
1390 "keywords": [
1391 "string",
1392 "entities",
1393 "entity",
1394 "html",
1395 "encode",
1396 "decode",
1397 "unicode"
1398 ],
1399 "licenses": [
1400 {
1401 "type": "MIT",
1402 "url": "http://mths.be/mit"
1403 }
1404 ],
1405 "author": {
1406 "name": "Mathias Bynens",
1407 "url": "http://mathiasbynens.be/"
1408 },
1409 "repository": {
1410 "type": "git",
1411 "url": "https://github.com/mathiasbynens/he.git"
1412 },
1413 "bugs": {
1414 "url": "https://github.com/mathiasbynens/he/issues"
1415 },
1416 "files": [
1417 "LICENSE-MIT.txt",
1418 "he.js",
1419 "bin/",
1420 "man/"
1421 ],
1422 "directories": {
1423 "test": "tests"
1424 },
1425 "scripts": {
1426 "test": "node tests/tests.js"
1427 },
1428 "dependencies": {},
1429 "devDependencies": {
1430 "grunt": "~0.4.1",
1431 "grunt-shell": "~0.3.1",
1432 "grunt-template": "~0.2.0",
1433 "istanbul": "~0.1.43",
1434 "jsesc": "~0.4.1",
1435 "lodash": "~1.3.1",
1436 "qunit-clib": "~1.3.0",
1437 "qunitjs": "~1.11.0",
1438 "regenerate": "~0.5.2",
1439 "requirejs": "~2.1.8"
1440 },
1441 "_id": "[email protected]",
1442 "dist": {
1443 "shasum": "9d7bc446e77963933301dd602d5731cb861135e0",
1444 "tarball": "https://registry.npmjs.org/he/-/he-0.3.6.tgz"
1445 },
1446 "_from": ".",
1447 "_npmVersion": "1.2.32",
1448 "_npmUser": {
1449 "name": "mathias",
1450 "email": "[email protected]"
1451 },
1452 "maintainers": [
1453 {
1454 "name": "mathias",
1455 "email": "[email protected]"
1456 }
1457 ]
1458 },
1459 "0.4.0": {
1460 "name": "he",
1461 "version": "0.4.0",
1462 "description": "A robust HTML entities encoder/decoder with full Unicode support.",
1463 "homepage": "http://mths.be/he",
1464 "main": "he.js",
1465 "bin": {
1466 "he": "bin/he"
1467 },
1468 "keywords": [
1469 "string",
1470 "entities",
1471 "entity",
1472 "html",
1473 "encode",
1474 "decode",
1475 "unicode"
1476 ],
1477 "licenses": [
1478 {
1479 "type": "MIT",
1480 "url": "http://mths.be/mit"
1481 }
1482 ],
1483 "author": {
1484 "name": "Mathias Bynens",
1485 "url": "http://mathiasbynens.be/"
1486 },
1487 "repository": {
1488 "type": "git",
1489 "url": "https://github.com/mathiasbynens/he.git"
1490 },
1491 "bugs": {
1492 "url": "https://github.com/mathiasbynens/he/issues"
1493 },
1494 "files": [
1495 "LICENSE-MIT.txt",
1496 "he.js",
1497 "bin/",
1498 "man/"
1499 ],
1500 "directories": {
1501 "bin": "bin",
1502 "man": "man",
1503 "test": "tests"
1504 },
1505 "scripts": {
1506 "test": "node tests/tests.js"
1507 },
1508 "devDependencies": {
1509 "grunt": "~0.4.5",
1510 "grunt-shell": "~0.7.0",
1511 "grunt-template": "~0.2.3",
1512 "istanbul": "~0.2.10",
1513 "jsesc": "~0.4.3",
1514 "lodash": "~2.4.1",
1515 "lodash.difference": "~2.4.1",
1516 "qunit-extras": "~1.1.0",
1517 "qunitjs": "~1.11.0",
1518 "regenerate": "~0.6.1",
1519 "requirejs": "~2.1.11"
1520 },
1521 "man": [
1522 "/Users/mathias/.npm/he/0.4.0/package/man/he.1"
1523 ],
1524 "_id": "[email protected]",
1525 "_shasum": "4e3746137f80e084e0b26ea5e14ebb453f937b1a",
1526 "_from": ".",
1527 "_npmVersion": "1.4.10",
1528 "_npmUser": {
1529 "name": "mathias",
1530 "email": "[email protected]"
1531 },
1532 "maintainers": [
1533 {
1534 "name": "mathias",
1535 "email": "[email protected]"
1536 }
1537 ],
1538 "dist": {
1539 "shasum": "4e3746137f80e084e0b26ea5e14ebb453f937b1a",
1540 "tarball": "https://registry.npmjs.org/he/-/he-0.4.0.tgz"
1541 }
1542 },
1543 "0.4.1": {
1544 "name": "he",
1545 "version": "0.4.1",
1546 "description": "A robust HTML entities encoder/decoder with full Unicode support.",
1547 "homepage": "http://mths.be/he",
1548 "main": "he.js",
1549 "bin": {
1550 "he": "bin/he"
1551 },
1552 "keywords": [
1553 "string",
1554 "entities",
1555 "entity",
1556 "html",
1557 "encode",
1558 "decode",
1559 "unicode"
1560 ],
1561 "licenses": [
1562 {
1563 "type": "MIT",
1564 "url": "http://mths.be/mit"
1565 }
1566 ],
1567 "author": {
1568 "name": "Mathias Bynens",
1569 "url": "http://mathiasbynens.be/"
1570 },
1571 "repository": {
1572 "type": "git",
1573 "url": "https://github.com/mathiasbynens/he.git"
1574 },
1575 "bugs": {
1576 "url": "https://github.com/mathiasbynens/he/issues"
1577 },
1578 "files": [
1579 "LICENSE-MIT.txt",
1580 "he.js",
1581 "bin/",
1582 "man/"
1583 ],
1584 "directories": {
1585 "bin": "bin",
1586 "man": "man",
1587 "test": "tests"
1588 },
1589 "scripts": {
1590 "test": "node tests/tests.js"
1591 },
1592 "devDependencies": {
1593 "grunt": "~0.4.5",
1594 "grunt-shell": "~0.7.0",
1595 "grunt-template": "~0.2.3",
1596 "istanbul": "~0.2.10",
1597 "jsesc": "~0.4.3",
1598 "lodash": "~2.4.1",
1599 "lodash.difference": "~2.4.1",
1600 "qunit-extras": "~1.1.0",
1601 "qunitjs": "~1.11.0",
1602 "regenerate": "~0.6.2",
1603 "requirejs": "~2.1.11",
1604 "string.fromcodepoint": "~0.2.0"
1605 },
1606 "man": [
1607 "/Users/mathias/projects/he/man/he.1"
1608 ],
1609 "gitHead": "004317cefeb8bf6c9859f0a465a62a6964ec491e",
1610 "_id": "[email protected]",
1611 "_shasum": "c86667614d2dd71bc737a197c760fb2eec8a1921",
1612 "_from": ".",
1613 "_npmVersion": "1.4.13",
1614 "_npmUser": {
1615 "name": "mathias",
1616 "email": "[email protected]"
1617 },
1618 "maintainers": [
1619 {
1620 "name": "mathias",
1621 "email": "[email protected]"
1622 }
1623 ],
1624 "dist": {
1625 "shasum": "c86667614d2dd71bc737a197c760fb2eec8a1921",
1626 "tarball": "https://registry.npmjs.org/he/-/he-0.4.1.tgz"
1627 }
1628 },
1629 "0.5.0": {
1630 "name": "he",
1631 "version": "0.5.0",
1632 "description": "A robust HTML entities encoder/decoder with full Unicode support.",
1633 "homepage": "http://mths.be/he",
1634 "main": "he.js",
1635 "bin": {
1636 "he": "bin/he"
1637 },
1638 "keywords": [
1639 "string",
1640 "entities",
1641 "entity",
1642 "html",
1643 "encode",
1644 "decode",
1645 "unicode"
1646 ],
1647 "license": "MIT",
1648 "author": {
1649 "name": "Mathias Bynens",
1650 "url": "https://mathiasbynens.be/"
1651 },
1652 "repository": {
1653 "type": "git",
1654 "url": "https://github.com/mathiasbynens/he.git"
1655 },
1656 "bugs": {
1657 "url": "https://github.com/mathiasbynens/he/issues"
1658 },
1659 "files": [
1660 "LICENSE-MIT.txt",
1661 "he.js",
1662 "bin/",
1663 "man/"
1664 ],
1665 "directories": {
1666 "bin": "bin",
1667 "man": "man",
1668 "test": "tests"
1669 },
1670 "scripts": {
1671 "test": "node tests/tests.js"
1672 },
1673 "devDependencies": {
1674 "coveralls": "^2.11.1",
1675 "grunt": "^0.4.5",
1676 "grunt-shell": "^1.0.1",
1677 "grunt-template": "^0.2.3",
1678 "istanbul": "^0.3.0",
1679 "jsesc": "^0.5.0",
1680 "lodash": "^2.4.1",
1681 "qunit-extras": "^1.1.0",
1682 "qunitjs": "~1.11.0",
1683 "regenerate": "^0.6.2",
1684 "requirejs": "^2.1.14",
1685 "string.fromcodepoint": "^0.2.1"
1686 },
1687 "man": [
1688 "/Users/mathias/.npm/he/0.5.0/package/man/he.1"
1689 ],
1690 "_id": "[email protected]",
1691 "_shasum": "2c05ffaef90b68e860f3fd2b54ef580989277ee2",
1692 "_from": ".",
1693 "_npmVersion": "1.4.9",
1694 "_npmUser": {
1695 "name": "mathias",
1696 "email": "[email protected]"
1697 },
1698 "maintainers": [
1699 {
1700 "name": "mathias",
1701 "email": "[email protected]"
1702 }
1703 ],
1704 "dist": {
1705 "shasum": "2c05ffaef90b68e860f3fd2b54ef580989277ee2",
1706 "tarball": "https://registry.npmjs.org/he/-/he-0.5.0.tgz"
1707 }
1708 },
1709 "1.0.0": {
1710 "name": "he",
1711 "version": "1.0.0",
1712 "description": "A robust HTML entities encoder/decoder with full Unicode support.",
1713 "homepage": "https://mths.be/he",
1714 "main": "he.js",
1715 "bin": {
1716 "he": "bin/he"
1717 },
1718 "keywords": [
1719 "string",
1720 "entities",
1721 "entity",
1722 "html",
1723 "encode",
1724 "decode",
1725 "unicode"
1726 ],
1727 "license": "MIT",
1728 "author": {
1729 "name": "Mathias Bynens",
1730 "url": "https://mathiasbynens.be/"
1731 },
1732 "repository": {
1733 "type": "git",
1734 "url": "git+https://github.com/mathiasbynens/he.git"
1735 },
1736 "bugs": {
1737 "url": "https://github.com/mathiasbynens/he/issues"
1738 },
1739 "files": [
1740 "LICENSE-MIT.txt",
1741 "he.js",
1742 "bin/",
1743 "man/"
1744 ],
1745 "directories": {
1746 "bin": "bin",
1747 "man": "man",
1748 "test": "tests"
1749 },
1750 "scripts": {
1751 "test": "node tests/tests.js",
1752 "build": "grunt build"
1753 },
1754 "devDependencies": {
1755 "codecov.io": "^0.1.6",
1756 "grunt": "^0.4.5",
1757 "grunt-shell": "^1.1.1",
1758 "grunt-template": "^0.2.3",
1759 "istanbul": "^0.4.2",
1760 "jsesc": "^1.0.0",
1761 "lodash": "^4.8.2",
1762 "qunit-extras": "^1.4.5",
1763 "qunitjs": "~1.11.0",
1764 "regenerate": "^1.2.1",
1765 "requirejs": "^2.1.22",
1766 "sort-object": "^3.0.2"
1767 },
1768 "man": [
1769 "/Users/mathias/projects/he/man/he.1"
1770 ],
1771 "gitHead": "7630453730c820f31b8ee494582aa1004c7e9680",
1772 "_id": "[email protected]",
1773 "_shasum": "6da5b265d7f2c3b5e480749168e0e159d05728da",
1774 "_from": ".",
1775 "_npmVersion": "3.7.3",
1776 "_nodeVersion": "5.9.1",
1777 "_npmUser": {
1778 "name": "mathias",
1779 "email": "[email protected]"
1780 },
1781 "maintainers": [
1782 {
1783 "name": "mathias",
1784 "email": "[email protected]"
1785 }
1786 ],
1787 "dist": {
1788 "shasum": "6da5b265d7f2c3b5e480749168e0e159d05728da",
1789 "tarball": "https://registry.npmjs.org/he/-/he-1.0.0.tgz"
1790 },
1791 "_npmOperationalInternal": {
1792 "host": "packages-12-west.internal.npmjs.com",
1793 "tmp": "tmp/he-1.0.0.tgz_1459885864215_0.46923283371143043"
1794 }
1795 },
1796 "1.1.0": {
1797 "name": "he",
1798 "version": "1.1.0",
1799 "description": "A robust HTML entities encoder/decoder with full Unicode support.",
1800 "homepage": "https://mths.be/he",
1801 "main": "he.js",
1802 "bin": {
1803 "he": "bin/he"
1804 },
1805 "keywords": [
1806 "string",
1807 "entities",
1808 "entity",
1809 "html",
1810 "encode",
1811 "decode",
1812 "unicode"
1813 ],
1814 "license": "MIT",
1815 "author": {
1816 "name": "Mathias Bynens",
1817 "url": "https://mathiasbynens.be/"
1818 },
1819 "repository": {
1820 "type": "git",
1821 "url": "git+https://github.com/mathiasbynens/he.git"
1822 },
1823 "bugs": {
1824 "url": "https://github.com/mathiasbynens/he/issues"
1825 },
1826 "files": [
1827 "LICENSE-MIT.txt",
1828 "he.js",
1829 "bin/",
1830 "man/"
1831 ],
1832 "directories": {
1833 "bin": "bin",
1834 "man": "man",
1835 "test": "tests"
1836 },
1837 "scripts": {
1838 "test": "node tests/tests.js",
1839 "build": "grunt build"
1840 },
1841 "devDependencies": {
1842 "codecov.io": "^0.1.6",
1843 "grunt": "^0.4.5",
1844 "grunt-shell": "^1.1.1",
1845 "grunt-template": "^0.2.3",
1846 "istanbul": "^0.4.2",
1847 "jsesc": "^1.0.0",
1848 "lodash": "^4.8.2",
1849 "qunit-extras": "^1.4.5",
1850 "qunitjs": "~1.11.0",
1851 "regenerate": "^1.2.1",
1852 "requirejs": "^2.1.22",
1853 "sort-object": "^3.0.2"
1854 },
1855 "man": [
1856 "/Users/mathias/projects/he/man/he.1"
1857 ],
1858 "gitHead": "d2c219f6194f07de48543d4af8d5daf514f2ac0c",
1859 "_id": "[email protected]",
1860 "_shasum": "29319d49beec13a9b1f3c4f9b2a6dde4859bb2a7",
1861 "_from": ".",
1862 "_npmVersion": "3.8.6",
1863 "_nodeVersion": "6.0.0",
1864 "_npmUser": {
1865 "name": "mathias",
1866 "email": "[email protected]"
1867 },
1868 "maintainers": [
1869 {
1870 "name": "mathias",
1871 "email": "[email protected]"
1872 }
1873 ],
1874 "dist": {
1875 "shasum": "29319d49beec13a9b1f3c4f9b2a6dde4859bb2a7",
1876 "tarball": "https://registry.npmjs.org/he/-/he-1.1.0.tgz"
1877 },
1878 "_npmOperationalInternal": {
1879 "host": "packages-16-east.internal.npmjs.com",
1880 "tmp": "tmp/he-1.1.0.tgz_1462530942925_0.6209375066682696"
1881 }
1882 },
1883 "1.1.1": {
1884 "name": "he",
1885 "version": "1.1.1",
1886 "description": "A robust HTML entities encoder/decoder with full Unicode support.",
1887 "homepage": "https://mths.be/he",
1888 "main": "he.js",
1889 "bin": {
1890 "he": "bin/he"
1891 },
1892 "keywords": [
1893 "string",
1894 "entities",
1895 "entity",
1896 "html",
1897 "encode",
1898 "decode",
1899 "unicode"
1900 ],
1901 "license": "MIT",
1902 "author": {
1903 "name": "Mathias Bynens",
1904 "url": "https://mathiasbynens.be/"
1905 },
1906 "repository": {
1907 "type": "git",
1908 "url": "git+https://github.com/mathiasbynens/he.git"
1909 },
1910 "bugs": {
1911 "url": "https://github.com/mathiasbynens/he/issues"
1912 },
1913 "files": [
1914 "LICENSE-MIT.txt",
1915 "he.js",
1916 "bin/",
1917 "man/"
1918 ],
1919 "directories": {
1920 "bin": "bin",
1921 "man": "man",
1922 "test": "tests"
1923 },
1924 "scripts": {
1925 "test": "node tests/tests.js",
1926 "build": "grunt build"
1927 },
1928 "devDependencies": {
1929 "codecov.io": "^0.1.6",
1930 "grunt": "^0.4.5",
1931 "grunt-shell": "^1.1.1",
1932 "grunt-template": "^0.2.3",
1933 "istanbul": "^0.4.2",
1934 "jsesc": "^1.0.0",
1935 "lodash": "^4.8.2",
1936 "qunit-extras": "^1.4.5",
1937 "qunitjs": "~1.11.0",
1938 "regenerate": "^1.2.1",
1939 "requirejs": "^2.1.22",
1940 "sort-object": "^3.0.2"
1941 },
1942 "man": [
1943 "/private/tmp/he/man/he.1"
1944 ],
1945 "gitHead": "670991a4141d01dc015de5194d400d01c863208f",
1946 "_id": "[email protected]",
1947 "_shasum": "93410fd21b009735151f8868c2f271f3427e23fd",
1948 "_from": ".",
1949 "_npmVersion": "3.10.8",
1950 "_nodeVersion": "6.9.1",
1951 "_npmUser": {
1952 "name": "mathias",
1953 "email": "[email protected]"
1954 },
1955 "maintainers": [
1956 {
1957 "name": "mathias",
1958 "email": "[email protected]"
1959 }
1960 ],
1961 "dist": {
1962 "shasum": "93410fd21b009735151f8868c2f271f3427e23fd",
1963 "tarball": "https://registry.npmjs.org/he/-/he-1.1.1.tgz"
1964 },
1965 "_npmOperationalInternal": {
1966 "host": "packages-12-west.internal.npmjs.com",
1967 "tmp": "tmp/he-1.1.1.tgz_1485179741959_0.3859390316065401"
1968 }
1969 },
1970 "1.2.0": {
1971 "name": "he",
1972 "version": "1.2.0",
1973 "description": "A robust HTML entities encoder/decoder with full Unicode support.",
1974 "homepage": "https://mths.be/he",
1975 "main": "he.js",
1976 "bin": {
1977 "he": "bin/he"
1978 },
1979 "keywords": [
1980 "string",
1981 "entities",
1982 "entity",
1983 "html",
1984 "encode",
1985 "decode",
1986 "unicode"
1987 ],
1988 "license": "MIT",
1989 "author": {
1990 "name": "Mathias Bynens",
1991 "url": "https://mathiasbynens.be/"
1992 },
1993 "repository": {
1994 "type": "git",
1995 "url": "git+https://github.com/mathiasbynens/he.git"
1996 },
1997 "bugs": {
1998 "url": "https://github.com/mathiasbynens/he/issues"
1999 },
2000 "directories": {
2001 "bin": "bin",
2002 "man": "man",
2003 "test": "tests"
2004 },
2005 "scripts": {
2006 "test": "node tests/tests.js",
2007 "build": "grunt build"
2008 },
2009 "devDependencies": {
2010 "codecov.io": "^0.1.6",
2011 "grunt": "^0.4.5",
2012 "grunt-cli": "^1.3.1",
2013 "grunt-shell": "^1.1.1",
2014 "grunt-template": "^0.2.3",
2015 "istanbul": "^0.4.2",
2016 "jsesc": "^1.0.0",
2017 "lodash": "^4.8.2",
2018 "qunit-extras": "^1.4.5",
2019 "qunitjs": "~1.11.0",
2020 "regenerate": "^1.2.1",
2021 "regexgen": "^1.3.0",
2022 "requirejs": "^2.1.22",
2023 "sort-object": "^3.0.2"
2024 },
2025 "man": [
2026 "/Users/mathiasb/projects/he/man/he.1"
2027 ],
2028 "gitHead": "36afe179392226cf1b6ccdb16ebbb7a5a844d93a",
2029 "_id": "[email protected]",
2030 "_npmVersion": "5.6.0",
2031 "_nodeVersion": "8.11.1",
2032 "_npmUser": {
2033 "name": "mathias",
2034 "email": "[email protected]"
2035 },
2036 "dist": {
2037 "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==",
2038 "shasum": "84ae65fa7eafb165fddb61566ae14baf05664f0f",
2039 "tarball": "https://registry.npmjs.org/he/-/he-1.2.0.tgz",
2040 "fileCount": 6,
2041 "unpackedSize": 124138,
2042 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbp8reCRA9TVsSAnZWagAAaKkQAJw9CB8UB3lCV2TspEiW\nE0WBWPPirKbc/PG2jXhd8DegomLJ1g2vm7fwibStKHG6fOKZqR+4cl3ZqwIV\nMrP7qeMqkrWgi2fHr3gCQmMqscCs7fzt30rVaNIygdJsQ1+j3tuahliNxBQj\nTGpUUyMKmGuPeGy8rn96brsLLS52wO2JTVlwjxHxPTLQvsveAMcq08R1fAgv\nQsTs9b/CkADxVLa9fXcbABzyUq9gdLNFo1mewptCYJYPxLwZ3cVekD01MeNx\nDEJ53zMI+hDZmU0U3Ouref7VRKq3C1x6aVHYz0lBz5BYNeSALe4PkylIvfGV\nhZfXCS9P18rvGrtYPhUC823SldmGTsC4h7xCcOASFtZgK3bs17K46VS/3vjY\naJoLV6s84UuTP2fSmyYWZrammmbRDdQDIgZ/oUbB6x7vawJKxspYHQi6k5cm\nCSzVdS1zJaPdOA2aa/ydXtjHMe1xLSb6p3QwG/qIjXNyaG6hUQFYAIO6Q2UX\n61WtyZOiwW6976HjWXGN9/AUGt6BVIpjTjTDvDyjiOuFn2RHRhZM+zunOh6w\n/tFnC+Xu9uc3/F1KH24NTwv5EThoQC6/Bjt0PjUDo+WHz3s2WoF8pCBdwgm+\nH73MhekvKYBgqQEoViGQpZxD4u+VxV9pI6AAThivOdpUBEaO0MqiP1aplYvQ\nVU8y\r\n=/3Zf\r\n-----END PGP SIGNATURE-----\r\n"
2043 },
2044 "maintainers": [
2045 {
2046 "name": "mathias",
2047 "email": "[email protected]"
2048 }
2049 ],
2050 "_npmOperationalInternal": {
2051 "host": "s3://npm-registry-packages",
2052 "tmp": "tmp/he_1.2.0_1537723102001_0.8366057239063311"
2053 },
2054 "_hasShrinkwrap": false
2055 }
2056 },
2057 "readme": "# he [![Build status](https://travis-ci.org/mathiasbynens/he.svg?branch=master)](https://travis-ci.org/mathiasbynens/he) [![Code coverage status](https://codecov.io/github/mathiasbynens/he/coverage.svg?branch=master)](https://codecov.io/github/mathiasbynens/he?branch=master) [![Dependency status](https://gemnasium.com/mathiasbynens/he.svg)](https://gemnasium.com/mathiasbynens/he)\n\n_he_ (for “HTML entities”) is a robust HTML entity encoder/decoder written in JavaScript. It supports [all standardized named character references as per HTML](https://html.spec.whatwg.org/multipage/syntax.html#named-character-references), handles [ambiguous ampersands](https://mathiasbynens.be/notes/ambiguous-ampersands) and other edge cases [just like a browser would](https://html.spec.whatwg.org/multipage/syntax.html#tokenizing-character-references), has an extensive test suite, and — contrary to many other JavaScript solutions — _he_ handles astral Unicode symbols just fine. [An online demo is available.](https://mothereff.in/html-entities)\n\n## Installation\n\nVia [npm](https://www.npmjs.com/):\n\n```bash\nnpm install he\n```\n\nVia [Bower](http://bower.io/):\n\n```bash\nbower install he\n```\n\nVia [Component](https://github.com/component/component):\n\n```bash\ncomponent install mathiasbynens/he\n```\n\nIn a browser:\n\n```html\n<script src=\"he.js\"></script>\n```\n\nIn [Node.js](https://nodejs.org/), [io.js](https://iojs.org/), [Narwhal](http://narwhaljs.org/), and [RingoJS](http://ringojs.org/):\n\n```js\nvar he = require('he');\n```\n\nIn [Rhino](http://www.mozilla.org/rhino/):\n\n```js\nload('he.js');\n```\n\nUsing an AMD loader like [RequireJS](http://requirejs.org/):\n\n```js\nrequire(\n {\n 'paths': {\n 'he': 'path/to/he'\n }\n },\n ['he'],\n function(he) {\n console.log(he);\n }\n);\n```\n\n## API\n\n### `he.version`\n\nA string representing the semantic version number.\n\n### `he.encode(text, options)`\n\nThis function takes a string of text and encodes (by default) any symbols that aren’t printable ASCII symbols and `&`, `<`, `>`, `\"`, `'`, and `` ` ``, replacing them with character references.\n\n```js\nhe.encode('foo © bar ≠ baz 𝌆 qux');\n// → 'foo &#xA9; bar &#x2260; baz &#x1D306; qux'\n```\n\nAs long as the input string contains [allowed code points](https://html.spec.whatwg.org/multipage/parsing.html#preprocessing-the-input-stream) only, the return value of this function is always valid HTML. Any [(invalid) code points that cannot be represented using a character reference](https://html.spec.whatwg.org/multipage/syntax.html#table-charref-overrides) in the input are not encoded:\n\n```js\nhe.encode('foo \\0 bar');\n// → 'foo \\0 bar'\n```\n\nHowever, enabling [the `strict` option](https://github.com/mathiasbynens/he#strict) causes invalid code points to throw an exception. With `strict` enabled, `he.encode` either throws (if the input contains invalid code points) or returns a string of valid HTML.\n\nThe `options` object is optional. It recognizes the following properties:\n\n#### `useNamedReferences`\n\nThe default value for the `useNamedReferences` option is `false`. This means that `encode()` will not use any named character references (e.g. `&copy;`) in the output — hexadecimal escapes (e.g. `&#xA9;`) will be used instead. Set it to `true` to enable the use of named references.\n\n**Note that if compatibility with older browsers is a concern, this option should remain disabled.**\n\n```js\n// Using the global default setting (defaults to `false`):\nhe.encode('foo © bar ≠ baz 𝌆 qux');\n// → 'foo &#xA9; bar &#x2260; baz &#x1D306; qux'\n\n// Passing an `options` object to `encode`, to explicitly disallow named references:\nhe.encode('foo © bar ≠ baz 𝌆 qux', {\n 'useNamedReferences': false\n});\n// → 'foo &#xA9; bar &#x2260; baz &#x1D306; qux'\n\n// Passing an `options` object to `encode`, to explicitly allow named references:\nhe.encode('foo © bar ≠ baz 𝌆 qux', {\n 'useNamedReferences': true\n});\n// → 'foo &copy; bar &ne; baz &#x1D306; qux'\n```\n\n#### `decimal`\n\nThe default value for the `decimal` option is `false`. If the option is enabled, `encode` will generally use decimal escapes (e.g. `&#169;`) rather than hexadecimal escapes (e.g. `&#xA9;`). Beside of this replacement, the basic behavior remains the same when combined with other options. For example: if both options `useNamedReferences` and `decimal` are enabled, named references (e.g. `&copy;`) are used over decimal escapes. HTML entities without a named reference are encoded using decimal escapes.\n\n```js\n// Using the global default setting (defaults to `false`):\nhe.encode('foo © bar ≠ baz 𝌆 qux');\n// → 'foo &#xA9; bar &#x2260; baz &#x1D306; qux'\n\n// Passing an `options` object to `encode`, to explicitly disable decimal escapes:\nhe.encode('foo © bar ≠ baz 𝌆 qux', {\n 'decimal': false\n});\n// → 'foo &#xA9; bar &#x2260; baz &#x1D306; qux'\n\n// Passing an `options` object to `encode`, to explicitly enable decimal escapes:\nhe.encode('foo © bar ≠ baz 𝌆 qux', {\n 'decimal': true\n});\n// → 'foo &#169; bar &#8800; baz &#119558; qux'\n\n// Passing an `options` object to `encode`, to explicitly allow named references and decimal escapes:\nhe.encode('foo © bar ≠ baz 𝌆 qux', {\n 'useNamedReferences': true,\n 'decimal': true\n});\n// → 'foo &copy; bar &ne; baz &#119558; qux'\n```\n\n#### `encodeEverything`\n\nThe default value for the `encodeEverything` option is `false`. This means that `encode()` will not use any character references for printable ASCII symbols that don’t need escaping. Set it to `true` to encode every symbol in the input string. When set to `true`, this option takes precedence over `allowUnsafeSymbols` (i.e. setting the latter to `true` in such a case has no effect).\n\n```js\n// Using the global default setting (defaults to `false`):\nhe.encode('foo © bar ≠ baz 𝌆 qux');\n// → 'foo &#xA9; bar &#x2260; baz &#x1D306; qux'\n\n// Passing an `options` object to `encode`, to explicitly encode all symbols:\nhe.encode('foo © bar ≠ baz 𝌆 qux', {\n 'encodeEverything': true\n});\n// → '&#x66;&#x6F;&#x6F;&#x20;&#xA9;&#x20;&#x62;&#x61;&#x72;&#x20;&#x2260;&#x20;&#x62;&#x61;&#x7A;&#x20;&#x1D306;&#x20;&#x71;&#x75;&#x78;'\n\n// This setting can be combined with the `useNamedReferences` option:\nhe.encode('foo © bar ≠ baz 𝌆 qux', {\n 'encodeEverything': true,\n 'useNamedReferences': true\n});\n// → '&#x66;&#x6F;&#x6F;&#x20;&copy;&#x20;&#x62;&#x61;&#x72;&#x20;&ne;&#x20;&#x62;&#x61;&#x7A;&#x20;&#x1D306;&#x20;&#x71;&#x75;&#x78;'\n```\n\n#### `strict`\n\nThe default value for the `strict` option is `false`. This means that `encode()` will encode any HTML text content you feed it, even if it contains any symbols that cause [parse errors](https://html.spec.whatwg.org/multipage/parsing.html#preprocessing-the-input-stream). To throw an error when such invalid HTML is encountered, set the `strict` option to `true`. This option makes it possible to use _he_ as part of HTML parsers and HTML validators.\n\n```js\n// Using the global default setting (defaults to `false`, i.e. error-tolerant mode):\nhe.encode('\\x01');\n// → '&#x1;'\n\n// Passing an `options` object to `encode`, to explicitly enable error-tolerant mode:\nhe.encode('\\x01', {\n 'strict': false\n});\n// → '&#x1;'\n\n// Passing an `options` object to `encode`, to explicitly enable strict mode:\nhe.encode('\\x01', {\n 'strict': true\n});\n// → Parse error\n```\n\n#### `allowUnsafeSymbols`\n\nThe default value for the `allowUnsafeSymbols` option is `false`. This means that characters that are unsafe for use in HTML content (`&`, `<`, `>`, `\"`, `'`, and `` ` ``) will be encoded. When set to `true`, only non-ASCII characters will be encoded. If the `encodeEverything` option is set to `true`, this option will be ignored.\n\n```js\nhe.encode('foo © and & ampersand', {\n 'allowUnsafeSymbols': true\n});\n// → 'foo &#xA9; and & ampersand'\n```\n\n#### Overriding default `encode` options globally\n\nThe global default setting can be overridden by modifying the `he.encode.options` object. This saves you from passing in an `options` object for every call to `encode` if you want to use the non-default setting.\n\n```js\n// Read the global default setting:\nhe.encode.options.useNamedReferences;\n// → `false` by default\n\n// Override the global default setting:\nhe.encode.options.useNamedReferences = true;\n\n// Using the global default setting, which is now `true`:\nhe.encode('foo © bar ≠ baz 𝌆 qux');\n// → 'foo &copy; bar &ne; baz &#x1D306; qux'\n```\n\n### `he.decode(html, options)`\n\nThis function takes a string of HTML and decodes any named and numerical character references in it using [the algorithm described in section 12.2.4.69 of the HTML spec](https://html.spec.whatwg.org/multipage/syntax.html#tokenizing-character-references).\n\n```js\nhe.decode('foo &copy; bar &ne; baz &#x1D306; qux');\n// → 'foo © bar ≠ baz 𝌆 qux'\n```\n\nThe `options` object is optional. It recognizes the following properties:\n\n#### `isAttributeValue`\n\nThe default value for the `isAttributeValue` option is `false`. This means that `decode()` will decode the string as if it were used in [a text context in an HTML document](https://html.spec.whatwg.org/multipage/syntax.html#data-state). HTML has different rules for [parsing character references in attribute values](https://html.spec.whatwg.org/multipage/syntax.html#character-reference-in-attribute-value-state) — set this option to `true` to treat the input string as if it were used as an attribute value.\n\n```js\n// Using the global default setting (defaults to `false`, i.e. HTML text context):\nhe.decode('foo&ampbar');\n// → 'foo&bar'\n\n// Passing an `options` object to `decode`, to explicitly assume an HTML text context:\nhe.decode('foo&ampbar', {\n 'isAttributeValue': false\n});\n// → 'foo&bar'\n\n// Passing an `options` object to `decode`, to explicitly assume an HTML attribute value context:\nhe.decode('foo&ampbar', {\n 'isAttributeValue': true\n});\n// → 'foo&ampbar'\n```\n\n#### `strict`\n\nThe default value for the `strict` option is `false`. This means that `decode()` will decode any HTML text content you feed it, even if it contains any entities that cause [parse errors](https://html.spec.whatwg.org/multipage/syntax.html#tokenizing-character-references). To throw an error when such invalid HTML is encountered, set the `strict` option to `true`. This option makes it possible to use _he_ as part of HTML parsers and HTML validators.\n\n```js\n// Using the global default setting (defaults to `false`, i.e. error-tolerant mode):\nhe.decode('foo&ampbar');\n// → 'foo&bar'\n\n// Passing an `options` object to `decode`, to explicitly enable error-tolerant mode:\nhe.decode('foo&ampbar', {\n 'strict': false\n});\n// → 'foo&bar'\n\n// Passing an `options` object to `decode`, to explicitly enable strict mode:\nhe.decode('foo&ampbar', {\n 'strict': true\n});\n// → Parse error\n```\n\n#### Overriding default `decode` options globally\n\nThe global default settings for the `decode` function can be overridden by modifying the `he.decode.options` object. This saves you from passing in an `options` object for every call to `decode` if you want to use a non-default setting.\n\n```js\n// Read the global default setting:\nhe.decode.options.isAttributeValue;\n// → `false` by default\n\n// Override the global default setting:\nhe.decode.options.isAttributeValue = true;\n\n// Using the global default setting, which is now `true`:\nhe.decode('foo&ampbar');\n// → 'foo&ampbar'\n```\n\n### `he.escape(text)`\n\nThis function takes a string of text and escapes it for use in text contexts in XML or HTML documents. Only the following characters are escaped: `&`, `<`, `>`, `\"`, `'`, and `` ` ``.\n\n```js\nhe.escape('<img src=\\'x\\' onerror=\"prompt(1)\">');\n// → '&lt;img src=&#x27;x&#x27; onerror=&quot;prompt(1)&quot;&gt;'\n```\n\n### `he.unescape(html, options)`\n\n`he.unescape` is an alias for `he.decode`. It takes a string of HTML and decodes any named and numerical character references in it.\n\n### Using the `he` binary\n\nTo use the `he` binary in your shell, simply install _he_ globally using npm:\n\n```bash\nnpm install -g he\n```\n\nAfter that you will be able to encode/decode HTML entities from the command line:\n\n```bash\n$ he --encode 'föo ♥ bår 𝌆 baz'\nf&#xF6;o &#x2665; b&#xE5;r &#x1D306; baz\n\n$ he --encode --use-named-refs 'föo ♥ bår 𝌆 baz'\nf&ouml;o &hearts; b&aring;r &#x1D306; baz\n\n$ he --decode 'f&ouml;o &hearts; b&aring;r &#x1D306; baz'\nföo ♥ bår 𝌆 baz\n```\n\nRead a local text file, encode it for use in an HTML text context, and save the result to a new file:\n\n```bash\n$ he --encode < foo.txt > foo-escaped.html\n```\n\nOr do the same with an online text file:\n\n```bash\n$ curl -sL \"http://git.io/HnfEaw\" | he --encode > escaped.html\n```\n\nOr, the opposite — read a local file containing a snippet of HTML in a text context, decode it back to plain text, and save the result to a new file:\n\n```bash\n$ he --decode < foo-escaped.html > foo.txt\n```\n\nOr do the same with an online HTML snippet:\n\n```bash\n$ curl -sL \"http://git.io/HnfEaw\" | he --decode > decoded.txt\n```\n\nSee `he --help` for the full list of options.\n\n## Support\n\n_he_ has been tested in at least:\n\n* Chrome 27-50\n* Firefox 3-45\n* Safari 4-9\n* Opera 10-12, 15–37\n* IE 6–11\n* Edge\n* Narwhal 0.3.2\n* Node.js v0.10, v0.12, v4, v5\n* PhantomJS 1.9.0\n* Rhino 1.7RC4\n* RingoJS 0.8-0.11\n\n## Unit tests & code coverage\n\nAfter cloning this repository, run `npm install` to install the dependencies needed for he development and testing. You may want to install Istanbul _globally_ using `npm install istanbul -g`.\n\nOnce that’s done, you can run the unit tests in Node using `npm test` or `node tests/tests.js`. To run the tests in Rhino, Ringo, Narwhal, and web browsers as well, use `grunt test`.\n\nTo generate the code coverage report, use `grunt cover`.\n\n## Acknowledgements\n\nThanks to [Simon Pieters](https://simon.html5.org/) ([@zcorpan](https://twitter.com/zcorpan)) for the many suggestions.\n\n## Author\n\n| [![twitter/mathias](https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=70)](https://twitter.com/mathias \"Follow @mathias on Twitter\") |\n|---|\n| [Mathias Bynens](https://mathiasbynens.be/) |\n\n## License\n\n_he_ is available under the [MIT](https://mths.be/mit) license.\n",
2058 "maintainers": [
2059 {
2060 "name": "mathias",
2061 "email": "[email protected]"
2062 }
2063 ],
2064 "time": {
2065 "modified": "2019-01-04T02:45:17.332Z",
2066 "created": "2013-06-25T07:04:30.073Z",
2067 "0.1.0": "2013-06-25T07:04:33.268Z",
2068 "0.1.1": "2013-06-25T07:42:07.589Z",
2069 "0.1.2": "2013-06-25T10:21:38.795Z",
2070 "0.1.3": "2013-06-26T04:49:05.788Z",
2071 "0.1.4": "2013-06-26T08:00:02.097Z",
2072 "0.1.5": "2013-06-26T09:43:53.310Z",
2073 "0.1.6": "2013-06-27T05:20:41.342Z",
2074 "0.1.7": "2013-06-27T07:35:03.487Z",
2075 "0.1.8": "2013-06-27T07:56:06.990Z",
2076 "0.1.9": "2013-06-27T11:36:05.943Z",
2077 "0.1.10": "2013-06-27T13:38:44.229Z",
2078 "0.2.0": "2013-06-27T15:47:21.538Z",
2079 "0.2.1": "2013-06-28T19:58:15.009Z",
2080 "0.3.0": "2013-07-01T16:48:42.300Z",
2081 "0.3.1": "2013-07-01T16:58:41.074Z",
2082 "0.3.2": "2013-07-27T11:26:46.217Z",
2083 "0.3.3": "2013-07-30T10:27:19.524Z",
2084 "0.3.4": "2013-08-02T22:03:05.837Z",
2085 "0.3.5": "2013-08-04T07:47:39.912Z",
2086 "0.3.6": "2013-08-07T10:47:20.953Z",
2087 "0.4.0": "2014-05-23T08:23:36.693Z",
2088 "0.4.1": "2014-05-24T18:58:13.050Z",
2089 "0.5.0": "2014-08-24T07:04:48.183Z",
2090 "1.0.0": "2016-04-05T19:51:06.638Z",
2091 "1.1.0": "2016-05-06T10:35:44.511Z",
2092 "1.1.1": "2017-01-23T13:55:43.985Z",
2093 "1.2.0": "2018-09-23T17:18:22.163Z"
2094 },
2095 "author": {
2096 "name": "Mathias Bynens",
2097 "url": "https://mathiasbynens.be/"
2098 },
2099 "repository": {
2100 "type": "git",
2101 "url": "git+https://github.com/mathiasbynens/he.git"
2102 },
2103 "users": {
2104 "brugnara": true,
2105 "jkimbo": true,
2106 "medikoo": true,
2107 "julien-f": true,
2108 "nguru": true,
2109 "chalassa": true,
2110 "kmck": true,
2111 "joakin": true,
2112 "mbouclas": true,
2113 "tzsiga": true,
2114 "aslezak": true,
2115 "h0ward": true,
2116 "edin-m": true,
2117 "markthethomas": true,
2118 "koulmomo": true,
2119 "cheapsteak": true,
2120 "moimikey": true,
2121 "stany": true,
2122 "bkonkle": true,
2123 "neoklosch": true,
2124 "monkeymonk": true,
2125 "vtocco": true,
2126 "princetoad": true,
2127 "abuelwafa": true,
2128 "anoubis": true,
2129 "stone_breaker": true,
2130 "vitorluizc": true,
2131 "lagden": true,
2132 "d-band": true,
2133 "wangnan0610": true,
2134 "yatsu": true,
2135 "shakakira": true,
2136 "oleg_tsyba": true,
2137 "restuta": true,
2138 "gugadev": true
2139 },
2140 "homepage": "https://mths.be/he",
2141 "keywords": [
2142 "string",
2143 "entities",
2144 "entity",
2145 "html",
2146 "encode",
2147 "decode",
2148 "unicode"
2149 ],
2150 "bugs": {
2151 "url": "https://github.com/mathiasbynens/he/issues"
2152 },
2153 "readmeFilename": "README.md",
2154 "license": "MIT"
2155 }