Skip to content
JS
Package

@mattkrick/sanitize-svg

a small script to remove script tags from SVGs

v0.4.1, 23 Apr 2025MITCommonJSTypes: BundledSecurity
$ npm install @mattkrick/sanitize-svg

Key numbers

As of 25 Sept 2026
Weekly downloads
9.8k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
1 year ago
v0.4.1
GitHub stars
30
7 forks
Open issues / PRs
3 / 11
Contributors
-
Commits, last 52 weeks
0

No weekly download data in the snapshot.

9,818 downloads last week, 51,893 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
-
Latest version
0.4.1, 23 Apr 20251 year ago
First published
-
Last push to GitHub
23 Apr 2025519 days before the snapshot
Repository archived
No
Open issues
3
Open pull requests
11
Commits, last 52 weeks
0
Dependents on npm
0

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=6.0.0
Runtimes
-
Unpacked size (npm)
8.2 kB
Dependencies (0)
None
Peer dependencies (1)
tslib
npm install @mattkrick/sanitize-svg
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@mattkrick/sanitize-svg@0.4.1/
  • unpkghttps://unpkg.com/@mattkrick/sanitize-svg@0.4.1/
  • esm.shhttps://esm.sh/@mattkrick/sanitize-svg@0.4.1
Sources: npm registry, GitHub API. Data fetched 25 Sept 2026.

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