depscope
Packages
IntegrateAPI DocsCuratorBenchmarkCoverage
Sign inGet API access
depscope/npm/sanitize-html

sanitize-html

npmv2.17.6

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

License MITpermissive125 versions4 maintainers7 deps9,469,013 weekly dl
apostrophecms/apostrophe
91
/ 100
Health
safe to use

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

Health breakdown0 – 100
25/25
maintenance
17/20
popularity
25/25
security
15/15
maturity
9/15
community
0/15
popularity_floor
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

Dependencies (7)
deepmergeescape-string-regexphtmlparser2is-plain-objectparse-srcsetpostcsslaunder
API access

Get this data programmatically — free, no authentication.

curl https://depscope.dev/api/check/npm/sanitize-html
More from npm
?semveransi-stylesbrace-expansionmsminimatch
Browse all npm packages →

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

Last updated · 2026-07-10T18:05:45.396Z

DepScope

Package intelligence for AI agents. 19 ecosystems.

Resources
API DocumentationHallucination BenchmarkFor EnterpriseSwagger / OpenAPIPopular PackagesCoverageAI Plugin SetupWatch the pitch (60s)
Legal
Legal hubPrivacy PolicyTerms of ServiceCookie PolicyAcceptable UseAttributionDPASub-processorsSecurityImprintContact中文
© 2026 Cuttalo srl — Italy · VAT IT03242390734Built for AI agents