@lvchengbin/escape

A simple library for escaping specical characters in strings for HTML, CSS, RegExp, String, URL.