{"_id":"html-escape","_rev":"13-0ca7b05458c6142e042ffa096b8af253","name":"html-escape","description":"Escape string for use in html","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"html-escape","version":"1.0.0","description":"Escape HTML entities","main":"index.js","scripts":{"test":"tape test.js"},"repository":{"type":"git","url":"git@github.com:parshap/html-escape.git"},"keywords":["html","escape","xss"],"author":{"name":"Parsha Pourkhomami"},"license":"Public Domain","bugs":{"url":"https://github.com/parshap/html-escape/issues"},"devDependencies":{"tape":"~2.0.0"},"_id":"html-escape@1.0.0","dist":{"shasum":"db2db5526a64c04a41c7677de3056c0d1381d465","tarball":"https://registry.npmjs.org/html-escape/-/html-escape-1.0.0.tgz","integrity":"sha512-sjFEuep+X7/XN/9cZ7WJhA01Kv68NlZwswjvdbivl2EyL1OHaNYJEitVwtQqk9KFQmXlqN/4AH1I/wLQbcn9dg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4hX7WdR9cwuV5zbBixewD/u/7Qzq4KHtN6XRUTswFxwIhAJnIAezeBuLYa+j2QedrLQWc5rro2RfzSYRMWKfnRcAI"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"parshap","email":"supster+npm@gmail.com"},"maintainers":[{"name":"parshap","email":"supster+npm@gmail.com"}]},"1.0.1":{"name":"html-escape","version":"1.0.1","description":"Escape reserved HTML characters","main":"index.js","scripts":{"test":"tape test.js"},"repository":{"type":"git","url":"git@github.com:parshap/html-escape.git"},"keywords":["html","html entities","escape","xss"],"author":{"name":"Parsha Pourkhomami"},"license":"Public Domain","bugs":{"url":"https://github.com/parshap/html-escape/issues"},"devDependencies":{"tape":"~2.0.0"},"_id":"html-escape@1.0.1","dist":{"shasum":"993ac485fab35cbe40ab2d2be86fb69a0be3996a","tarball":"https://registry.npmjs.org/html-escape/-/html-escape-1.0.1.tgz","integrity":"sha512-eLIZfAEy1dzzs+D/Nk7KblOl6WMMmS7y0KuURpNWaVdaYy35pUaZj8SdUYN3TOO5sXkvPU4C30P4qWL5N/Pp1g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAo++Mg5GJVl6wqfTC2lOGRyCwWxjr2g2tjkeQWNJVXQAiBkfXeRGFbT/OjM72mPzTJS2GQwpWXdJL5nv0YN2OicVA=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"parshap","email":"supster+npm@gmail.com"},"maintainers":[{"name":"parshap","email":"supster+npm@gmail.com"}]},"1.0.2":{"name":"html-escape","version":"1.0.2","description":"Escape reserved HTML characters","main":"index.js","scripts":{"test":"tape test.js"},"repository":{"type":"git","url":"git@github.com:parshap/html-escape.git"},"keywords":["html","html entities","escape","xss"],"author":{"name":"Parsha Pourkhomami"},"license":"Public Domain","bugs":{"url":"https://github.com/parshap/html-escape/issues"},"devDependencies":{"tape":"~2.0.0"},"gitHead":"4b07a7a770ff3c5dc9bd7e90004ea22225cf6f8b","homepage":"https://github.com/parshap/html-escape","_id":"html-escape@1.0.2","_shasum":"5fa787c0568090fe332ed5b3cf4aa4f646421a74","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.10.35","_npmUser":{"name":"parshap","email":"parshap+npm@gmail.com"},"maintainers":[{"name":"parshap","email":"supster+npm@gmail.com"}],"dist":{"shasum":"5fa787c0568090fe332ed5b3cf4aa4f646421a74","tarball":"https://registry.npmjs.org/html-escape/-/html-escape-1.0.2.tgz","integrity":"sha512-r4cqVc7QAX1/jpPsW9OJNsTTtFhcf+ZBqoA3rWOddMg/y+n6ElKfz+IGKbvV2RTeECDzyrQXa2rpo3IFFrANWg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBROAGnowMNbNu5p2p8ewM2ig4xCWXnhY1smKxsFXBkxAiEArhSdf9cGcKsxsUD2apGC3zdgrzVzhRzNcSmfZ/GbtyY="}]}},"2.0.0":{"name":"html-escape","version":"2.0.0","description":"Escape string for use in html","main":"index.js","scripts":{"test":"tape test.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/parshap/html-escape.git"},"keywords":["html","html entities","escape","xss"],"author":{"name":"Parsha Pourkhomami"},"license":"Public Domain","bugs":{"url":"https://github.com/parshap/html-escape/issues"},"devDependencies":{"tape":"~2.0.0"},"gitHead":"0e42410116f02d7a9ee6cfdd18bd185e0f24eb89","homepage":"https://github.com/parshap/html-escape#readme","_id":"html-escape@2.0.0","_shasum":"60c8ddd465edf0cae02af9e99fdf5f883b09be49","_from":".","_npmVersion":"3.5.3","_nodeVersion":"4.2.6","_npmUser":{"name":"parshap","email":"parshap+npm@gmail.com"},"maintainers":[{"name":"parshap","email":"supster+npm@gmail.com"}],"dist":{"shasum":"60c8ddd465edf0cae02af9e99fdf5f883b09be49","tarball":"https://registry.npmjs.org/html-escape/-/html-escape-2.0.0.tgz","integrity":"sha512-BYh0wceM2Vm4/Q8TNfnKaHXs4DCv2DuYVS87DR40elSvFc+8a6B9mE9ej+8nCOkdqPx7puEx9+hm+GoJ3f9PzA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJmRdfb25r/jOomZDm7JWeBoH0LOUjgS8GJfUj+Nhv0wIhAOumcAlgo1hKkeul+zWjmfGbQr966VOmNeAQJeENep6o"}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/html-escape-2.0.0.tgz_1461135832984_0.47069881670176983"}}},"readme":"# html-escape\n\nEscape a string to be safe for use in html. `&`, `<`, `'`, and `\"`\ncharacters are replaced with with their [named character references][]:\n`&amp;`, `&lt;`, `&apos;`, and `&quot;`. Escaped strings will be safe\nfor use in the following contexts:\n\n * [RCDATA][] and [DATA][html-data] (content of all elements except for\n   `<script>` and `<style>`)\n * [Single-quoted attribute values][html-single-attribute] `'`\n * [Double-quoted attribute values][html-double-attribute] `\"`\n\n[named character references]: https://html.spec.whatwg.org/multipage/syntax.html#named-character-references\n[html-data]: https://html.spec.whatwg.org/multipage/syntax.html#data-state\n[rcdata]: https://html.spec.whatwg.org/multipage/syntax.html#rcdata-state\n[html-single-attribute]: https://html.spec.whatwg.org/multipage/syntax.html#attribute-value-(single-quoted)-state\n[html-double-attribute]: https://html.spec.whatwg.org/multipage/syntax.html#attribute-value-(double-quoted)-state\n\n# Example\n\n```js\nvar escape = require(\"html-escape\");\nvar xssAttempt = \"Hello <script>while(1);</script> world!\";\n// Output safe html\nconsole.log(\"<p>\" + escape(xssAttempt) + \"</p>\");\n// \"<p>Hello &lt;script>while(1);&lt;/script> world!</p>\"\n```\n\n# Installation\n\n```\nnpm install html-escape\n```\n","maintainers":[{"email":"parshap+npm@gmail.com","name":"parshap"}],"time":{"modified":"2022-06-18T21:52:32.448Z","created":"2013-10-17T09:06:31.227Z","1.0.0":"2013-10-17T09:06:34.226Z","1.0.1":"2013-10-17T09:11:04.003Z","1.0.2":"2015-06-12T23:44:33.036Z","2.0.0":"2016-04-20T07:03:55.115Z"},"author":{"name":"Parsha Pourkhomami"},"repository":{"type":"git","url":"git+ssh://git@github.com/parshap/html-escape.git"},"homepage":"https://github.com/parshap/html-escape#readme","keywords":["html","html entities","escape","xss"],"bugs":{"url":"https://github.com/parshap/html-escape/issues"},"license":"Public Domain","readmeFilename":"README.md","users":{"zhenzhong":true}}