My way of escaping and sanitizing HTML.
// npm install escape_escape_escape
var E = require("escape_escape_escape").Sanitize.html;
E("The <strong>brave</strong> and the <b>bold</b>.");
Selectively mirror the npm registry inside your firewall. Filter packages based on security, licensing, code quality and more. Build awesome stuff faster. Try npm Enterprise for free…
how? learn more