depscope
Packages
IntegrateAPI DocsCuratorBenchmarkCoverage
Sign inGet API access

Related on DepScope

Alternatives
  • sanitize-html-react— Modified sanitize-html for React. Clean up user-submitted HT
  • sanitize-html-plus— Clean up user-submitted HTML, preserving whitelisted element
More
  • All npm packages →
  • Breaking changes index →
  • Bug index →
  • AI hallucination corpus →
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 deps11,213,531 weekly dl
apostrophecms/apostrophe
94
/ 100
Health
safe to use

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

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

Bundle & TypeScript

📦

Bundle Size

156.0 KBminified
59.7 KB gzipped
7 direct dependencies
🌟

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
?ansi-stylessemverbrace-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