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 #

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    1
  • 0.0.1
    0

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