Skip to content
JS
Package

@woocommerce/sanitize

WooCommerce HTML sanitization utilities.

v1.0.0, 10 Nov 2025GPL-2.0-or-laterESM + CommonJSTypes: BundledSecurity
$ npm install @woocommerce/sanitize

Key numbers

As of 25 Sept 2026
Weekly downloads
2.4k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
10 months ago
v1.0.0
GitHub stars
10.5k
10.7k forks
Open issues / PRs
1,136 / 405
Contributors
-
Commits, last 52 weeks
3,575

No weekly download data in the snapshot.

2,373 downloads last week, 12,306 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
-
Latest version
1.0.0, 10 Nov 202510 months ago
First published
-
Last push to GitHub
25 Sept 2026same day as the snapshot
Repository archived
No
Open issues
1,136
Open pull requests
405
Commits, last 52 weeks
3,575
Dependents on npm
2

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
20 kB
Dependencies (1)
dompurify
Peer dependencies (4)
reactreact-dom@types/react@types/react-dom
npm install @woocommerce/sanitize
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@woocommerce/sanitize@1.0.0/
  • unpkghttps://unpkg.com/@woocommerce/sanitize@1.0.0/
  • esm.shhttps://esm.sh/@woocommerce/sanitize@1.0.0
Sources: npm registry, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 2373 < 10000.