0.0.2 • Published 2 years ago

de-html v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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 #