Back to Explore

wooorm/parse-entities

GitHub
1 watchersOpen source

Last release: 12/13/2024

parse-entities is a small, fast decoder for HTML character references (HTML entities), providing spec-compliant decoding of strings like `&amp` and numeric references. It is useful in tools like linters, where you may want different warnings with reasons and positional info about where each reference occurred.

Project status

  • The repository appears actively maintained, with an upstream push as recent as 2026-01-22 (though the last documented updates entry provided is 4.0.2 from 2024-12-13).
  • The apparent update cadence is roughly yearly to multi-year, with updates at 4.0.1 (2023-02-09) and 4.0.2 (2024-12-13), following a larger change at 4.0.0 (2021-11-22).

AI summary generated Today

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • 4.0.2

    12/13/2024

    parse-entities 4.0.2 makes a set of mostly type-focused refactors and build metadata adjustments. It also removes the unused `character-entities` runtime dependency, keeping `character-entities-legacy` as the actual dependency used for reference decoding.

  • 4.0.1

    2/9/2023

    parse-entities 4.0.1 is a tooling and type-related release, with changes centered around TypeScript configuration and minor documentation refactors. The release notes mention a typo fix in types and removing skipLibCheck, plus doc/tsconfig refactoring.

  • 4.0.0

    11/22/2021

    Version 4.0.0 contains a webpack-related fix per the release notes, but the actual code changes also include a significant public API change. The release notes do not mention the removal of the exported `decodeEntity` helper or the underlying named character reference decoding implementation swap.