Skip to content
JS
Package

svg-parser

Create a JSON-friendly object from an SVG string

v2.1.0, 23 Aug 2026MITESM + CommonJSTypes: NoneParsers and serialisers
$ npm install svg-parser

Key numbers

As of 25 Sept 2026
Weekly downloads
13.4m
+44% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
1 month ago
v2.1.0
GitHub stars
216
16 forks
Open issues / PRs
3 / 3
Contributors
-
Commits, last 52 weeks
18

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15m20mSept 2025Mar 2026Sept 2026High 17m (25 Aug 2026)Low 5.1m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

13,432,508 downloads last week, 57,611,705 in the last month. The 12-month change of +44% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
214 in total
Latest version
2.1.0, 23 Aug 20261 month ago
First published
7 Aug 2016
Last push to GitHub
7 Sept 202617 days before the snapshot
Repository archived
No
Open issues
3
Open pull requests
3
Commits, last 52 weeks
18
Dependents on npm
338

Major versions

  1. v2 first release 2.0.0, 9 Jul 2019
  2. v1 first release 1.0.0, 7 Aug 2016

Recent releases

VersionPublished
2.1.023 Aug 2026
2.0.519 Aug 2026
2.0.429 Feb 2020
2.0.316 Jan 2020
2.0.225 Jul 2019
2.0.115 Jul 2019
2.0.09 Jul 2019
1.0.65 Jul 2019
1.0.512 Aug 2016
1.0.410 Aug 2016
1.0.310 Aug 2016
1.0.210 Aug 2016
1.0.18 Aug 2016
1.0.07 Aug 2016
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=8
Runtimes
-
Unpacked size (npm)
47 kB
Dependencies (0)
None
npm install svg-parser
  • jsDelivrhttps://cdn.jsdelivr.net/npm/svg-parser@2.1.0/
  • unpkghttps://unpkg.com/svg-parser@2.1.0/
  • esm.shhttps://esm.sh/svg-parser@2.1.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.