htmlsanitize
v0.1.15
Published
HTML Sanitizer for the client
Downloads
8,985
Maintainers
Readme
HTML Sanitize
HTML sanitizer for the browser originally extracted from Angular ngSanitize function
Install
npm install htmlsanitizeUsage
const sanitize = require('htmlsanitize');
sanitize('<div>Hello world!</div><script>alert("booh!")</script>') // <div>Hello world!</div>License
MIT
