{"_id":"htmlspecialchars","_rev":"17-f34dbbafe88567795a550c225d446907","name":"htmlspecialchars","description":"Escape special characters to HTML entities in JavaScript","dist-tags":{"latest":"1.0.5"},"versions":{"1.0.0":{"name":"htmlspecialchars","version":"1.0.0","description":"Escape special characters to HTML entities in JavaScript","main":"index.js","scripts":{"test":"npm run test:mocha && npm run test:karma:ci","test:mocha":"mocha --require intelli-espower-loader --require './test/node-adaptor' test/test.js","test:karma":"./node_modules/karma/bin/karma start","test:karma:ci":"./node_modules/karma/bin/karma start --single-run --browsers PhantomJS"},"directories":{"test":"test/"},"repository":{"type":"git","url":"https://github.com/teppeis/htmlspecialchars"},"keywords":["html","escape"],"author":{"name":"teppeis@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/teppeis/htmlspecialchars/issues"},"homepage":"https://github.com/teppeis/htmlspecialchars","devDependencies":{"espower-loader":"^0.10.0","intelli-espower-loader":"^0.5.0","karma":"^0.12.25","karma-mocha":"^0.1.9","karma-phantomjs-launcher":"^0.1.4","mocha":"^2.0.1","power-assert":"^0.10.0"},"gitHead":"5648f8e1b0488e993227e2a0eede0b487d401601","_id":"htmlspecialchars@1.0.0","_shasum":"336c152a5b9bc70694a5cd5baf86adf09f94065c","_from":".","_npmVersion":"2.1.8","_nodeVersion":"0.10.32","_npmUser":{"name":"teppeis","email":"teppeis@gmail.com"},"maintainers":[{"name":"teppeis","email":"teppeis@gmail.com"}],"dist":{"shasum":"336c152a5b9bc70694a5cd5baf86adf09f94065c","tarball":"https://registry.npmjs.org/htmlspecialchars/-/htmlspecialchars-1.0.0.tgz","integrity":"sha512-1JH/M6QEpZY+Mim82oKcmxn1qmD7X1p/D+UBf/N58135pojeEXfuLztp86xInzJZ5NXH52KD5sqkPwYcUIkgzg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5mpM0fnjrVbJXuqFa8FdbnFjtasvkg97mLL/veYbiMwIgczOSxIFOJn3rFO1odrSTWQk9Kg2NLQXapP6Eltdk9cE="}]}},"1.0.1":{"name":"htmlspecialchars","version":"1.0.1","description":"Escape special characters to HTML entities in JavaScript","main":"index.js","scripts":{"test":"npm run test:mocha && npm run test:karma:ci","test:mocha":"mocha --require intelli-espower-loader --require './test/node-adaptor' test/test.js","test:karma":"./node_modules/karma/bin/karma start","test:karma:ci":"./node_modules/karma/bin/karma start --single-run --browsers PhantomJS"},"directories":{"test":"test/"},"repository":{"type":"git","url":"https://github.com/teppeis/htmlspecialchars"},"keywords":["html","escape"],"author":{"name":"teppeis@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/teppeis/htmlspecialchars/issues"},"homepage":"https://github.com/teppeis/htmlspecialchars","devDependencies":{"espower-loader":"^0.10.0","intelli-espower-loader":"^0.5.0","karma":"^0.12.25","karma-mocha":"^0.1.9","karma-phantomjs-launcher":"^0.1.4","mocha":"^2.0.1","power-assert":"^0.10.0"},"gitHead":"e92ae3673a1022e953708c138ffcc95c543513dc","_id":"htmlspecialchars@1.0.1","_shasum":"cf32e6985f204a7d3b3ea594b6d1fd21754de705","_from":".","_npmVersion":"2.1.8","_nodeVersion":"0.10.32","_npmUser":{"name":"teppeis","email":"teppeis@gmail.com"},"maintainers":[{"name":"teppeis","email":"teppeis@gmail.com"}],"dist":{"shasum":"cf32e6985f204a7d3b3ea594b6d1fd21754de705","tarball":"https://registry.npmjs.org/htmlspecialchars/-/htmlspecialchars-1.0.1.tgz","integrity":"sha512-fqpbp+Zmm9rZgzN4fl/jQMB2EYE9zek1M576tEjGR/AE+sXkesHqIeDFCazV349XdCgK7x8b/cDVSt/EaHyVHg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjeeyaWrs8BGA4nv6uEKVFjLS+3FTWAPK8MO2duSgTeAIhAPSSITiL9aBi2KhsWZTUiioEJfvhdBoZhSjpoL4VKPfR"}]}},"1.0.2":{"name":"htmlspecialchars","version":"1.0.2","description":"Escape special characters to HTML entities in JavaScript","main":"index.js","scripts":{"test":"npm run test:mocha && npm run test:karma:ci","test:mocha":"mocha --require intelli-espower-loader --require './test/node-adaptor' test/test.js","test:karma":"./node_modules/karma/bin/karma start","test:karma:ci":"./node_modules/karma/bin/karma start --single-run --browsers PhantomJS"},"directories":{"test":"test/"},"repository":{"type":"git","url":"https://github.com/teppeis/htmlspecialchars"},"keywords":["html","escape"],"author":{"name":"teppeis@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/teppeis/htmlspecialchars/issues"},"homepage":"https://github.com/teppeis/htmlspecialchars","devDependencies":{"espower-loader":"^0.10.0","intelli-espower-loader":"^0.5.0","karma":"^0.12.25","karma-mocha":"^0.1.9","karma-phantomjs-launcher":"^0.1.4","mocha":"^2.0.1","power-assert":"^0.10.0"},"gitHead":"52ef749df281863a6636824962cb285c8a140ef8","_id":"htmlspecialchars@1.0.2","_shasum":"9ae6a287aaa26263b857347c9e5dac110a3f07d0","_from":".","_npmVersion":"2.1.8","_nodeVersion":"0.10.32","_npmUser":{"name":"teppeis","email":"teppeis@gmail.com"},"maintainers":[{"name":"teppeis","email":"teppeis@gmail.com"}],"dist":{"shasum":"9ae6a287aaa26263b857347c9e5dac110a3f07d0","tarball":"https://registry.npmjs.org/htmlspecialchars/-/htmlspecialchars-1.0.2.tgz","integrity":"sha512-USK71YNd4EhDsY4eHkzkun3FNr1mzCGmDsA7sHm586LfIZ7XmJmTU6CEP4ArUTmgRkXiy3GVTjhCNGDZyrrH0w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGQfK5piko2o2eSFdY6LeZeSKQnkzm0nmwGAXBJhwgL2AiEAz25dukOJATxFOxVYh5L4iQAVCapeNnyf7P/SmLe0q5M="}]}},"1.0.3":{"name":"htmlspecialchars","version":"1.0.3","description":"Escape special characters to HTML entities in JavaScript","main":"index.js","scripts":{"test":"npm run test:mocha && npm run test:karma:ci","test:mocha":"mocha --require intelli-espower-loader --require './test/node-adaptor' test/test.js","test:karma":"./node_modules/karma/bin/karma start","test:karma:ci":"./node_modules/karma/bin/karma start --single-run --browsers PhantomJS"},"directories":{"test":"test/"},"repository":{"type":"git","url":"https://github.com/teppeis/htmlspecialchars"},"keywords":["html","escape"],"author":{"name":"teppeis@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/teppeis/htmlspecialchars/issues"},"homepage":"https://github.com/teppeis/htmlspecialchars","devDependencies":{"espower-loader":"^0.10.0","intelli-espower-loader":"^0.5.0","karma":"^0.12.25","karma-mocha":"^0.1.9","karma-phantomjs-launcher":"^0.1.4","mocha":"^2.0.1","power-assert":"^0.10.0"},"gitHead":"101897aab94e6206efd461985b5ceb875e78af8f","_id":"htmlspecialchars@1.0.3","_shasum":"bcf43bf9296e9a56611506b15f86e0412996760e","_from":".","_npmVersion":"2.1.8","_nodeVersion":"0.10.32","_npmUser":{"name":"teppeis","email":"teppeis@gmail.com"},"maintainers":[{"name":"teppeis","email":"teppeis@gmail.com"}],"dist":{"shasum":"bcf43bf9296e9a56611506b15f86e0412996760e","tarball":"https://registry.npmjs.org/htmlspecialchars/-/htmlspecialchars-1.0.3.tgz","integrity":"sha512-DuStwArRmdiJoAyuvwJbcr2PcXNZv+zTUyFt1cIHptDinEYzejP1axH6kYm3dQTAvSOJjayzlsmS2lZ5+lDuiw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAeA/cKaafJrAXE2M/iOlbVnf8ZGIYFdLBnrJbzY95HCAiBKXKnEypFlcZ6lZkizGByDKegRftp+s0r0WZnaB+rfZQ=="}]}},"1.0.4":{"name":"htmlspecialchars","version":"1.0.4","description":"Escape special characters to HTML entities in JavaScript","main":"index.js","scripts":{"test":"npm run mocha && npm run espower && npm run karma:browser && npm run karma:requirejs","mocha":"mocha --require intelli-espower-loader test/test.js","karma:watch":"./node_modules/karma/bin/karma start","karma:browser":"./node_modules/karma/bin/karma start --single-run --browsers PhantomJS","karma:requirejs":"./node_modules/karma/bin/karma start karma.requirejs.conf.js --single-run --browsers PhantomJS","espower":"espower test/test.js > test/test.powered.js"},"directories":{"test":"test/"},"repository":{"type":"git","url":"https://github.com/teppeis/htmlspecialchars"},"keywords":["html","escape"],"author":{"name":"teppeis@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/teppeis/htmlspecialchars/issues"},"homepage":"https://github.com/teppeis/htmlspecialchars","devDependencies":{"espower-cli":"^0.2.0","intelli-espower-loader":"^0.5.0","karma":"^0.12.25","karma-chrome-launcher":"^0.1.5","karma-firefox-launcher":"^0.1.3","karma-ie-launcher":"^0.1.5","karma-mocha":"^0.1.9","karma-phantomjs-launcher":"^0.1.4","karma-requirejs":"^0.2.2","karma-safari-launcher":"^0.1.1","mocha":"^2.0.1","power-assert":"^0.10.0","requirejs":"^2.1.15"},"gitHead":"d174f014c60ef2e97c8b6d170cb71963d5d8c40d","_id":"htmlspecialchars@1.0.4","_shasum":"f036a886fae71affcf3bef57225ae667763ade64","_from":".","_npmVersion":"2.1.8","_nodeVersion":"0.10.32","_npmUser":{"name":"teppeis","email":"teppeis@gmail.com"},"maintainers":[{"name":"teppeis","email":"teppeis@gmail.com"}],"dist":{"shasum":"f036a886fae71affcf3bef57225ae667763ade64","tarball":"https://registry.npmjs.org/htmlspecialchars/-/htmlspecialchars-1.0.4.tgz","integrity":"sha512-/V4ANJRVtnJ7g/rtCg/HepD6hIdrX90y+xn3wDqB9x4n0UOado6Y6YaInXXnZmLEBbE1jyjKmbGigy/BWLijww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCj8CyIfwOHLK4r0MJVOOJo41aicIJgkjTCn+/1H3Q4XQIgA3KZmg4inY+QlUE6MeugSUsg99TGhHr3olyMaaAW6xU="}]}},"1.0.5":{"name":"htmlspecialchars","version":"1.0.5","description":"Escape special characters to HTML entities in JavaScript","main":"index.js","files":["index.js"],"scripts":{"test":"npm run mocha && npm run espower && npm run karma:requirejs && npm run karma:browserstack","mocha":"mocha --require intelli-espower-loader test/test.js","karma:watch":"./node_modules/karma/bin/karma start","karma:requirejs":"./node_modules/karma/bin/karma start karma.requirejs.conf.js --single-run --browsers PhantomJS","karma:browserstack":"./node_modules/karma/bin/karma start karma.browserstack.conf.js --single-run","espower":"espower test/test.js > test/test.powered.js"},"repository":{"type":"git","url":"https://github.com/teppeis/htmlspecialchars"},"keywords":["html","escape"],"author":{"name":"Teppei Sato","email":"teppeis@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/teppeis/htmlspecialchars/issues"},"homepage":"https://github.com/teppeis/htmlspecialchars","devDependencies":{"espower-cli":"^0.2.0","intelli-espower-loader":"^0.6.0","karma":"^0.12.31","karma-browserstack-launcher":"^0.1.2","karma-chrome-launcher":"^0.1.7","karma-firefox-launcher":"^0.1.4","karma-ie-launcher":"^0.1.5","karma-mocha":"^0.1.10","karma-phantomjs-launcher":"^0.1.4","karma-requirejs":"^0.2.2","karma-safari-launcher":"^0.1.1","mocha":"^2.1.0","power-assert":"^0.10.1","requirejs":"^2.1.15"},"gitHead":"eac1a5412bbbc822b653a51d0fe8642ef8b13801","_id":"htmlspecialchars@1.0.5","_shasum":"f430f8c1d5f3709be7bebaea696dc04824306a30","_from":".","_npmVersion":"2.4.1","_nodeVersion":"0.10.32","_npmUser":{"name":"teppeis","email":"teppeis@gmail.com"},"maintainers":[{"name":"teppeis","email":"teppeis@gmail.com"}],"dist":{"shasum":"f430f8c1d5f3709be7bebaea696dc04824306a30","tarball":"https://registry.npmjs.org/htmlspecialchars/-/htmlspecialchars-1.0.5.tgz","integrity":"sha512-gRSdRUTthlrkxtvTz3s98ly/OCU9guJTDm0EtQ5pMhmGYew5x/zwcDrt9KvEu+jy9bXNppAmzLzUTmCSJytNKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEWvSjnqVl+egpHJFA4QU7DX5d3jY9JzJQKJRJ3vQlcjAiBLpvJq8LDQUSuThdK4d0+Fk5QzWWrcIRnGFr7rkFNfWA=="}]}}},"readme":"htmlspecialchars [![NPM version][npm-image]][npm-url] [![bower version][bower-image]][bower-url] [![build status][travis-image]][travis-url] [![Dependency Status][deps-image]][deps-url]\n====\n\n> Escape special characters to HTML entities in JavaScript\n\n* Simple\n* No dependencies\n* Available in browsers, AMD (RequireJS) and CommonJS (Node.js).\n\n## Usage\n\n```javascript\nconsole.log(htmlspecialchars(\"</script>'foo!\"));\n// &lt;/script&gt;&#039;foo!\n```\n\nSee [test.js](https://github.com/teppeis/htmlspecialchars/blob/master/test/test.js) for detail spec.\n\n## Install\n\n### for Node.js\n\n`npm install htmlspecialchars` and\n```javascript\nvar htmlspecialchars = require('htmlspecialchars');\nconsole.log(htmlspecialchars(\"</script>'foo!\"));\n```\n\n### for Browsers\n\nIf you want to use the latest version simply, specify gh-pages URL directly in your script tag:\n\n```html\n<script src=\"//teppeis.github.io/htmlspecialchars/index.js\"></script>\n<script>\nconsole.log(htmlspecialchars(\"<\\/script>'foo!\"));\n</script>\n```\n\nor `bower install htmlspecialchars` and specify the local `index.js`:\n\n```html\n<script src=\"path/to/bower_components/htmlspecialchars/index.js\"></script>\n```\n\nor load it with [RequireJS](http://requirejs.org/).\n\n## Testing\n\nThis library is tested with [BrowserStack](http://www.browserstack.com/) Open Source Free license. Thanks!\n\n* IE 8, IE 11\n* Chrome\n* Firefox\n* Safari 8\n* iOS 7 Safari\n* Android 4.4 Browser\n\n## License\n\nMIT License: Teppei Sato &lt;teppeis@gmail.com&gt;\n\n[npm-image]: https://img.shields.io/npm/v/htmlspecialchars.svg\n[npm-url]: https://npmjs.org/package/htmlspecialchars\n[bower-image]: https://img.shields.io/bower/v/htmlspecialchars.svg\n[bower-url]: https://github.com/teppeis/htmlspecialchars\n[travis-image]: https://travis-ci.org/teppeis/htmlspecialchars.svg?branch=master\n[travis-url]: https://travis-ci.org/teppeis/htmlspecialchars\n[deps-image]: https://david-dm.org/teppeis/htmlspecialchars.svg\n[deps-url]: https://david-dm.org/teppeis/htmlspecialchars\n","maintainers":[{"name":"teppeis","email":"teppeis@gmail.com"}],"time":{"modified":"2022-06-18T22:07:25.639Z","created":"2014-11-23T02:56:05.127Z","1.0.0":"2014-11-23T02:56:05.127Z","1.0.1":"2014-11-23T03:14:50.418Z","1.0.2":"2014-11-23T04:25:42.681Z","1.0.3":"2014-11-23T04:31:18.298Z","1.0.4":"2014-11-23T16:12:00.850Z","1.0.5":"2015-02-07T12:58:14.105Z"},"homepage":"https://github.com/teppeis/htmlspecialchars","keywords":["html","escape"],"repository":{"type":"git","url":"https://github.com/teppeis/htmlspecialchars"},"author":{"name":"Teppei Sato","email":"teppeis@gmail.com"},"bugs":{"url":"https://github.com/teppeis/htmlspecialchars/issues"},"license":"MIT","readmeFilename":"README.md","users":{"teppeis":true,"kexi":true,"zcdll":true}}