Lightweight plugin for sanitize your html
const sanitize = require("light-sanitize-html");
// erase open and close tags
sanitize("<script>some</script>") == "some";
sanitize("<script><script>some</script>") == "some";
sanitize("<style>some</style>") == "some";
// erase attribute with danger value
sanitize("<img src=\"JaVaScRiPt:alert('home')\">") == "<img >";
// erase danger attributes
sanitize("<img onerror=alert('some')>") == "<img >";