Packages npm dompurify Package · npm
dompurify npm · v3.4.16 · (MPL-2.0 OR Apache-2.0)
DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It runs as JavaScript and works in all modern browsers, as well as in Node.js (via jsdom). DOMPurify is written by security people who have vast background in web a
Install npm install dompurifyCopy Adoption
Downloads (30 days) 274.1M Observed downloads / 30 days
Popularity Top 10% on npm Derived 97th percentile within npm
Dependents Collecting history Collecting
Maintenance 0.90 Derived Release cadence and recency, 0 to 1
Releases per year 12 153 versions over its life Growth by period Derived by Crest of Tech from two observations of npm’s own figure, a period apart. Nothing is stored or estimated: without an observation near the period’s start, the period is still collecting.
7 days +7.0% · 7d Derived +17.9M downloads / 30 days, SEP 28 → OCT 5
30 days +9.9% · 30d Derived +24.7M downloads / 30 days, SEP 5 → OCT 5
90 days +38.6% · 90d Derived +76.4M downloads / 30 days, JUL 6 → OCT 5
1 year +381.9% · 1y Derived +217.2M downloads / 30 days, NOV 3 → OCT 5 Adoption history Adoption historydownloads / 30 days · 31 observations
30d 90d 1y 2y 277.6M 235.2M SEP 5, 2026: 249,460,779 downloads / 30 days SEP 6, 2026: 245,645,935 downloads / 30 days SEP 7, 2026: 240,605,983 downloads / 30 days SEP 8, 2026: 235,282,319 downloads / 30 days SEP 9, 2026: 237,702,385 downloads / 30 days SEP 10, 2026: 239,550,894 downloads / 30 days SEP 11, 2026: 239,993,064 downloads / 30 days SEP 12, 2026: 235,159,374 downloads / 30 days SEP 13, 2026: 240,760,603 downloads / 30 days SEP 14, 2026: 247,934,488 downloads / 30 days SEP 15, 2026: 243,038,725 downloads / 30 days SEP 16, 2026: 245,893,003 downloads / 30 days SEP 17, 2026: 246,983,982 downloads / 30 days SEP 18, 2026: 247,210,216 downloads / 30 days SEP 19, 2026: 242,198,287 downloads / 30 days SEP 20, 2026: 238,206,225 downloads / 30 days SEP 21, 2026: 244,475,143 downloads / 30 days SEP 22, 2026: 251,596,511 downloads / 30 days SEP 23, 2026: 254,077,920 downloads / 30 days SEP 24, 2026: 255,811,339 downloads / 30 days SEP 25, 2026: 256,542,557 downloads / 30 days SEP 26, 2026: 251,478,807 downloads / 30 days SEP 27, 2026: 247,822,670 downloads / 30 days SEP 28, 2026: 256,255,372 downloads / 30 days SEP 29, 2026: 264,980,528 downloads / 30 days SEP 30, 2026: 268,216,684 downloads / 30 days OCT 1, 2026: 270,643,706 downloads / 30 days OCT 2, 2026: 270,597,567 downloads / 30 days OCT 3, 2026: 277,556,276 downloads / 30 days OCT 4, 2026: 274,122,222 downloads / 30 days OCT 5, 2026: 274,122,222 downloads / 30 days SEP 5 SEP 20 OCT 5
Table of observations (31) Day downloads / 30 days Dependents OCT 5, 2026 274,122,222 Not observed OCT 4, 2026 274,122,222 Not observed OCT 3, 2026 277,556,276 Not observed OCT 2, 2026 270,597,567 Not observed OCT 1, 2026 270,643,706 Not observed SEP 30, 2026 268,216,684 Not observed SEP 29, 2026 264,980,528 Not observed SEP 28, 2026 256,255,372 Not observed SEP 27, 2026 247,822,670 Not observed SEP 26, 2026 251,478,807 Not observed SEP 25, 2026 256,542,557 Not observed SEP 24, 2026 255,811,339 Not observed SEP 23, 2026 254,077,920 Not observed SEP 22, 2026 251,596,511 Not observed SEP 21, 2026 244,475,143 Not observed SEP 20, 2026 238,206,225 Not observed SEP 19, 2026 242,198,287 Not observed SEP 18, 2026 247,210,216 Not observed SEP 17, 2026 246,983,982 Not observed SEP 16, 2026 245,893,003 Not observed SEP 15, 2026 243,038,725 Not observed SEP 14, 2026 247,934,488 Not observed SEP 13, 2026 240,760,603 Not observed SEP 12, 2026 235,159,374 Not observed SEP 11, 2026 239,993,064 Not observed SEP 10, 2026 239,550,894 Not observed SEP 9, 2026 237,702,385 Not observed SEP 8, 2026 235,282,319 Not observed SEP 7, 2026 240,605,983 Not observed SEP 6, 2026 245,645,935 Not observed SEP 5, 2026 249,460,779 Not observed
Facts from the registry
Latest version v3.4.16 153 versions
First published MAY 21, 2014
Last release SEP 23, 2026 31d ago
Licence (MPL-2.0 OR Apache-2.0) Repository In the Crest catalog
DOMPurify - a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMPurify works with a secure default, but offers a lot of configurability and hooks. Demo:
Language JavaScript
Last push 28d ago
Last release 31d ago Dependencies latest version · v3.4.16 Optional 1 @types/trusted-types ^2.0.7microsandbox Python SDK for microsandbox — secure, fast microVM-based sandboxing. PyPISame primary category gam7 CLI tool to manage Google Workspace PyPISame primary category matrix-synapse Homeserver for the Matrix decentralised comms protocol PyPISame primary category simplesamlphp/saml2 SAML2 PHP library from SimpleSAMLphp PackagistSame primary category nette/http 🌐 Nette HTTP: the request, response, URL, cookies, sessions and file uploads as objects, with sanitized input and same-origin protection against CSRF. PackagistSame primary category MailKit MailKit is an Open Source cross-platform .NET mail-client library that is based on MimeKit and optimized for mobile devices.
Features include:
* HTTP, Socks4, Socks4a and Socks5 proxy support.
* SASL Authentication via ANONYMOUS, CRAM-MD5, DIGEST-MD5, LOGIN, NTLM, OAUTHBEARER, PLAIN, SCRAM-SHA-1, SCRAM-SHA-256, SCRAM-SHA-512 and XOAUTH2.
* A fully-cancellable SmtpClient with support for STARTTLS, 8BITMIME, BINARYMIME, ENHANCEDSTATUSCODES, SIZE, DSN, PIPELINING and SMTPUTF8.
* A fully-cancellable Pop3Client with support for STLS, UIDL, APOP, PIPELINING, UTF8, and LANG.
* A fully-cancellable ImapClient with support for ACL, QUOTA, LITERAL+, IDLE, NAMESPACE, ID, CHILDREN, LOGINDISABLED, STARTTLS, MULTIAPPEND, UNSELECT, UIDPLUS, CONDSTORE, ESEARCH, SASL-IR, COMPRESS, WITHIN, ENABLE, QRESYNC, SORT, THREAD, ANNOTATE, LIST-EXTENDED, ESORT, METADATA / METADATA-SERVER, NOTIFY, FILTERS, LIST-STATUS, SORT=DISPLAY, SPECIAL-USE / CREATE-SPECIAL-USE, SEARCH=FUZZY, MOVE, UTF8=ACCEPT / UTF8=ONLY, LITERAL-, APPENDLIMIT, STATUS=SIZE, OBJECTID, REPLACE, SAVEDATE, XLIST, and X-GM-EXT1.
* Client-side sorting and threading of messages (the Ordinal Subject and the Jamie Zawinski threading algorithms are supported).
* Asynchronous versions of all methods that hit the network.
* S/MIME, OpenPGP, DKIM and ARC support via MimeKit.
* Microsoft TNEF support via MimeKit. NuGetSame primary category Related news No published news event mentions this package or its repository yet.