@riim/escape-html
v1.1.5
Published
Escape html special characters.
Downloads
19
Readme
escape-html
Escape html special characters.
Install
npm install escape-html --save
Usage
import { escapeHTML, unescapeHTML } from 'escape-html';
escapeHTML(' & < > " ');
// => ' & < > " '
unescapeHTML(' & < > " ');
// => ' & < > " '