de-html
v0.0.2
Published
📦 Decodes strings with HTML encoded characters
Downloads
2
Readme
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 #