npm / simple-html-tokenizer
simple-html-tokenizer
What changed in simple-html-tokenizer 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-20.
5 breaking1 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initsimple-html-tokenizer 16 changes
Breaking changes 5
The minimum Node.js version is now 20.19.
Numeric character references are decoded the way HTML parsers do.
The package now publishes only ES modules, affecting how developers load it.
The TokenizerState enum was replaced with a literal union type, changing the type-level API.
The TokenType enum was replaced with a literal union type, changing the type-level API.
Fixes and other changes 1
Elements can start with non-alpha characters, aligning with JavaScript variables.