Back to Explore

component/escape-html

GitHub
1 watchersOpen source

Last release:

This JavaScript module provides an `escapeHtml` function that escapes special characters in strings so they can be safely interpolated into HTML. It replaces `"`, `'`, `&`, `<`, and `>` for use as HTML text content, and can also be used for quoted HTML attribute values.

Project status

  • The source appears quiet and not actively maintained as of today (2026-06-09), with its last listed upstream push on 2022-09-16 and its last observed package updates dating back to v1.0.3 on 2015-09-01.
  • Update cadence is effectively dormant, after early releases (2012-2015) with no further documented updates in the years since 2015, so there is no evidence of ongoing evolution.

AI summary generated

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

Recent updates

  • v1.0.3

    v1.0.3 introduces a rewritten implementation of the main escape function, along with a new benchmark script and updated README metadata. The release notes section is empty, so the documented changes are effectively unavailable.

    BreakingFeatures
  • v1.0.2

    v1.0.2 is a small packaging and metadata update for the escape-html package, with a minor internal refactor of index.js. The release notes are empty, so all changes below are derived from the code diff.

  • v1.0.1

    Release v1.0.1 was published, but the publisher did not provide any release notes. As a result, there is no documented information about new features, bug fixes, security updates, breaking changes, or migration steps in this release.

  • v1.0.0

    Release v1.0.0 updates the escape-html package. The diff indicates a behavioral change in the escaping logic and some packaging metadata adjustments, but the provided release notes are empty (none provided).

    Breaking
  • v0.0.1

    This release is version v0.0.1. No release notes were provided, so there is no documented information about new features, fixes, security updates, or breaking changes.