{"_id":"strip-js","_rev":"18-ecfbbefcc76e3141d14c2944c3c1440f","name":"strip-js","description":"Strips out all JavaScript code from some HTML text","dist-tags":{"latest":"1.2.0"},"versions":{"0.0.1":{"name":"strip-js","version":"0.0.1","description":"Strips out all JavaScript code from some HTML text","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/shivanshu3/strip-js.git"},"author":{"name":"Shivanshu Goyal"},"license":"MIT","bugs":{"url":"https://github.com/shivanshu3/strip-js/issues"},"homepage":"https://github.com/shivanshu3/strip-js#readme","dependencies":{"cheerio":"^0.22.0","sanitize-html":"^1.13.0"},"gitHead":"0f5c45dafa182644dc6a6dbc69741b5f5bf216da","_id":"strip-js@0.0.1","_shasum":"f77496b26beae018b480875bbd840956cd9aa039","_from":".","_npmVersion":"3.5.2","_nodeVersion":"4.2.6","_npmUser":{"name":"shivanshu3","email":"shivanshu3@gmail.com"},"dist":{"shasum":"f77496b26beae018b480875bbd840956cd9aa039","tarball":"https://registry.npmjs.org/strip-js/-/strip-js-0.0.1.tgz","integrity":"sha512-+ouj08q6pXi+aQpepHuWohObkwOvVQbdJ3s1LgkoTOpeJwRI4FagRV59mFRv8r71GYCIAnG3l3Jy5YjOfiNksA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFhsvOruB9o7FpPmx9QZlM/wbU05XLAFlKIuDVt2jTLQIgEiTdkOeWGde6JeNCvEMuoBZCeNlbsIyon5ws10FUxwA="}]},"maintainers":[{"name":"shivanshu3","email":"shivanshu3@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/strip-js-0.0.1.tgz_1475877975754_0.9467772094067186"},"directories":{}},"0.0.2":{"name":"strip-js","version":"0.0.2","description":"Strips out all JavaScript code from some HTML text","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/shivanshu3/strip-js.git"},"author":{"name":"Shivanshu Goyal"},"license":"MIT","bugs":{"url":"https://github.com/shivanshu3/strip-js/issues"},"homepage":"https://github.com/shivanshu3/strip-js#readme","dependencies":{"cheerio":"^0.22.0","sanitize-html":"^1.13.0"},"gitHead":"460a8dcb1e3975df4e01589c552e61b846792a73","_id":"strip-js@0.0.2","_shasum":"e406155ee28dc778503a42bdef1876bcb5d9a937","_from":".","_npmVersion":"3.10.5","_nodeVersion":"0.10.33","_npmUser":{"name":"shivanshu3","email":"shivanshu3@gmail.com"},"dist":{"shasum":"e406155ee28dc778503a42bdef1876bcb5d9a937","tarball":"https://registry.npmjs.org/strip-js/-/strip-js-0.0.2.tgz","integrity":"sha512-Cj+J+9TgGoYs90TVwnN33NuZ5DuMWwDd/FbPxfO0EkfdEobddW2ZOhJdt6fZPi7DkqaOFQFhxLA6My2cTUcBzg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwE0l1axixqz66f8Hbd9M2I2xl7AB+J+vqu2YsY+H3YwIgKkDZi3yLWqmq5n/HtdhTRlyJ5CdPN23rUFErMToIFbc="}]},"maintainers":[{"name":"shivanshu3","email":"shivanshu3@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/strip-js-0.0.2.tgz_1475984193512_0.30703021865338087"},"directories":{}},"0.0.3":{"name":"strip-js","version":"0.0.3","description":"Strips out all JavaScript code from some HTML text","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/shivanshu3/strip-js.git"},"author":{"name":"Shivanshu Goyal"},"license":"MIT","bugs":{"url":"https://github.com/shivanshu3/strip-js/issues"},"homepage":"https://github.com/shivanshu3/strip-js#readme","dependencies":{"cheerio":"^0.22.0","sanitize-html":"^1.13.0"},"keywords":["html","strip","out","javascript","security","display","email","cross-site","cross","site","scripting"],"gitHead":"40cd6f7c9679782c902cef1b378472f17a7a69ba","_id":"strip-js@0.0.3","_shasum":"4b37e1894e9555c15cf38741c0ef5b57b826f584","_from":".","_npmVersion":"3.10.5","_nodeVersion":"0.10.33","_npmUser":{"name":"shivanshu3","email":"shivanshu3@gmail.com"},"dist":{"shasum":"4b37e1894e9555c15cf38741c0ef5b57b826f584","tarball":"https://registry.npmjs.org/strip-js/-/strip-js-0.0.3.tgz","integrity":"sha512-21+CgIwvGtnJduCSLNx/3+WUDn//uHLdfjbpp0b/i3idQ5MVnC0cpI3lp6SX9ZFBtMD6n/OuNmRtvqQM9o5rlQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG2Mqg2vQzqXlPD+7sncfDLh5bPavsPX/k3wl6NAxDTgAiEA5atXkECNzcarwPW+lj+YKNQhiyAV2JqxTPhSNgzxpI4="}]},"maintainers":[{"name":"shivanshu3","email":"shivanshu3@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/strip-js-0.0.3.tgz_1475989090966_0.2598570780828595"},"directories":{}},"0.0.5":{"name":"strip-js","version":"0.0.5","description":"Strips out all JavaScript code from some HTML text","main":"index.js","scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"git+https://github.com/shivanshu3/strip-js.git"},"author":{"name":"Shivanshu Goyal"},"license":"MIT","bugs":{"url":"https://github.com/shivanshu3/strip-js/issues"},"homepage":"https://github.com/shivanshu3/strip-js#readme","dependencies":{"cheerio":"^0.22.0","sanitize-html":"^1.13.0"},"keywords":["html","javascript","security","email","cross-site","cross","site","scripting","attack"],"devDependencies":{"htmlclean":"^2.7.7"},"gitHead":"731584961cbc946f4b1e5a5214b8a487de2bca74","_id":"strip-js@0.0.5","_shasum":"30055b44d5c76582baa2e0687d3f33fe8b0f99f6","_from":".","_npmVersion":"3.5.2","_nodeVersion":"4.2.6","_npmUser":{"name":"shivanshu3","email":"shivanshu3@gmail.com"},"dist":{"shasum":"30055b44d5c76582baa2e0687d3f33fe8b0f99f6","tarball":"https://registry.npmjs.org/strip-js/-/strip-js-0.0.5.tgz","integrity":"sha512-0cPpp9KkvbcxjEkm1O6jGRUAYQHpnHRLeSCsLZYUX5CZCh946Jgpwn3dFxVeyJcK0CKRjIRgv37g/SU7xLBptA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDF/j9ax3W7NONdCb1ERMP0Bzlh7M6LTKwpt3sF3C5tVAiBizlfd6zSLXjArhirzaHd3RIUwR3iqqTwDt5MCBQfp5w=="}]},"maintainers":[{"name":"shivanshu3","email":"shivanshu3@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/strip-js-0.0.5.tgz_1476342558618_0.03856291086412966"},"directories":{}},"0.0.6":{"name":"strip-js","version":"0.0.6","description":"Strips out all JavaScript code from some HTML text","main":"index.js","bin":{"strip-js":"./cli.js"},"scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"git+https://github.com/shivanshu3/strip-js.git"},"author":{"name":"Shivanshu Goyal"},"license":"MIT","bugs":{"url":"https://github.com/shivanshu3/strip-js/issues"},"homepage":"https://github.com/shivanshu3/strip-js#readme","dependencies":{"cheerio":"^0.22.0","sanitize-html":"^1.13.0"},"keywords":["html","javascript","security","email","cross-site","cross","site","scripting","attack"],"devDependencies":{"htmlclean":"^2.7.7"},"gitHead":"5b20426c0871225df8b722f7fd8c1de77bc6105b","_id":"strip-js@0.0.6","_shasum":"1ff8ff756b4f72130b721a3d7bc8a1976d47937d","_from":".","_npmVersion":"3.5.2","_nodeVersion":"4.2.6","_npmUser":{"name":"shivanshu3","email":"shivanshu3@gmail.com"},"dist":{"shasum":"1ff8ff756b4f72130b721a3d7bc8a1976d47937d","tarball":"https://registry.npmjs.org/strip-js/-/strip-js-0.0.6.tgz","integrity":"sha512-ST+NCcnjMCByrriggjntwV93gVhvs4ZmmiciJsr31Na93K7JJfdsZHQmzHPwSAwPXHJqfzhYcomP2RfkwxjflA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICm4rUNAk/qHJGfQtaP9ALp2fTNF9xlDMR7mIZRfYirZAiEA7y48L7AUVYCH7eA36sUCutAS5QRHCJD8pTSgORgcEJo="}]},"maintainers":[{"name":"shivanshu3","email":"shivanshu3@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/strip-js-0.0.6.tgz_1476476511093_0.11269498569890857"},"directories":{}},"0.0.7":{"name":"strip-js","version":"0.0.7","description":"Strips out all JavaScript code from some HTML text","main":"index.js","bin":{"strip-js":"./cli.js"},"scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"git+https://github.com/shivanshu3/strip-js.git"},"author":{"name":"Shivanshu Goyal"},"license":"MIT","bugs":{"url":"https://github.com/shivanshu3/strip-js/issues"},"homepage":"https://github.com/shivanshu3/strip-js#readme","dependencies":{"cheerio":"^0.22.0","sanitize-html":"^1.13.0"},"keywords":["html","javascript","security","email","cross-site","cross","site","scripting","attack"],"devDependencies":{"htmlclean":"^2.7.7"},"gitHead":"d244c74ef81552b92f16fe1ea97a17c7b24ac404","_id":"strip-js@0.0.7","_shasum":"806fa74882dbe7ef9e309cdb9a435ad25f18167a","_from":".","_npmVersion":"3.5.2","_nodeVersion":"4.2.6","_npmUser":{"name":"shivanshu3","email":"shivanshu3@gmail.com"},"dist":{"shasum":"806fa74882dbe7ef9e309cdb9a435ad25f18167a","tarball":"https://registry.npmjs.org/strip-js/-/strip-js-0.0.7.tgz","integrity":"sha512-aqFazowjS8csfk1eRueYoDR/Cd2bgW4xizZp+UtHxgHoIGSFvBvynz/yKnEQfikWzxZ6qBqU41FHFv7Mi7eMxg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEmAOjM5M4j8ZHTGA3OX09htVpIxko5nCvO/3FCjS52MAiEA6z7i1Ebp/krPnjxGfqz8pTL3K7SVep3OEc0QBttjcJA="}]},"maintainers":[{"name":"shivanshu3","email":"shivanshu3@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/strip-js-0.0.7.tgz_1476770289756_0.17112287529744208"},"directories":{}},"1.0.0":{"name":"strip-js","version":"1.0.0","description":"Strips out all JavaScript code from some HTML text","main":"index.js","bin":{"strip-js":"./cli.js"},"scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"git+https://github.com/shivanshu3/strip-js.git"},"author":{"name":"Shivanshu Goyal"},"license":"MIT","bugs":{"url":"https://github.com/shivanshu3/strip-js/issues"},"homepage":"https://github.com/shivanshu3/strip-js#readme","dependencies":{"cheerio":"^0.22.0","sanitize-html":"^1.13.0"},"keywords":["html","javascript","security","email","cross-site","cross","site","scripting","attack"],"devDependencies":{"htmlclean":"^2.7.7"},"gitHead":"009a106989c10507b74ad26e3da0922fb8754093","_id":"strip-js@1.0.0","_shasum":"4624e66bdaf087e3f16da9b9a400fd75474a28d6","_from":".","_npmVersion":"3.5.2","_nodeVersion":"4.2.6","_npmUser":{"name":"shivanshu3","email":"shivanshu3@gmail.com"},"dist":{"shasum":"4624e66bdaf087e3f16da9b9a400fd75474a28d6","tarball":"https://registry.npmjs.org/strip-js/-/strip-js-1.0.0.tgz","integrity":"sha512-ZORSHvirrJvyQrupsRCYVVzYmCs3DFW1PtKZutgCtuM4b94dhsVncAjBq2/2EFuBvf5XVQeNOWlAnbf0KDCyWQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDL4fvoPF0WZKZKcpBABjZnVUJAn480gkSxf8xLp+m9NAIge9vdEm1Zw9m+QJvVjNXVuahNAxJnWDW477FMAKhlI6c="}]},"maintainers":[{"name":"shivanshu3","email":"shivanshu3@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/strip-js-1.0.0.tgz_1477104490000_0.9736158279702067"},"directories":{}},"1.0.1":{"name":"strip-js","version":"1.0.1","description":"Strips out all JavaScript code from some HTML text","main":"index.js","bin":{"strip-js":"./cli.js"},"scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"git+https://github.com/shivanshu3/strip-js.git"},"author":{"name":"Shivanshu Goyal"},"license":"MIT","bugs":{"url":"https://github.com/shivanshu3/strip-js/issues"},"homepage":"https://github.com/shivanshu3/strip-js#readme","dependencies":{"cheerio":"^0.22.0","sanitize-html":"^1.13.0"},"keywords":["html","javascript","security","email","cross-site","cross","site","scripting","attack"],"devDependencies":{"htmlclean":"^2.7.7"},"gitHead":"cc364eebcb2785256d053a708a5a9d61247d6cdb","_id":"strip-js@1.0.1","_shasum":"d4dd5753d5b8658454cbf7069e16db3b75e132f3","_from":".","_npmVersion":"3.10.5","_nodeVersion":"0.10.33","_npmUser":{"name":"shivanshu3","email":"shivanshu3@gmail.com"},"dist":{"shasum":"d4dd5753d5b8658454cbf7069e16db3b75e132f3","tarball":"https://registry.npmjs.org/strip-js/-/strip-js-1.0.1.tgz","integrity":"sha512-+KVbj7IoibhvQHw0OhWZbL2ZIByCXb69k2wwToZ75oF54zxitP3TeIIKUwUdI4frWJOtzIGAALNUIdu0wE+teQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICURwZw7EsvMDF5gG1OBjn910pUwg/dXtr8tj8o9hCHVAiEA8bPoFW7tclXQxaAJtiLGlHMuDRkKn3OgjYwgSMjDsKs="}]},"maintainers":[{"name":"shivanshu3","email":"shivanshu3@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/strip-js-1.0.1.tgz_1478942399564_0.5768933042418212"},"directories":{}},"1.0.2":{"name":"strip-js","version":"1.0.2","description":"Strips out all JavaScript code from some HTML text","main":"index.js","bin":{"strip-js":"./cli.js"},"scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"git+https://github.com/shivanshu3/strip-js.git"},"author":{"name":"Shivanshu Goyal"},"license":"MIT","bugs":{"url":"https://github.com/shivanshu3/strip-js/issues"},"homepage":"https://github.com/shivanshu3/strip-js#readme","dependencies":{"cheerio":"^0.22.0","sanitize-html":"^1.13.0"},"keywords":["html","javascript","security","email","cross-site","cross","site","scripting","attack"],"devDependencies":{"htmlclean":"^2.7.7"},"gitHead":"1ae45b8fe5434d97e7bd727b84752642bd1f6083","_id":"strip-js@1.0.2","_shasum":"c1a633b2cdb927338438506a017d0645bf805eef","_from":".","_npmVersion":"3.10.5","_nodeVersion":"0.10.33","_npmUser":{"name":"shivanshu3","email":"shivanshu3@gmail.com"},"dist":{"shasum":"c1a633b2cdb927338438506a017d0645bf805eef","tarball":"https://registry.npmjs.org/strip-js/-/strip-js-1.0.2.tgz","integrity":"sha512-w+xuQpKjFTIeHe3Ffz9Aa8FzCQTIzRLcaz9zm7M3SZSr0BrUD158cpsc5W/qYsIml8DuIdPV3b/spfWHtjG9Yw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6rE9GdVigN+EeJ6Ov9iNjLoTBJLlzPaPJ9fDdQjm5qwIgeV5luqSSC/XaANckB2/R+zqNg5eNdOvlC6UVFc2468s="}]},"maintainers":[{"name":"shivanshu3","email":"shivanshu3@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/strip-js-1.0.2.tgz_1478942589263_0.5003931724932045"},"directories":{}},"1.0.3":{"name":"strip-js","version":"1.0.3","description":"Strips out all JavaScript code from some HTML text","main":"index.js","bin":{"strip-js":"./cli.js"},"scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"git+https://github.com/shivanshu3/strip-js.git"},"author":{"name":"Shivanshu Goyal"},"license":"MIT","bugs":{"url":"https://github.com/shivanshu3/strip-js/issues"},"homepage":"https://github.com/shivanshu3/strip-js#readme","dependencies":{"cheerio":"^0.22.0","sanitize-html":"^1.13.0"},"keywords":["html","javascript","security","email","cross-site","cross","site","scripting","attack"],"devDependencies":{"htmlclean":"^2.7.7"},"gitHead":"9bf1c3883b77666773d3abec93b7997c51bc05e9","_id":"strip-js@1.0.3","_shasum":"d4f4702320de74fa507f85db9c67a6a296fafc7f","_from":".","_npmVersion":"3.10.5","_nodeVersion":"0.10.33","_npmUser":{"name":"shivanshu3","email":"shivanshu3@gmail.com"},"dist":{"shasum":"d4f4702320de74fa507f85db9c67a6a296fafc7f","tarball":"https://registry.npmjs.org/strip-js/-/strip-js-1.0.3.tgz","integrity":"sha512-wuPHNrkOMuJV/W0P14JxRC/OEeFuv3fAWQb85CHMWbB1Ei8Q4dEIvO2oaG0gNLb83YF5UvkNd0ibnUMv9eMGVw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDe8lLiQgxOMUubCLA037qqTtBudzWG3aORK+fTPffFAAIgYYMLtm/kcCfkophw83RhgiDIspXNVZtx00wYwqueN3Q="}]},"maintainers":[{"name":"shivanshu3","email":"shivanshu3@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/strip-js-1.0.3.tgz_1478942661648_0.07204133993946016"},"directories":{}},"1.0.4":{"name":"strip-js","version":"1.0.4","description":"Strips out all JavaScript code from some HTML text","main":"index.js","bin":{"strip-js":"./cli.js"},"scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"git+https://github.com/shivanshu3/strip-js.git"},"author":{"name":"Shivanshu Goyal"},"license":"MIT","bugs":{"url":"https://github.com/shivanshu3/strip-js/issues"},"homepage":"https://github.com/shivanshu3/strip-js#readme","dependencies":{"cheerio":"^0.22.0","sanitize-html":"^1.13.0"},"keywords":["html","javascript","security","email","cross-site","cross","site","scripting","attack"],"devDependencies":{"htmlclean":"^2.7.7"},"gitHead":"620bb7efa4395c2375fa3268ec82d61bb2b1ff7c","_id":"strip-js@1.0.4","_shasum":"dbb5ef13c7d8396c67dbcb2f08939941238686c9","_from":".","_npmVersion":"3.5.2","_nodeVersion":"4.2.6","_npmUser":{"name":"shivanshu3","email":"shivanshu3@gmail.com"},"dist":{"shasum":"dbb5ef13c7d8396c67dbcb2f08939941238686c9","tarball":"https://registry.npmjs.org/strip-js/-/strip-js-1.0.4.tgz","integrity":"sha512-TvREmFqnYarxtvpHIOv9igzmmL6jvbFAf89i+Kw48Ha/HYoUAksfjkLaDuXGgthnoUEas6ih6iYFLFFOGmjzZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCclGVIuJIVQsacnWBgJ7l/oToDjIkJoSyw9iX6fo1SEgIgXuDc0f5R7+8Hz939+JWIjW74uPJhsJLLkf8nQgrwV8s="}]},"maintainers":[{"name":"shivanshu3","email":"shivanshu3@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/strip-js-1.0.4.tgz_1481493149459_0.4721252485178411"},"directories":{}},"1.0.5":{"name":"strip-js","version":"1.0.5","description":"Strips out all JavaScript code from some HTML text","main":"index.js","bin":{"strip-js":"./cli.js"},"scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"git+https://github.com/shivanshu3/strip-js.git"},"author":{"name":"Shivanshu Goyal"},"license":"MIT","bugs":{"url":"https://github.com/shivanshu3/strip-js/issues"},"homepage":"https://github.com/shivanshu3/strip-js#readme","dependencies":{"cheerio":"^0.22.0","sanitize-html":"^1.13.0"},"keywords":["html","javascript","security","email","cross-site","cross","site","scripting","attack"],"devDependencies":{"htmlclean":"^2.7.7"},"gitHead":"16ca472d1dd50a7e0e46766651dc528304e932f9","_id":"strip-js@1.0.5","_shasum":"a10f692d2a4d6fbb2d64184afc62696cec9f62ca","_from":".","_npmVersion":"3.5.2","_nodeVersion":"4.2.6","_npmUser":{"name":"shivanshu3","email":"shivanshu3@gmail.com"},"dist":{"shasum":"a10f692d2a4d6fbb2d64184afc62696cec9f62ca","tarball":"https://registry.npmjs.org/strip-js/-/strip-js-1.0.5.tgz","integrity":"sha512-KrJ+OPAGyp8bJfXoyaXfEZF0IQqbleGrLx4mk7lMSjDgoYJt1tEd1omM5OZGKy91Jl4tgJO5WqD/wa6bfViWJQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGBkS0SeBg4SKpEH/hfGJ86HEPwy0GHYw5Yw7jTf20G7AiBoHCk/pW5aZqHR1QeKwZbm518MMepX+NK2bL+nCkckNg=="}]},"maintainers":[{"name":"shivanshu3","email":"shivanshu3@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/strip-js-1.0.5.tgz_1481842430998_0.4492750484496355"},"directories":{}},"1.0.6":{"name":"strip-js","version":"1.0.6","description":"Strips out all JavaScript code from some HTML text","main":"index.js","bin":{"strip-js":"./cli.js"},"scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"git+https://github.com/shivanshu3/strip-js.git"},"author":{"name":"Shivanshu Goyal"},"license":"MIT","bugs":{"url":"https://github.com/shivanshu3/strip-js/issues"},"homepage":"https://github.com/shivanshu3/strip-js#readme","dependencies":{"cheerio":"^0.22.0","sanitize-html":"^1.13.0"},"keywords":["html","javascript","security","email","cross-site","cross","site","scripting","attack"],"devDependencies":{"htmlclean":"^2.7.7"},"gitHead":"101cd48f184fb93b21e60467f833ce41d9fe79f1","_id":"strip-js@1.0.6","_shasum":"9e6584a4c77431bbe5e145cf65bb75628d4441fd","_from":".","_npmVersion":"3.5.2","_nodeVersion":"4.2.6","_npmUser":{"name":"shivanshu3","email":"shivanshu3@gmail.com"},"dist":{"shasum":"9e6584a4c77431bbe5e145cf65bb75628d4441fd","tarball":"https://registry.npmjs.org/strip-js/-/strip-js-1.0.6.tgz","integrity":"sha512-G/5f02/Pc4F8aR8AoUsbwH9JlWlOhLwlL7ZZz1JqTwcX9yLR413tWX54rAvhfGyzqWVQCUMTMgXDEM2ZXj/vOw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdHU1JYBi2OR6LBp3kO6JdrFBxvt2Bm//O3ueTAPbQiQIgEyzIa5ETZU+cnu5H9FQ/xJjBAJEZV/fHBBsDD1XbmEc="}]},"maintainers":[{"name":"shivanshu3","email":"shivanshu3@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/strip-js-1.0.6.tgz_1483926708780_0.6963634004350752"},"directories":{}},"1.1.0":{"name":"strip-js","version":"1.1.0","description":"Strips out all JavaScript code from some HTML text","main":"index.js","bin":{"strip-js":"./cli.js"},"scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"git+https://github.com/shivanshu3/strip-js.git"},"author":{"name":"Shivanshu Goyal"},"license":"MIT","bugs":{"url":"https://github.com/shivanshu3/strip-js/issues"},"homepage":"https://github.com/shivanshu3/strip-js#readme","dependencies":{"cheerio":"^0.22.0","sanitize-html":"^1.13.0"},"keywords":["html","javascript","security","email","cross-site","cross","site","scripting","attack"],"devDependencies":{"htmlclean":"^2.7.7"},"gitHead":"8d47f03a365a47504e8340a4a72859e1895ddbc7","_id":"strip-js@1.1.0","_npmVersion":"5.6.0","_nodeVersion":"7.2.1","_npmUser":{"name":"shivanshu3","email":"shivanshu3@gmail.com"},"dist":{"integrity":"sha512-ntRVaS44u9SJHfTbjOZAieW4DD2sWAaoBdNKUZ1K6eRpnOPjAqdXtW6qRIubQy7uVuj67z9NIeeLQOVVqIn4HA==","shasum":"19030e461b17440457499781f5a0cc1009453b7b","tarball":"https://registry.npmjs.org/strip-js/-/strip-js-1.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPHEQ9u3X8t4g3zBiXT0YKzDRk9h3uaUzJ094Bx7ScxQIhAMacSERapIUKGHiM8eciyXHbv1AOXCEedkUcGxLWgW1r"}]},"maintainers":[{"name":"shivanshu3","email":"shivanshu3@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strip-js-1.1.0.tgz_1514490218272_0.7337059362325817"},"directories":{}},"1.2.0":{"name":"strip-js","version":"1.2.0","description":"Strips out all JavaScript code from some HTML text","main":"index.js","bin":{"strip-js":"./cli.js"},"scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"git+https://github.com/shivanshu3/strip-js.git"},"author":{"name":"Shivanshu Goyal"},"license":"MIT","bugs":{"url":"https://github.com/shivanshu3/strip-js/issues"},"homepage":"https://github.com/shivanshu3/strip-js#readme","dependencies":{"cheerio":"^0.22.0","sanitize-html":"^1.13.0"},"keywords":["html","javascript","security","email","cross-site","cross","site","scripting","attack"],"devDependencies":{"htmlclean":"^2.7.7"},"gitHead":"3a5dc37f37597c7582b6615251ae67e07b094676","_id":"strip-js@1.2.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"shivanshu3","email":"shivanshu3@gmail.com"},"dist":{"integrity":"sha512-8JGZ/dkJMKxVfEsK6A24JXR4QxpMGnHlLi4h/Y/Q4rzAJXfSk9TyZjIewCreCn0Ued3UMll9gBFR8hC0B6OodQ==","shasum":"907e79bcf2cabc620d126efeb17c74266bbb9f89","tarball":"https://registry.npmjs.org/strip-js/-/strip-js-1.2.0.tgz","fileCount":8,"unpackedSize":10967,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/KqXkKaBFVV77iLpS6e6WtsfKHImSNhT64FYcFRN/1wIhAIrSo9duSp2EY4lQcnnqkuamZx8dgcfkCRx1+R87Xzus"}]},"maintainers":[{"name":"shivanshu3","email":"shivanshu3@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strip-js_1.2.0_1518795638588_0.8433977644344355"},"_hasShrinkwrap":false}},"readme":"# strip-js\n\n<img src=\"http://shivanshu.ca/myfiles/strip-js-logo.svg\" width=\"100\" align=\"right\" style=\"float:right;\"/>\n\n[![NPM Version][npm-image]][npm-url]\n[![Travis Build][travis-image]][travis-url]\n\nNPM Module which strips out all JavaScript code from some HTML text\n\nThis module performs the following tasks:\n- Sanitizes HTML\n- Removes script tags\n- Removes attributes such as \"onclick\", \"onerror\", etc. which contain JavaScript code\n- Removes \"href\" attributes which contain JavaScript code\n- Removes \"action\" attributes from form tags\n\nAn example use case of this module is to sanitize HTML emails before displaying them in a browser to prevent cross-site scripting attacks.\n\n## Installation\n`npm install strip-js`\n\nThis module can also be used from the command line. Install it globally using the following command:\n\n`sudo npm install -g strip-js`\n\n## Usage\nThe following input HTML ...\n```html\n<html>\n   <body>\n      <script src=\"foo.js\"></script>\n      <img src=\"image.gif\" onerror=\"stealSession(document.cookie)\" foo=\"bar\">\n      <a href=\"javascript:stealSession(document.cookie)\" target=\"_blank\">Dangerous Link</a>\n      <a href=\"http://www.google.com\" target=\"_blank\">Safe Link</a>\n      <form action=\"steal_cookies.php\" foo=\"bar\"></form>\n      <p>\n         This is some text in a p tag, but the p tag is not closed!\n   </body>\n</html>\n```\n\n... is converted to the following:\n```html\n<html>\n   <body>\n      <img src=\"image.gif\" foo=\"bar\">\n      <a target=\"_blank\">Dangerous Link</a>\n      <a href=\"http://www.google.com\" target=\"_blank\">Safe Link</a>\n      <form foo=\"bar\"></form>\n      <p>\n         This is some text in a p tag, but the p tag is not closed!\n      </p>\n   </body>\n</html>\n```\n\nUsing this module is easy!\n```javascript\nvar stripJs = require('strip-js');\nvar fs = require('fs');\nvar html = fs.readFileSync('./webpage.html').toString();\nvar safeHtml = stripJs(html); // It returns plain HTML text\n```\n\nIf you need to preserve doctypes, use `var safeHtml = stripJs(html, { preserveDoctypes: true });`. `preserveDoctypes` defaults to false.\n\nFor command line usage, install it globally. It reads the input HTML from its stdin and outputs the result to stdout.\n```bash\nstrip-js < input.html\n```\n## Warnings\n\nSome old browsers have XSS vulnerabilities in CSS, as mentioned in the <a href=\"https://code.google.com/archive/p/browsersec/wikis/Part1.wiki\" target=\"_blank\">browser security handbook</a>:\n> The risk of JavaScript execution. As a little-known feature, some CSS implementations permit JavaScript code to be embedded in stylesheets. There are at least three ways to achieve this goal: by using the expression(...) directive, which gives the ability to evaluate arbitrary JavaScript statements and use their value as a CSS parameter; by using the url('javascript:...') directive on properties that support it; or by invoking browser-specific features such as the -moz-binding mechanism of Firefox.\n\nThis module does not remove any JavaScript from CSS, so it is recommended that you enforce one of the following browsers in your web app:\n- Edge\n- IE11\n- FF3\n- Safari\n- Chrome\n- Android\n\nAll these browsers are safe in that they don't allow JavaScript execution in CSS. Please feel free to add more browsers to this list after testing them, and send a pull request.\n\n[npm-url]: https://www.npmjs.com/package/strip-js\n[npm-image]: https://img.shields.io/npm/v/strip-js.svg?style=flat\n[travis-url]: https://travis-ci.org/shivanshu3/strip-js\n[travis-image]: https://img.shields.io/travis/shivanshu3/strip-js.svg\n","maintainers":[{"name":"shivanshu3","email":"shivanshu3@gmail.com"}],"time":{"modified":"2022-06-27T01:12:28.243Z","created":"2016-10-07T22:06:17.542Z","0.0.1":"2016-10-07T22:06:17.542Z","0.0.2":"2016-10-09T03:36:35.128Z","0.0.3":"2016-10-09T04:58:12.745Z","0.0.5":"2016-10-13T07:09:18.868Z","0.0.6":"2016-10-14T20:21:53.780Z","0.0.7":"2016-10-18T05:58:12.880Z","1.0.0":"2016-10-22T02:48:10.223Z","1.0.1":"2016-11-12T09:20:01.469Z","1.0.2":"2016-11-12T09:23:09.484Z","1.0.3":"2016-11-12T09:24:23.541Z","1.0.4":"2016-12-11T21:52:29.703Z","1.0.5":"2016-12-15T22:53:52.983Z","1.0.6":"2017-01-09T01:51:50.523Z","1.1.0":"2017-12-28T19:43:38.345Z","1.2.0":"2018-02-16T15:40:39.137Z"},"homepage":"https://github.com/shivanshu3/strip-js#readme","repository":{"type":"git","url":"git+https://github.com/shivanshu3/strip-js.git"},"author":{"name":"Shivanshu Goyal"},"bugs":{"url":"https://github.com/shivanshu3/strip-js/issues"},"license":"MIT","readmeFilename":"README.md","keywords":["html","javascript","security","email","cross-site","cross","site","scripting","attack"]}