escape-goat

Escape a string for use in HTML or the inverse

v4.0.0 MIT 10 versions Maintained by sindresorhus
  • escape
  • unescape
  • html
  • entity
  • entities
  • escaping
  • sanitize
  • sanitization
  • utility
  • template
  • attribute
  • value
Weekly downloads
11.9M -18%
vs previous week
Last 30 days
56.2M
Stars

Downloads

496.9M total · Sep 1, 2025 – Sep 1, 2026

Downloads by version

Last 7 days

Versions

10 releases published since May 27, 2017

Commit activity

Last 12 months

Contributors

Top 10

Issues