Install
html-entities
Fastest HTML entities encode/decode library.
2.6.0Latest, 30 Mar 2025
265MDownloads, last month
0Advisories on the latest
0Advisories, all versions
MITLicence
688Stars
3.3/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
In the news
- HTML Entities: 5 Escaping Mistakes That Cause Bugs and XSS dev.to, 25 Nov 2026
- HTML Entity Escaping: 6 Mistakes That Cause Bugs and XSS dev.to, 23 Nov 2026
- Our HTML entity decoder is 27 lines, knows eight names, and will hand Postgres a NUL byte if you ask it to dev.to, 30 Oct 2026
- I Built a Browser-Only HTML Entity Encoder/Decoder — Named, Decimal & Hex, 246 Tests dev.to, 27 Jun 2026
- A Keyboard-Driven HTML Entity Lookup That Lets You Copy All Three Forms dev.to, 12 Apr 2026
On Hacker News
- Emoji-list with emojis, names, shortcodes, unicode and html entities 88 points, 23 comments, 17 Dec 2017
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.