{"_id":"he","_rev":"60627","name":"he","description":"A robust HTML entities encoder/decoder with full Unicode support.","dist-tags":{"latest":"1.2.0"},"maintainers":[{"name":"google-wombot","email":""},{"name":"mathias","email":""}],"time":{"modified":"2021-06-03T10:20:31.000Z","created":"2013-06-25T07:04:33.268Z","1.2.0":"2018-09-23T17:18:22.163Z","1.1.1":"2017-01-23T13:55:43.985Z","1.1.0":"2016-05-06T10:35:44.511Z","1.0.0":"2016-04-05T19:51:06.638Z","0.5.0":"2014-08-24T07:04:48.183Z","0.4.1":"2014-05-24T18:58:13.050Z","0.4.0":"2014-05-23T08:23:36.693Z","0.3.6":"2013-08-07T10:47:20.953Z","0.3.5":"2013-08-04T07:47:39.912Z","0.3.4":"2013-08-02T22:03:05.837Z","0.3.3":"2013-07-30T10:27:19.524Z","0.3.2":"2013-07-27T11:26:46.217Z","0.3.1":"2013-07-01T16:58:41.074Z","0.3.0":"2013-07-01T16:48:42.300Z","0.2.1":"2013-06-28T19:58:15.009Z","0.2.0":"2013-06-27T15:47:21.538Z","0.1.10":"2013-06-27T13:38:44.229Z","0.1.9":"2013-06-27T11:36:05.943Z","0.1.8":"2013-06-27T07:56:06.990Z","0.1.7":"2013-06-27T07:35:03.487Z","0.1.6":"2013-06-27T05:20:41.342Z","0.1.5":"2013-06-26T09:43:53.310Z","0.1.4":"2013-06-26T08:00:02.097Z","0.1.3":"2013-06-26T04:49:05.788Z","0.1.2":"2013-06-25T10:21:38.795Z","0.1.1":"2013-06-25T07:42:07.589Z","0.1.0":"2013-06-25T07:04:33.268Z"},"users":{"d10":true,"brugnara":true,"jkimbo":true,"jdalton":true,"medikoo":true,"julien-f":true,"chalassa":true,"nguru":true,"kmck":true,"joakin":true,"aslezak":true,"tzsiga":true,"mbouclas":true,"h0ward":true,"edin-m":true,"markthethomas":true,"koulmomo":true,"cheapsteak":true,"stany":true,"moimikey":true,"bkonkle":true,"neoklosch":true,"monkeymonk":true,"vtocco":true,"princetoad":true,"abuelwafa":true,"stone_breaker":true,"anoubis":true,"vitorluizc":true,"lagden":true,"d-band":true,"wangnan0610":true,"yatsu":true,"shakakira":true,"oleg_tsyba":true,"restuta":true,"gugadev":true},"author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"repository":{"type":"git","url":"git+https://github.com/mathiasbynens/he.git"},"versions":{"1.2.0":{"name":"he","version":"1.2.0","description":"A robust HTML entities encoder/decoder with full Unicode support.","homepage":"https://mths.be/he","main":"he.js","bin":{"he":"bin/he"},"keywords":["string","entities","entity","html","encode","decode","unicode"],"license":"MIT","author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"repository":{"type":"git","url":"git+https://github.com/mathiasbynens/he.git"},"bugs":{"url":"https://github.com/mathiasbynens/he/issues"},"directories":{"bin":"bin","man":"man","test":"tests"},"scripts":{"test":"node tests/tests.js","build":"grunt build"},"devDependencies":{"codecov.io":"^0.1.6","grunt":"^0.4.5","grunt-cli":"^1.3.1","grunt-shell":"^1.1.1","grunt-template":"^0.2.3","istanbul":"^0.4.2","jsesc":"^1.0.0","lodash":"^4.8.2","qunit-extras":"^1.4.5","qunitjs":"~1.11.0","regenerate":"^1.2.1","regexgen":"^1.3.0","requirejs":"^2.1.22","sort-object":"^3.0.2"},"man":["/Users/mathiasb/projects/he/man/he.1"],"gitHead":"36afe179392226cf1b6ccdb16ebbb7a5a844d93a","_id":"he@1.2.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"dist":{"shasum":"84ae65fa7eafb165fddb61566ae14baf05664f0f","size":40278,"noattachment":false,"key":"/he/-/he-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/he/download/he-1.2.0.tgz"},"maintainers":[{"name":"google-wombot","email":""},{"name":"mathias","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/he_1.2.0_1537723102001_0.8366057239063311"},"_hasShrinkwrap":false,"publish_time":1537723102163,"_cnpm_publish_time":1537723102163},"1.1.1":{"name":"he","version":"1.1.1","description":"A robust HTML entities encoder/decoder with full Unicode support.","homepage":"https://mths.be/he","main":"he.js","bin":{"he":"bin/he"},"keywords":["string","entities","entity","html","encode","decode","unicode"],"license":"MIT","author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"repository":{"type":"git","url":"git+https://github.com/mathiasbynens/he.git"},"bugs":{"url":"https://github.com/mathiasbynens/he/issues"},"files":["LICENSE-MIT.txt","he.js","bin/","man/"],"directories":{"bin":"bin","man":"man","test":"tests"},"scripts":{"test":"node tests/tests.js","build":"grunt build"},"devDependencies":{"codecov.io":"^0.1.6","grunt":"^0.4.5","grunt-shell":"^1.1.1","grunt-template":"^0.2.3","istanbul":"^0.4.2","jsesc":"^1.0.0","lodash":"^4.8.2","qunit-extras":"^1.4.5","qunitjs":"~1.11.0","regenerate":"^1.2.1","requirejs":"^2.1.22","sort-object":"^3.0.2"},"man":["/private/tmp/he/man/he.1"],"gitHead":"670991a4141d01dc015de5194d400d01c863208f","_id":"he@1.1.1","_shasum":"93410fd21b009735151f8868c2f271f3427e23fd","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"google-wombot","email":""},{"name":"mathias","email":""}],"dist":{"shasum":"93410fd21b009735151f8868c2f271f3427e23fd","size":34193,"noattachment":false,"key":"/he/-/he-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/he/download/he-1.1.1.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/he-1.1.1.tgz_1485179741959_0.3859390316065401"},"publish_time":1485179743985,"_cnpm_publish_time":1485179743985,"_hasShrinkwrap":false},"1.1.0":{"name":"he","version":"1.1.0","description":"A robust HTML entities encoder/decoder with full Unicode support.","homepage":"https://mths.be/he","main":"he.js","bin":{"he":"bin/he"},"keywords":["string","entities","entity","html","encode","decode","unicode"],"license":"MIT","author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"repository":{"type":"git","url":"git+https://github.com/mathiasbynens/he.git"},"bugs":{"url":"https://github.com/mathiasbynens/he/issues"},"files":["LICENSE-MIT.txt","he.js","bin/","man/"],"directories":{"bin":"bin","man":"man","test":"tests"},"scripts":{"test":"node tests/tests.js","build":"grunt build"},"devDependencies":{"codecov.io":"^0.1.6","grunt":"^0.4.5","grunt-shell":"^1.1.1","grunt-template":"^0.2.3","istanbul":"^0.4.2","jsesc":"^1.0.0","lodash":"^4.8.2","qunit-extras":"^1.4.5","qunitjs":"~1.11.0","regenerate":"^1.2.1","requirejs":"^2.1.22","sort-object":"^3.0.2"},"man":["/Users/mathias/projects/he/man/he.1"],"gitHead":"d2c219f6194f07de48543d4af8d5daf514f2ac0c","_id":"he@1.1.0","_shasum":"29319d49beec13a9b1f3c4f9b2a6dde4859bb2a7","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"google-wombot","email":""},{"name":"mathias","email":""}],"dist":{"shasum":"29319d49beec13a9b1f3c4f9b2a6dde4859bb2a7","size":30231,"noattachment":false,"key":"/he/-/he-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/he/download/he-1.1.0.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/he-1.1.0.tgz_1462530942925_0.6209375066682696"},"publish_time":1462530944511,"_cnpm_publish_time":1462530944511,"_hasShrinkwrap":false},"1.0.0":{"name":"he","version":"1.0.0","description":"A robust HTML entities encoder/decoder with full Unicode support.","homepage":"https://mths.be/he","main":"he.js","bin":{"he":"bin/he"},"keywords":["string","entities","entity","html","encode","decode","unicode"],"license":"MIT","author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"repository":{"type":"git","url":"git+https://github.com/mathiasbynens/he.git"},"bugs":{"url":"https://github.com/mathiasbynens/he/issues"},"files":["LICENSE-MIT.txt","he.js","bin/","man/"],"directories":{"bin":"bin","man":"man","test":"tests"},"scripts":{"test":"node tests/tests.js","build":"grunt build"},"devDependencies":{"codecov.io":"^0.1.6","grunt":"^0.4.5","grunt-shell":"^1.1.1","grunt-template":"^0.2.3","istanbul":"^0.4.2","jsesc":"^1.0.0","lodash":"^4.8.2","qunit-extras":"^1.4.5","qunitjs":"~1.11.0","regenerate":"^1.2.1","requirejs":"^2.1.22","sort-object":"^3.0.2"},"man":["/Users/mathias/projects/he/man/he.1"],"gitHead":"7630453730c820f31b8ee494582aa1004c7e9680","_id":"he@1.0.0","_shasum":"6da5b265d7f2c3b5e480749168e0e159d05728da","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.1","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"google-wombot","email":""},{"name":"mathias","email":""}],"dist":{"shasum":"6da5b265d7f2c3b5e480749168e0e159d05728da","size":33791,"noattachment":false,"key":"/he/-/he-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/he/download/he-1.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/he-1.0.0.tgz_1459885864215_0.46923283371143043"},"publish_time":1459885866638,"_cnpm_publish_time":1459885866638,"_hasShrinkwrap":false},"0.5.0":{"name":"he","version":"0.5.0","description":"A robust HTML entities encoder/decoder with full Unicode support.","homepage":"http://mths.be/he","main":"he.js","bin":{"he":"bin/he"},"keywords":["string","entities","entity","html","encode","decode","unicode"],"license":"MIT","author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"repository":{"type":"git","url":"https://github.com/mathiasbynens/he.git"},"bugs":{"url":"https://github.com/mathiasbynens/he/issues"},"files":["LICENSE-MIT.txt","he.js","bin/","man/"],"directories":{"bin":"bin","man":"man","test":"tests"},"scripts":{"test":"node tests/tests.js"},"devDependencies":{"coveralls":"^2.11.1","grunt":"^0.4.5","grunt-shell":"^1.0.1","grunt-template":"^0.2.3","istanbul":"^0.3.0","jsesc":"^0.5.0","lodash":"^2.4.1","qunit-extras":"^1.1.0","qunitjs":"~1.11.0","regenerate":"^0.6.2","requirejs":"^2.1.14","string.fromcodepoint":"^0.2.1"},"man":["/Users/mathias/.npm/he/0.5.0/package/man/he.1"],"_id":"he@0.5.0","_shasum":"2c05ffaef90b68e860f3fd2b54ef580989277ee2","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"google-wombot","email":""},{"name":"mathias","email":""}],"dist":{"shasum":"2c05ffaef90b68e860f3fd2b54ef580989277ee2","size":34402,"noattachment":false,"key":"/he/-/he-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/he/download/he-0.5.0.tgz"},"publish_time":1408863888183,"_cnpm_publish_time":1408863888183,"_hasShrinkwrap":false},"0.4.1":{"name":"he","version":"0.4.1","description":"A robust HTML entities encoder/decoder with full Unicode support.","homepage":"http://mths.be/he","main":"he.js","bin":{"he":"bin/he"},"keywords":["string","entities","entity","html","encode","decode","unicode"],"licenses":[{"type":"MIT","url":"http://mths.be/mit"}],"author":{"name":"Mathias Bynens","url":"http://mathiasbynens.be/"},"repository":{"type":"git","url":"https://github.com/mathiasbynens/he.git"},"bugs":{"url":"https://github.com/mathiasbynens/he/issues"},"files":["LICENSE-MIT.txt","he.js","bin/","man/"],"directories":{"bin":"bin","man":"man","test":"tests"},"scripts":{"test":"node tests/tests.js"},"devDependencies":{"grunt":"~0.4.5","grunt-shell":"~0.7.0","grunt-template":"~0.2.3","istanbul":"~0.2.10","jsesc":"~0.4.3","lodash":"~2.4.1","lodash.difference":"~2.4.1","qunit-extras":"~1.1.0","qunitjs":"~1.11.0","regenerate":"~0.6.2","requirejs":"~2.1.11","string.fromcodepoint":"~0.2.0"},"man":["/Users/mathias/projects/he/man/he.1"],"gitHead":"004317cefeb8bf6c9859f0a465a62a6964ec491e","_id":"he@0.4.1","_shasum":"c86667614d2dd71bc737a197c760fb2eec8a1921","_from":".","_npmVersion":"1.4.13","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"google-wombot","email":""},{"name":"mathias","email":""}],"dist":{"shasum":"c86667614d2dd71bc737a197c760fb2eec8a1921","size":34106,"noattachment":false,"key":"/he/-/he-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/he/download/he-0.4.1.tgz"},"publish_time":1400957893050,"_cnpm_publish_time":1400957893050,"_hasShrinkwrap":false},"0.4.0":{"name":"he","version":"0.4.0","description":"A robust HTML entities encoder/decoder with full Unicode support.","homepage":"http://mths.be/he","main":"he.js","bin":{"he":"bin/he"},"keywords":["string","entities","entity","html","encode","decode","unicode"],"licenses":[{"type":"MIT","url":"http://mths.be/mit"}],"author":{"name":"Mathias Bynens","url":"http://mathiasbynens.be/"},"repository":{"type":"git","url":"https://github.com/mathiasbynens/he.git"},"bugs":{"url":"https://github.com/mathiasbynens/he/issues"},"files":["LICENSE-MIT.txt","he.js","bin/","man/"],"directories":{"bin":"bin","man":"man","test":"tests"},"scripts":{"test":"node tests/tests.js"},"devDependencies":{"grunt":"~0.4.5","grunt-shell":"~0.7.0","grunt-template":"~0.2.3","istanbul":"~0.2.10","jsesc":"~0.4.3","lodash":"~2.4.1","lodash.difference":"~2.4.1","qunit-extras":"~1.1.0","qunitjs":"~1.11.0","regenerate":"~0.6.1","requirejs":"~2.1.11"},"man":["/Users/mathias/.npm/he/0.4.0/package/man/he.1"],"_id":"he@0.4.0","_shasum":"4e3746137f80e084e0b26ea5e14ebb453f937b1a","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"google-wombot","email":""},{"name":"mathias","email":""}],"dist":{"shasum":"4e3746137f80e084e0b26ea5e14ebb453f937b1a","size":33474,"noattachment":false,"key":"/he/-/he-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/he/download/he-0.4.0.tgz"},"publish_time":1400833416693,"_cnpm_publish_time":1400833416693,"_hasShrinkwrap":false},"0.3.6":{"name":"he","version":"0.3.6","description":"A robust HTML entities encoder/decoder with full Unicode support.","homepage":"http://mths.be/he","main":"he.js","bin":{"he":"bin/he"},"man":["man/he.1"],"keywords":["string","entities","entity","html","encode","decode","unicode"],"licenses":[{"type":"MIT","url":"http://mths.be/mit"}],"author":{"name":"Mathias Bynens","url":"http://mathiasbynens.be/"},"repository":{"type":"git","url":"https://github.com/mathiasbynens/he.git"},"bugs":{"url":"https://github.com/mathiasbynens/he/issues"},"files":["LICENSE-MIT.txt","he.js","bin/","man/"],"directories":{"test":"tests"},"scripts":{"test":"node tests/tests.js"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-shell":"~0.3.1","grunt-template":"~0.2.0","istanbul":"~0.1.43","jsesc":"~0.4.1","lodash":"~1.3.1","qunit-clib":"~1.3.0","qunitjs":"~1.11.0","regenerate":"~0.5.2","requirejs":"~2.1.8"},"readmeFilename":"README.md","_id":"he@0.3.6","dist":{"shasum":"9d7bc446e77963933301dd602d5731cb861135e0","size":33362,"noattachment":false,"key":"/he/-/he-0.3.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/he/download/he-0.3.6.tgz"},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"google-wombot","email":""},{"name":"mathias","email":""}],"publish_time":1375872440953,"_cnpm_publish_time":1375872440953,"_hasShrinkwrap":false},"0.3.5":{"name":"he","version":"0.3.5","description":"A robust HTML entities encoder/decoder with full Unicode support.","homepage":"http://mths.be/he","main":"he.js","bin":{"he":"bin/he"},"man":["man/he.1"],"keywords":["string","entities","entity","html","encode","decode","unicode"],"licenses":[{"type":"MIT","url":"http://mths.be/mit"}],"author":{"name":"Mathias Bynens","url":"http://mathiasbynens.be/"},"repository":{"type":"git","url":"https://github.com/mathiasbynens/he.git"},"bugs":{"url":"https://github.com/mathiasbynens/he/issues"},"files":["LICENSE-MIT.txt","he.js","bin/","man/"],"directories":{"test":"tests"},"scripts":{"test":"node tests/tests.js"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-shell":"~0.3.1","grunt-template":"~0.2.0","istanbul":"~0.1.42","jsesc":"~0.3.0","lodash":"~1.3.1","qunit-clib":"~1.3.0","qunitjs":"~1.11.0","regenerate":"~0.5.2","requirejs":"~2.1.8"},"readmeFilename":"README.md","_id":"he@0.3.5","dist":{"shasum":"1c2025f18a3bbfcc5f4e0e5db85658b34d2dd619","size":32747,"noattachment":false,"key":"/he/-/he-0.3.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/he/download/he-0.3.5.tgz"},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"google-wombot","email":""},{"name":"mathias","email":""}],"publish_time":1375602459912,"_cnpm_publish_time":1375602459912,"_hasShrinkwrap":false},"0.3.4":{"name":"he","version":"0.3.4","description":"A robust HTML entities encoder/decoder with full Unicode support.","homepage":"http://mths.be/he","main":"he.js","bin":{"he":"bin/he"},"man":["man/he.1"],"keywords":["string","entities","entity","html","encode","decode","unicode"],"licenses":[{"type":"MIT","url":"http://mths.be/mit"}],"author":{"name":"Mathias Bynens","url":"http://mathiasbynens.be/"},"repository":{"type":"git","url":"https://github.com/mathiasbynens/he.git"},"bugs":{"url":"https://github.com/mathiasbynens/he/issues"},"files":["LICENSE-MIT.txt","he.js","bin/","man/"],"directories":{"test":"tests"},"scripts":{"test":"node tests/tests.js"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-shell":"~0.3.1","grunt-template":"~0.2.0","istanbul":"~0.1.42","jsesc":"~0.3.0","lodash":"~1.3.1","qunit-clib":"~1.3.0","qunitjs":"~1.11.0","regenerate":"~0.5.2","requirejs":"~2.1.8"},"readmeFilename":"README.md","_id":"he@0.3.4","dist":{"shasum":"b9d808667263d003fd00aac92ab57b869957c9d8","size":32740,"noattachment":false,"key":"/he/-/he-0.3.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/he/download/he-0.3.4.tgz"},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"google-wombot","email":""},{"name":"mathias","email":""}],"publish_time":1375480985837,"_cnpm_publish_time":1375480985837,"_hasShrinkwrap":false},"0.3.3":{"name":"he","version":"0.3.3","description":"A robust HTML entities encoder/decoder with full Unicode support.","homepage":"http://mths.be/he","main":"he.js","bin":{"he":"bin/he"},"man":["man/he.1"],"keywords":["string","entities","entity","html","encode","decode","unicode"],"licenses":[{"type":"MIT","url":"http://mths.be/mit"}],"author":{"name":"Mathias Bynens","url":"http://mathiasbynens.be/"},"repository":{"type":"git","url":"https://github.com/mathiasbynens/he.git"},"bugs":{"url":"https://github.com/mathiasbynens/he/issues"},"files":["LICENSE-MIT.txt","he.js","bin/","man/"],"directories":{"test":"tests"},"scripts":{"test":"node tests/tests.js"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-shell":"~0.3.1","grunt-template":"~0.2.0","istanbul":"~0.1.42","jsesc":"~0.3.0","lodash":"~1.3.1","qunit-clib":"~1.3.0","qunitjs":"~1.11.0","regenerate":"~0.5.2","requirejs":"~2.1.8"},"readmeFilename":"README.md","_id":"he@0.3.3","dist":{"shasum":"0aef2ba87ec9ce434c0381f4767f1a3ebe154a45","size":32738,"noattachment":false,"key":"/he/-/he-0.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/he/download/he-0.3.3.tgz"},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"google-wombot","email":""},{"name":"mathias","email":""}],"publish_time":1375180039524,"_cnpm_publish_time":1375180039524,"_hasShrinkwrap":false},"0.3.2":{"name":"he","version":"0.3.2","description":"A robust HTML entities encoder/decoder with full Unicode support.","homepage":"http://mths.be/he","main":"he.js","bin":{"he":"bin/he"},"man":["man/he.1"],"keywords":["string","entities","entity","html","encode","decode","unicode"],"licenses":[{"type":"MIT","url":"http://mths.be/mit"}],"author":{"name":"Mathias Bynens","url":"http://mathiasbynens.be/"},"repository":{"type":"git","url":"https://github.com/mathiasbynens/he.git"},"bugs":{"url":"https://github.com/mathiasbynens/he/issues"},"files":["LICENSE-MIT.txt","he.js","bin/","man/"],"directories":{"test":"tests"},"scripts":{"test":"node tests/tests.js"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-shell":"~0.3.1","grunt-template":"~0.2.0","istanbul":"~0.1.42","jsesc":"~0.3.0","lodash":"~1.3.1","qunit-clib":"~1.3.0","qunitjs":"~1.11.0","regenerate":"~0.5.2","requirejs":"~2.1.8"},"readmeFilename":"README.md","_id":"he@0.3.2","dist":{"shasum":"928e2df76f564a60d51b36825a11c47d5a9e74e2","size":32509,"noattachment":false,"key":"/he/-/he-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/he/download/he-0.3.2.tgz"},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"google-wombot","email":""},{"name":"mathias","email":""}],"publish_time":1374924406217,"_cnpm_publish_time":1374924406217,"_hasShrinkwrap":false},"0.3.1":{"name":"he","version":"0.3.1","description":"A robust HTML entities encoder/decoder with full Unicode support.","homepage":"http://mths.be/he","main":"he.js","keywords":["string","entities","entity","html","encode","decode","unicode"],"licenses":[{"type":"MIT","url":"http://mths.be/mit"}],"author":{"name":"Mathias Bynens","url":"http://mathiasbynens.be/"},"repository":{"type":"git","url":"https://github.com/mathiasbynens/he.git"},"bugs":{"url":"https://github.com/mathiasbynens/he/issues"},"directories":{"test":"tests"},"scripts":{"test":"node tests/tests.js"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-shell":"~0.3.0","grunt-template":"~0.2.0","istanbul":"~0.1.37","lodash":"~1.3.1","qunit-clib":"~1.3.0","qunitjs":"~1.11.0","regenerate":"~0.5.2","requirejs":"~2.1.6","string-escape":"~0.2.2"},"readmeFilename":"README.md","_id":"he@0.3.1","dist":{"shasum":"2a558a6dd2d06163351ba535868051a32749751e","size":29998,"noattachment":false,"key":"/he/-/he-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/he/download/he-0.3.1.tgz"},"_from":".","_npmVersion":"1.2.30","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"google-wombot","email":""},{"name":"mathias","email":""}],"publish_time":1372697921074,"_cnpm_publish_time":1372697921074,"_hasShrinkwrap":false},"0.3.0":{"name":"he","version":"0.3.0","description":"A robust HTML entities encoder/decoder with full Unicode support.","homepage":"http://mths.be/he","main":"he.js","keywords":["string","entities","entity","html","encode","decode","unicode"],"licenses":[{"type":"MIT","url":"http://mths.be/mit"}],"author":{"name":"Mathias Bynens","url":"http://mathiasbynens.be/"},"repository":{"type":"git","url":"https://github.com/mathiasbynens/he.git"},"bugs":{"url":"https://github.com/mathiasbynens/he/issues"},"directories":{"test":"tests"},"scripts":{"test":"node tests/tests.js"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-shell":"~0.3.0","grunt-template":"~0.2.0","istanbul":"~0.1.37","lodash":"~1.3.1","qunit-clib":"~1.3.0","qunitjs":"~1.11.0","regenerate":"~0.5.2","requirejs":"~2.1.6","string-escape":"~0.2.2"},"_id":"he@0.3.0","dist":{"shasum":"acd9b93774b6c85af4da8aa49f304ef462005aff","size":27168,"noattachment":false,"key":"/he/-/he-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/he/download/he-0.3.0.tgz"},"_from":".","_npmVersion":"1.2.30","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"google-wombot","email":""},{"name":"mathias","email":""}],"publish_time":1372697322300,"_cnpm_publish_time":1372697322300,"_hasShrinkwrap":false},"0.2.1":{"name":"he","version":"0.2.1","description":"A robust HTML entities encoder/decoder with full Unicode support.","homepage":"http://mths.be/he","main":"he.js","keywords":["string","entities","entity","html","encode","decode","unicode"],"licenses":[{"type":"MIT","url":"http://mths.be/mit"}],"author":{"name":"Mathias Bynens","url":"http://mathiasbynens.be/"},"repository":{"type":"git","url":"https://github.com/mathiasbynens/he.git"},"bugs":{"url":"https://github.com/mathiasbynens/he/issues"},"directories":{"test":"tests"},"scripts":{"test":"node tests/tests.js"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-shell":"~0.3.0","grunt-template":"~0.2.0","istanbul":"~0.1.37","lodash":"~1.3.1","qunit-clib":"~1.3.0","qunitjs":"~1.11.0","regenerate":"~0.5.2","requirejs":"~2.1.6","string-escape":"~0.2.2"},"_id":"he@0.2.1","dist":{"shasum":"6e97081ab21e8ba6df01d9070b648d6fe7a5da6f","size":26253,"noattachment":false,"key":"/he/-/he-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/he/download/he-0.2.1.tgz"},"_from":".","_npmVersion":"1.2.30","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"google-wombot","email":""},{"name":"mathias","email":""}],"publish_time":1372449495009,"_cnpm_publish_time":1372449495009,"_hasShrinkwrap":false},"0.2.0":{"name":"he","version":"0.2.0","description":"A robust HTML entities encoder/decoder with full Unicode support.","homepage":"http://mths.be/he","main":"he.js","keywords":["string","entities","entity","html","encode","decode","unicode"],"licenses":[{"type":"MIT","url":"http://mths.be/mit"}],"author":{"name":"Mathias Bynens","url":"http://mathiasbynens.be/"},"repository":{"type":"git","url":"https://github.com/mathiasbynens/he.git"},"bugs":{"url":"https://github.com/mathiasbynens/he/issues"},"directories":{"test":"tests"},"scripts":{"test":"node tests/tests.js"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-shell":"~0.3.0","grunt-template":"~0.1.0","istanbul":"~0.1.37","lodash":"~1.3.1","qunit-clib":"~1.3.0","qunitjs":"~1.11.0","regenerate":"~0.5.2","requirejs":"~2.1.6","string-escape":"~0.1.6"},"readmeFilename":"README.md","_id":"he@0.2.0","dist":{"shasum":"fe1509700c35d4115b715ed80ebd2f5fbbf7d90b","size":28802,"noattachment":false,"key":"/he/-/he-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/he/download/he-0.2.0.tgz"},"_from":".","_npmVersion":"1.2.30","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"google-wombot","email":""},{"name":"mathias","email":""}],"publish_time":1372348041538,"_cnpm_publish_time":1372348041538,"_hasShrinkwrap":false},"0.1.10":{"name":"he","version":"0.1.10","description":"A robust HTML entities encoder/decoder with full Unicode support.","homepage":"http://mths.be/he","main":"he.js","keywords":["string","entities","entity","html","encode","decode","unicode"],"licenses":[{"type":"MIT","url":"http://mths.be/mit"}],"author":{"name":"Mathias Bynens","url":"http://mathiasbynens.be/"},"repository":{"type":"git","url":"https://github.com/mathiasbynens/he.git"},"bugs":{"url":"https://github.com/mathiasbynens/he/issues"},"directories":{"test":"tests"},"scripts":{"test":"node tests/tests.js"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-shell":"~0.3.0","grunt-template":"~0.1.0","istanbul":"~0.1.37","lodash":"~1.3.1","qunit-clib":"~1.3.0","qunitjs":"~1.11.0","regenerate":"~0.5.2","requirejs":"~2.1.6","string-escape":"~0.1.6"},"_id":"he@0.1.10","dist":{"shasum":"183ecc8f277a2a577f5b2b0c2a08eb3fa908cb1f","size":26162,"noattachment":false,"key":"/he/-/he-0.1.10.tgz","tarball":"http://registry.cnpm.dingdandao.com/he/download/he-0.1.10.tgz"},"_from":".","_npmVersion":"1.2.30","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"google-wombot","email":""},{"name":"mathias","email":""}],"publish_time":1372340324229,"_cnpm_publish_time":1372340324229,"_hasShrinkwrap":false},"0.1.9":{"name":"he","version":"0.1.9","description":"A robust HTML entities encoder/decoder with full Unicode support.","homepage":"http://mths.be/he","main":"he.js","keywords":["string","entities","entity","html","encode","decode","unicode"],"licenses":[{"type":"MIT","url":"http://mths.be/mit"}],"author":{"name":"Mathias Bynens","url":"http://mathiasbynens.be/"},"repository":{"type":"git","url":"https://github.com/mathiasbynens/he.git"},"bugs":{"url":"https://github.com/mathiasbynens/he/issues"},"directories":{"test":"tests"},"scripts":{"test":"node tests/tests.js"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-shell":"~0.3.0","grunt-template":"~0.1.0","istanbul":"~0.1.37","lodash":"~1.3.1","qunit-clib":"~1.3.0","qunitjs":"~1.11.0","regenerate":"~0.5.2","requirejs":"~2.1.6","string-escape":"~0.1.6"},"readmeFilename":"README.md","_id":"he@0.1.9","dist":{"shasum":"0354548643682c12752c63bc39e7bbbf9df096bf","size":27765,"noattachment":false,"key":"/he/-/he-0.1.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/he/download/he-0.1.9.tgz"},"_from":".","_npmVersion":"1.2.30","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"google-wombot","email":""},{"name":"mathias","email":""}],"publish_time":1372332965943,"_cnpm_publish_time":1372332965943,"_hasShrinkwrap":false},"0.1.8":{"name":"he","version":"0.1.8","description":"A robust HTML entities encoder/decoder with full Unicode support.","homepage":"http://mths.be/he","main":"he.js","keywords":["string","entities","entity","html","encode","decode","unicode"],"licenses":[{"type":"MIT","url":"http://mths.be/mit"}],"author":{"name":"Mathias Bynens","url":"http://mathiasbynens.be/"},"repository":{"type":"git","url":"https://github.com/mathiasbynens/he.git"},"bugs":{"url":"https://github.com/mathiasbynens/he/issues"},"directories":{"test":"tests"},"scripts":{"test":"node tests/tests.js"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-curl":"~1.1.1","grunt-shell":"~0.3.0","grunt-template":"~0.1.0","istanbul":"~0.1.37","lodash":"~1.3.1","qunit-clib":"~1.3.0","qunitjs":"~1.11.0","regenerate":"~0.5.2","requirejs":"~2.1.6","string-escape":"~0.1.6"},"_id":"he@0.1.8","dist":{"shasum":"4350e7c9506269928f9d84c21a2d49f1ab49d797","size":25718,"noattachment":false,"key":"/he/-/he-0.1.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/he/download/he-0.1.8.tgz"},"_from":".","_npmVersion":"1.2.30","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"google-wombot","email":""},{"name":"mathias","email":""}],"publish_time":1372319766990,"_cnpm_publish_time":1372319766990,"_hasShrinkwrap":false},"0.1.7":{"name":"he","version":"0.1.7","description":"A robust HTML entities encoder/decoder with full Unicode support.","homepage":"http://mths.be/he","main":"he.js","keywords":["string","entities","entity","html","encode","decode","unicode"],"licenses":[{"type":"MIT","url":"http://mths.be/mit"}],"author":{"name":"Mathias Bynens","url":"http://mathiasbynens.be/"},"repository":{"type":"git","url":"https://github.com/mathiasbynens/he.git"},"bugs":{"url":"https://github.com/mathiasbynens/he/issues"},"directories":{"test":"tests"},"scripts":{"test":"node tests/tests.js"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-curl":"~1.1.1","grunt-shell":"~0.3.0","grunt-template":"~0.1.0","istanbul":"~0.1.37","lodash":"~1.3.1","qunit-clib":"~1.3.0","qunitjs":"~1.11.0","regenerate":"~0.5.2","requirejs":"~2.1.6","string-escape":"~0.1.6"},"_id":"he@0.1.7","dist":{"shasum":"c5e17c7c61a8a668b249279a9ffe30ca14f3bf64","size":25811,"noattachment":false,"key":"/he/-/he-0.1.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/he/download/he-0.1.7.tgz"},"_from":".","_npmVersion":"1.2.30","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"google-wombot","email":""},{"name":"mathias","email":""}],"publish_time":1372318503487,"_cnpm_publish_time":1372318503487,"_hasShrinkwrap":false},"0.1.6":{"name":"he","version":"0.1.6","description":"A robust HTML entities encoder/decoder with full Unicode support.","homepage":"http://mths.be/he","main":"he.js","keywords":["string","entities","entity","html","encode","decode","unicode"],"licenses":[{"type":"MIT","url":"http://mths.be/mit"}],"author":{"name":"Mathias Bynens","url":"http://mathiasbynens.be/"},"repository":{"type":"git","url":"https://github.com/mathiasbynens/he.git"},"bugs":{"url":"https://github.com/mathiasbynens/he/issues"},"directories":{"test":"tests"},"scripts":{"test":"node tests/tests.js"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-curl":"~1.1.1","grunt-shell":"~0.3.0","grunt-template":"~0.1.0","istanbul":"~0.1.37","lodash":"~1.3.1","qunit-clib":"~1.3.0","qunitjs":"~1.11.0","regenerate":"~0.5.2","requirejs":"~2.1.6","string-escape":"~0.1.6"},"readmeFilename":"README.md","_id":"he@0.1.6","dist":{"shasum":"69b020bd6ab6196b42562b1c2192887ece2815f9","size":27853,"noattachment":false,"key":"/he/-/he-0.1.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/he/download/he-0.1.6.tgz"},"_from":".","_npmVersion":"1.2.30","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"google-wombot","email":""},{"name":"mathias","email":""}],"publish_time":1372310441342,"_cnpm_publish_time":1372310441342,"_hasShrinkwrap":false},"0.1.5":{"name":"he","version":"0.1.5","description":"A robust HTML entities encoder/decoder with full Unicode support.","homepage":"http://mths.be/he","main":"he.js","keywords":["string","entities","entity","html","encode","decode","unicode"],"licenses":[{"type":"MIT","url":"http://mths.be/mit"}],"author":{"name":"Mathias Bynens","url":"http://mathiasbynens.be/"},"repository":{"type":"git","url":"https://github.com/mathiasbynens/he.git"},"bugs":{"url":"https://github.com/mathiasbynens/he/issues"},"directories":{"test":"tests"},"scripts":{"test":"node tests/tests.js"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-curl":"~1.1.1","grunt-shell":"~0.3.0","grunt-template":"~0.1.0","istanbul":"~0.1.37","lodash":"~1.3.1","qunit-clib":"~1.3.0","qunitjs":"~1.11.0","regenerate":"~0.5.2","requirejs":"~2.1.6","string-escape":"~0.1.6"},"_id":"he@0.1.5","dist":{"shasum":"3b0e16129145e644589e62eec823ff6818fc4645","size":25340,"noattachment":false,"key":"/he/-/he-0.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/he/download/he-0.1.5.tgz"},"_from":".","_npmVersion":"1.2.30","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"google-wombot","email":""},{"name":"mathias","email":""}],"publish_time":1372239833310,"_cnpm_publish_time":1372239833310,"_hasShrinkwrap":false},"0.1.4":{"name":"he","version":"0.1.4","description":"A robust HTML entities encoder/decoder with full Unicode support.","homepage":"http://mths.be/he","main":"he.js","keywords":["string","entities","entity","html","encode","decode","unicode"],"licenses":[{"type":"MIT","url":"http://mths.be/mit"}],"author":{"name":"Mathias Bynens","url":"http://mathiasbynens.be/"},"repository":{"type":"git","url":"https://github.com/mathiasbynens/he.git"},"bugs":{"url":"https://github.com/mathiasbynens/he/issues"},"directories":{"test":"tests"},"scripts":{"test":"node tests/tests.js"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-curl":"~1.1.1","grunt-shell":"~0.3.0","grunt-template":"~0.1.0","istanbul":"~0.1.37","lodash":"~1.3.1","qunit-clib":"~1.3.0","qunitjs":"~1.11.0","regenerate":"~0.5.2","requirejs":"~2.1.6","string-escape":"~0.1.6"},"_id":"he@0.1.4","dist":{"shasum":"b772cb498842d6f6918b0e56079a6df27d966703","size":25358,"noattachment":false,"key":"/he/-/he-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/he/download/he-0.1.4.tgz"},"_from":".","_npmVersion":"1.2.30","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"google-wombot","email":""},{"name":"mathias","email":""}],"publish_time":1372233602097,"_cnpm_publish_time":1372233602097,"_hasShrinkwrap":false},"0.1.3":{"name":"he","version":"0.1.3","description":"A robust HTML entities encoder/decoder with full Unicode support.","homepage":"http://mths.be/he","main":"he.js","keywords":["string","entities","entity","html","encode","decode","unicode"],"licenses":[{"type":"MIT","url":"http://mths.be/mit"}],"author":{"name":"Mathias Bynens","url":"http://mathiasbynens.be/"},"repository":{"type":"git","url":"https://github.com/mathiasbynens/he.git"},"bugs":{"url":"https://github.com/mathiasbynens/he/issues"},"directories":{"test":"tests"},"scripts":{"test":"node tests/tests.js"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-curl":"~1.1.1","grunt-shell":"~0.3.0","grunt-template":"~0.1.0","istanbul":"~0.1.37","lodash":"~1.3.1","qunit-clib":"~1.3.0","qunitjs":"~1.11.0","regenerate":"~0.5.2","requirejs":"~2.1.6","string-escape":"~0.1.6"},"_id":"he@0.1.3","dist":{"shasum":"879aeb954f0846116e58d5694366d95dab6df495","size":25301,"noattachment":false,"key":"/he/-/he-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/he/download/he-0.1.3.tgz"},"_from":".","_npmVersion":"1.2.30","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"google-wombot","email":""},{"name":"mathias","email":""}],"publish_time":1372222145788,"_cnpm_publish_time":1372222145788,"_hasShrinkwrap":false},"0.1.2":{"name":"he","version":"0.1.2","description":"A robust HTML entities encoder/decoder with full Unicode support.","homepage":"http://mths.be/he","main":"he.js","keywords":["string","entities","entity","html","encode","decode","unicode"],"licenses":[{"type":"MIT","url":"http://mths.be/mit"}],"author":{"name":"Mathias Bynens","url":"http://mathiasbynens.be/"},"repository":{"type":"git","url":"https://github.com/mathiasbynens/he.git"},"bugs":{"url":"https://github.com/mathiasbynens/he/issues"},"directories":{"test":"tests"},"scripts":{"test":"node tests/tests.js"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-curl":"~1.1.1","grunt-shell":"~0.3.0","grunt-template":"~0.1.0","istanbul":"~0.1.37","lodash":"~1.3.1","qunit-clib":"~1.3.0","qunitjs":"~1.11.0","regenerate":"~0.5.2","requirejs":"~2.1.6","string-escape":"~0.1.6"},"_id":"he@0.1.2","dist":{"shasum":"031f56851e950bddb110dd958f8592b41acc5ba6","size":26774,"noattachment":false,"key":"/he/-/he-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/he/download/he-0.1.2.tgz"},"_from":".","_npmVersion":"1.2.30","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"google-wombot","email":""},{"name":"mathias","email":""}],"publish_time":1372155698795,"_cnpm_publish_time":1372155698795,"_hasShrinkwrap":false},"0.1.1":{"name":"he","version":"0.1.1","description":"A robust HTML entities encoder/decoder with full Unicode support.","homepage":"http://mths.be/he","main":"he.js","keywords":["string","entities","entity","html","encode","decode","unicode"],"licenses":[{"type":"MIT","url":"http://mths.be/mit"}],"author":{"name":"Mathias Bynens","url":"http://mathiasbynens.be/"},"repository":{"type":"git","url":"https://github.com/mathiasbynens/he.git"},"bugs":{"url":"https://github.com/mathiasbynens/he/issues"},"directories":{"test":"tests"},"scripts":{"test":"node tests/tests.js"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-shell":"~0.2.2","grunt-template":"~0.1.0","istanbul":"~0.1.37","qunit-clib":"~1.3.0","qunitjs":"~1.11.0","regenerate":"~0.5.1","requirejs":"~2.1.6","lodash":"~1.3.1","string-escape":"~0.1.6","grunt-curl":"~1.1.1"},"readmeFilename":"README.md","_id":"he@0.1.1","dist":{"shasum":"0938123417e6ada2be2f2b1bb4e3c94313bd1b62","size":28380,"noattachment":false,"key":"/he/-/he-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/he/download/he-0.1.1.tgz"},"_from":".","_npmVersion":"1.2.30","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"google-wombot","email":""},{"name":"mathias","email":""}],"publish_time":1372146127589,"_cnpm_publish_time":1372146127589,"_hasShrinkwrap":false},"0.1.0":{"name":"he","version":"0.1.0","description":"A robust HTML entities encoder/decoder with full Unicode support.","homepage":"http://mths.be/he","main":"he.js","keywords":["string","entities","entity","html","encode","decode","unicode"],"licenses":[{"type":"MIT","url":"http://mths.be/mit"}],"author":{"name":"Mathias Bynens","url":"http://mathiasbynens.be/"},"repository":{"type":"git","url":"https://github.com/mathiasbynens/he.git"},"bugs":{"url":"https://github.com/mathiasbynens/he/issues"},"directories":{"test":"tests"},"scripts":{"test":"node tests/tests.js"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-shell":"~0.2.2","grunt-template":"~0.1.0","istanbul":"~0.1.37","qunit-clib":"~1.3.0","qunitjs":"~1.11.0","regenerate":"~0.5.1","requirejs":"~2.1.6","lodash":"~1.3.1","string-escape":"~0.1.6","grunt-curl":"~1.1.1"},"readmeFilename":"README.md","_id":"he@0.1.0","dist":{"shasum":"ff047a4c4a91ee6be2c1156f177a46e269a35908","size":28479,"noattachment":false,"key":"/he/-/he-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/he/download/he-0.1.0.tgz"},"_from":".","_npmVersion":"1.2.30","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"google-wombot","email":""},{"name":"mathias","email":""}],"publish_time":1372143873268,"_cnpm_publish_time":1372143873268,"_hasShrinkwrap":false}},"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","_attachments":{},"homepage":"https://mths.be/he","bugs":{"url":"https://github.com/mathiasbynens/he/issues"},"license":"MIT"}