Escapes and unescapes the characters for HTML
npm install @w0s/html-escapeJavaScript
import { escape, unescape, template } from '@w0s/html-escape';
escape('text'); // <span data-foo="hoge&hoge">text</span>
unescape('<span data-foo="hoge&hoge">text</span>'); // text
const span = 'text';
template${span}
; // <span>text<span>
``
const escape = (input: string): stringconst unescape = (input: string): stringconst template = (input: TemplateStringsArray, ...placeholders: unknown[]): string