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.5

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

License MITpermissive124 versions4 maintainers7 deps9,675,076 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

📦

Bundle Size

228.4 KBminified
90.0 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
?semverminimatchdebugbrace-expansionstrip-ansi
Browse all npm packages →

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

Last updated · 2026-06-10T17:14:18.876Z

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