sanitize-html

npmv2.17.3

Clean up user-submitted HTML, preserving allowlisted elements and allowlisted attributes on a per-element basis

License: MIT121 versions4 maintainers6 deps8,048,392 weekly downloads
apostrophecms/apostrophe
86
/100
Health Score

Recommendation

[email protected] is safe to use (health: 86/100)

Health Breakdown

25/25
maintenance
17/20
popularity
25/25
security
15/15
maturity
4/15
community

Vulnerabilities

No known vulnerabilities in the latest version.

API Access

Get this data programmatically — free, no authentication required:

curl https://depscope.dev/api/check/npm/sanitize-html

First published: 2013-09-10T16:22:47.586Z

Last updated: 2026-04-15T17:48:03.845Z

Data from DepScope — Package Intelligence for AI Agents