npm package
Home@types/sanitize-html
The @types/sanitize-html package provides TypeScript definitions for the sanitize-html library, which is used to sanitize HTML content. It is useful for developers who want to ensure that user-generated HTML is safe for rendering in web applications.
- lurq health score
- 57/100
- Confidence
- unproven
- Weekly downloads
- 5,026,309
- Latest version
- 2.16.1
- Last release
- Sep 4, 2019
- License
- MIT
Should you depend on @types/sanitize-html?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks @types/sanitize-html at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Upgrading @types/sanitize-html
What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.
- 1.27.2 → 2.16.1being extracted
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 14, 2026; this page refreshes every 168 hours. Source repository.