node package manager
It’s your turn. Help us improve JavaScript. Take the 2017 JavaScript Ecosystem Survey »

escape_escape_escape

What is it?

My way of escaping and sanitizing HTML.

Use:

// npm install escape_escape_escape

var E = require("escape_escape_escape").Sanitize.html;
E("The <strong>brave</strong> and the <b>bold</b>.");