character-entities-legacy

JSON →
library 3.0.0 ·javascript
verified Jun 4, 2026

A list of legacy HTML named character references that do not require a trailing semicolon (e.g., &copy works for ©). This package provides a single exported array of entity names (without the ampersand or semicolon) that historically are allowed without the semicolon in HTML. Version 3.0.0 is ESM-only, fully typed with TypeScript, and requires Node.js 12.20+, 14.14+, or 16.0+. It is a focused utility for HTML parsers and minifiers; use parse-entities or stringify-entities for broader entity handling.