A small JavaScript module that escapes and unescapes common problematic HTML entities, intended to handle both directions safely and correctly. Useful when you need to convert user or dynamic text so it can be embedded in HTML without causing unintended HTML interpretation.
Project status
- Maintenance status: Appears effectively dormant or in maintenance mode, with no upstream pushes or notable code updates since 2021-02-18, which is long before today (2026-08-12).
- Update cadence: Updates cluster tightly on 2021-02-18 (v3.0.1, v3.0.2, v3.0.3), after which there is no further evidence of activity.
AI summary generated
Recent updates
v3.0.3
Release v3.0.3 includes essentially no functional code changes, based on the provided diff. The changes are limited to documentation branding (README badge links and an added note referencing html-sloppy-escaper) and the package version bump in package.json.
v3.0.2
Release v3.0.2 contains no publisher release notes. The code diff shows only version metadata and JSDoc comment updates for the escape and unescape functions in the CommonJS, ESM, and bundled builds.
v3.0.1
Release v3.0.1 was published on 2021-02-18. No release notes were provided, so there is no stated information about new features, fixes, or breaking changes. Developers should review the corresponding diff and changelog/commits for this version to identify any functional or API-impacting changes.
v3.0.0
v3.0.0 refactors the module internals for escape/unescape in CJS, ESM, and UMD builds, with minor changes to how the escape/unescape functions are defined. There is also a major packaging change in package.json that affects how the library is loaded by Node and bundlers.
v2.0.2
Release v2.0.2 only updates package metadata and version in package.json. The code diff shows a removal of the package.json module packaging configuration, specifically the package type and the conditional exports map.
v2.0.1
Release v2.0.1 does not include any release notes from the publisher. The code diff shows mostly test, coverage, and packaging changes, with the main functional impact coming from module system and package entrypoint changes in package.json (CommonJS vs ESM behavior).
v2.0.0
v2.0.0 restructures the package to add explicit CommonJS and ES module entrypoints (cjs/index.js and esm/index.js) and introduces a Rollup-based bundling step. It also removes the previous html.js file and updates build tooling and npm metadata (main/module/unpkg). Release notes were not provided by the publisher (none provided).
Featuresv1.0.1
Release v1.0.1 contains mostly tooling and packaging changes, adding minification and code coverage instrumentation. The public API (html.escape and html.unescape exported from html.js) appears unchanged, but npm scripts, dev tooling, and published artifacts are modified.
Features1.0.0
This release is version 1.0.0, but no release notes were provided by the publisher. As a result, there is no documented information about new features, bug fixes, breaking changes, or security updates in the release notes.