sanitize-html

npmv2.17.3

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

License MITpermissive121 versions4 maintainers6 deps
apostrophecms/apostrophe
69
/ 100
Health
safe to use

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

Health breakdown0 – 100
25/25
maintenance
0/20
popularity
25/25
security
15/15
maturity
4/15
community
Vulnerabilities
0
none known

Bundle & TypeScript

🌟

TypeScript

7/10typed
Types from @types/sanitize-html (DefinitelyTyped)
Quality signals
Publish security
npm signed

Health History

Dependency Tree

License Audit

API access

Get this data programmatically — free, no authentication.

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