Skip to content
JS
Package

@stacksjs/sanitizer

A fast, native Bun-powered HTML sanitizer with DOMPurify-like features. Protection against XSS and malicious content.

v0.2.312, 25 Sept 2026MITESM onlyTypes: BundledSecurity
$ npm install @stacksjs/sanitizer

Key numbers

As of 25 Sept 2026
Weekly downloads
31.6k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
today
v0.2.312
GitHub stars
19
2 forks
Open issues / PRs
3 / 1
Contributors
-
Commits, last 52 weeks
2,334

No weekly download data in the snapshot.

31,573 downloads last week, 231,543 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
-
Latest version
0.2.312, 25 Sept 2026today
First published
-
Last push to GitHub
25 Sept 2026same day as the snapshot
Repository archived
No
Open issues
3
Open pull requests
1
Commits, last 52 weeks
2,334
Dependents on npm
3

Major versions

-

Recent releases

-

Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
12 kB
Dependencies (0)
None
npm install @stacksjs/sanitizer
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@stacksjs/sanitizer@0.2.312/
  • unpkghttps://unpkg.com/@stacksjs/sanitizer@0.2.312/
  • esm.shhttps://esm.sh/@stacksjs/sanitizer@0.2.312
Sources: npm registry, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.