node package manager

Introducing npm Enterprise add-ons. Integrate third-party dev tools into npm…

escape_escape_escape

My way of escaping HTML.

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>.");