1.0.2 • Published 1 year ago
html-to-unicode v1.0.2
html-to-unicode
html-to-unicode is a lightweight JavaScript library that converts HTML content to styled Unicode text. It supports HTML transformations like bold, italic, underline, as well as ordered and unordered lists.
Features
- Transforms HTML tags into Unicode-styled text:
- Bold (
<strong>,<b>) - Italic (
<em>) - Underline (
<u>)
- Bold (
- Supports Lists:
- Unordered (
<ul>) - Ordered (
<ol>)
- Unordered (
Installation
Install the package via npm:
npm install html-to-unicodeUsage
Import the htmlToUnicode function from the package to convert HTML strings to Unicode-styled text.

Example Output
The above code will produce Unicode-styled text with alignment:
Contributing
Contributions are welcome! Please fork this repository and submit a pull request.