de-html
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

de-html

De-html is a package to decode HTML encoded symbols in a string. It scans a string for HTML encoded codes and replaces them with the corresponding symbols.

Installation & Usage

The package can be installed with

npm install de-html

It can then be used in the code.

import { decode } from 'de-html';

decode("This is a hashtag: # "); // => This is a hashtag #

Dependencies (0)

    Dev Dependencies (7)

    Package Sidebar

    Install

    npm i de-html

    Weekly Downloads

    1

    Version

    0.0.2

    License

    MIT

    Unpacked Size

    80.7 kB

    Total Files

    6

    Last publish

    Collaborators

    • daschaa