Need Public Method

    escapehtmlent

    0.0.1 • Public • Published

    Escapehtmlent

    A small utility to escape/unescape HTML entities

    Usage

    var escapehtmlent = require('escapehtmlent') escape = escapehtmlent.escape, unescape = escapehtmlent.unescape;

    var html = '

    Hello World

    ', escaped = escape(html), unescaped = unescape(escaped);

    console.log('html', html, 'escaped', escaped, 'unescaped', unescaped);

    Keywords

    none

    Install

    npm i escapehtmlent

    DownloadsWeekly Downloads

    0

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • karloespiritu