Skip to content
JS
Package

svg-pan-zoom

JavaScript library for panning and zooming an SVG image from the mouse, touches and programmatically.

v3.6.2, 20 Oct 2024BSD-2-ClauseESM + CommonJSTypes: Bundled
$ npm install svg-pan-zoom

Key numbers

As of 25 Sept 2026
Weekly downloads
513.1k
+31% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
1 year ago
v3.6.2
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600k800kSept 2025Mar 2026Sept 2026High 718.9k (25 Aug 2026)Low 206.4k (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.

513,053 downloads last week, 2,550,025 in the last month. The 12-month change of +31% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
028 in total
Latest version
3.6.2, 20 Oct 20241 year ago
First published
29 Nov 2014
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
-

Major versions

  1. v3 first release 3.0.0, 29 Nov 2014
  2. v2 first release 2.3.11, 29 Nov 2014

Recent releases

VersionPublished
3.6.220 Oct 2024
3.6.121 Sept 2019
3.6.07 Oct 2018
3.5.33 Oct 2017
3.5.226 Jul 2017
3.5.18 May 2017
3.5.015 Mar 2017
3.4.116 Jan 2017
3.4.021 Nov 2016
3.3.03 Oct 2016
3.2.113 Oct 2016
3.2.103 Sept 2016
3.2.930 May 2016
3.2.828 Apr 2016
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
1.9 MB
Dependencies (0)
None
npm install svg-pan-zoom

CDN

jsDelivr: 4.7m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/svg-pan-zoom@3.6.2/
  • unpkghttps://unpkg.com/svg-pan-zoom@3.6.2/
  • esm.shhttps://esm.sh/svg-pan-zoom@3.6.2
Sources: npm registry, npm downloads API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet; no category.