dompurify

npmv3.4.1

DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It's written in JavaScript and works in all modern browsers (Safari, Opera (15+), Internet Explorer (10+), Firefox and Chrome - as well as almost anything else usin

License (MPL-2.0 OR Apache-2.0)weak copyleft138 versions1 maintainers0 deps
git://github.com/cure53/DOMPurify
67
/ 100
Health
safe to use

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

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

Bundle & TypeScript

📦

Bundle Size

23.3 KBminified
8.7 KB gzipped
0 direct dependencies
ESMside effects
🌟

TypeScript

10/10typed
bundled
Quality signals
OSS Criticality
0.75critical
Download trend
stable(+4.6%)
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/dompurify

First published · 2014-05-21T18:34:38.970Z

Last updated · 2026-04-21T16:34:59.774Z