Key numbers
As of 25 Sept 2026
- Weekly downloads
- 8.2m
- +615% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 3
- Direct, from package.json
- Last release
- 1 year ago
- v5.0.2
- GitHub stars
- 60
- 22 forks
- Open issues / PRs
- 2 / 0
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
8,176,607 downloads last week, 36,703,077 in the last month. The 12-month change of +615% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 020 in total
- Latest version
- 5.0.2, 25 Oct 20241 year ago
- First published
- 18 Jun 2016
- Last push to GitHub
- 25 Oct 2024699 days before the snapshot
- Repository archived
- No
- Open issues
- 2
- Open pull requests
- 0
- Commits, last 52 weeks
- 0
- Dependents on npm
- 141
Major versions
- v5 first release 5.0.0, 3 Aug 2023
- v4 first release 4.0.0, 30 Apr 2021
- v3 first release 3.0.0, 20 Jul 2020
- v2 first release 2.0.0, 27 Jun 2019
- v1 first release 1.0.0, 18 Jun 2016
Recent releases
| Version | Published |
|---|---|
| 5.0.2 | 25 Oct 2024 |
| 5.0.1 | 26 Oct 2023 |
| 5.0.0 | 3 Aug 2023 |
| 4.1.0 | 3 Jan 2023 |
| 4.0.0 | 30 Apr 2021 |
| 3.0.2 | 23 Nov 2020 |
| 3.0.1 | 3 Nov 2020 |
| 3.0.0 | 20 Jul 2020 |
| 2.0.3 | 24 Jun 2020 |
| 2.0.2 | 28 Feb 2020 |
| 2.0.1 | 16 Jul 2019 |
| 2.0.0 | 27 Jun 2019 |
| 1.3.1 | 26 May 2019 |
| 1.3.0 | 9 Jan 2019 |
- Module format
- ESM onlyFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 47 kB
- Dependencies (3)
@types/hastunist-util-position@ungap/structured-clone
npm install hast-util-sanitizeCDN
jsDelivr: 133.1k requests in 30 days
- jsDelivr
https://cdn.jsdelivr.net/npm/hast-util-sanitize@5.0.2/ - unpkg
https://unpkg.com/hast-util-sanitize@5.0.2/ - esm.sh
https://esm.sh/hast-util-sanitize@5.0.2
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| dompurify | 45.3m | - | 1 day ago | ESM + CommonJS | - |
| isomorphic-dompurify | 4m | - | 5 days ago | ESM + CommonJS | - |
Indexability: Indexed.