Skip to content
JS
Package

svg.js

A lightweight library for manipulating and animating SVG.

v2.7.1, 30 Nov 2018MITCommonJSTypes: BundledAnimationImage processing
$ npm install svg.js

Key numbers

As of 25 Sept 2026
Weekly downloads
645k
+0% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
7 years ago
v2.7.1
GitHub stars
11.8k
1.1k forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
49

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5mSept 2025Mar 2026Sept 2026High 1.1m (19 May 2026)Low 441.5k (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.

644,952 downloads last week, 2,925,657 in the last month. The 12-month change of +0% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
036 in total
Latest version
2.7.1, 30 Nov 20187 years ago
First published
6 Sept 2014
Last push to GitHub
4 Aug 202651 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
49
Dependents on npm
205

Major versions

  1. v2 first release 2.0.0, 10 Jun 2015
  2. v1 first release 1.0.0, 6 Sept 2014

Recent releases

VersionPublished
2.7.130 Nov 2018
2.7.013 Nov 2018
2.6.630 Aug 2018
2.6.526 May 2018
2.6.47 Feb 2018
2.6.321 Jul 2017
2.6.25 Jun 2017
2.6.125 Apr 2017
2.6.021 Apr 2017
2.5.317 Apr 2017
2.5.211 Apr 2017
2.5.127 Mar 2017
2.5.010 Mar 2017
2.4.014 Jan 2017
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
1007 kB
Dependencies (0)
None
npm install svg.js

CDN

jsDelivr: 413.6k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/svg.js@2.7.1/
  • unpkghttps://unpkg.com/svg.js@2.7.1/
  • esm.shhttps://esm.sh/svg.js@2.7.1
PackageWeekly downloadsGzipLast releaseModuleComparison
super-animejs23k-7 years agoESM + CommonJS-
stylefire77.4k-6 years agoESM + CommonJS-
animejs746.6k-3 months agoESM + CommonJSanimejs vs svg.js
react-wavify8.7k-2 months agoESM + CommonJS-
svg-gauge6.6k--CommonJS-
react-native-svg-animated-linear-gradient8k-6 years ago--
simple-parallax-js25.1k--ESM + CommonJS-
framesync2.3m-4 years agoESM + CommonJS-

Related

Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.