Skip to content
JS
Package

pixi-viewport

A highly configurable viewport/2D camera designed to work with pixi.js. Features include dragging, pinch-to-zoom, mouse wheel zooming, decelerated dragging, follow target, snap to point, snap to zoom, clamping, bouncing on edges, and move on mouse edges.

v6.0.3, 27 Nov 2024MITESM + CommonJSTypes: Bundled3D, WebGL and game engines
$ npm install pixi-viewport

Key numbers

As of 25 Sept 2026
Weekly downloads
84.4k
+150% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
1 year ago
v6.0.3
GitHub stars
1.2k
185 forks
Open issues / PRs
136 / 8
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
050k100k150kSept 2025Mar 2026Sept 2026High 128.3k (18 Aug 2026)Low 20.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.

84,408 downloads last week, 400,397 in the last month. The 12-month change of +150% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
6.0.3, 27 Nov 20241 year ago
First published
-
Last push to GitHub
3 Feb 2025598 days before the snapshot
Repository archived
No
Open issues
136
Open pull requests
8
Commits, last 52 weeks
0
Dependents on npm
101

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
174 kB
Dependencies (0)
None
Peer dependencies (1)
pixi.js
npm install pixi-viewport
  • jsDelivrhttps://cdn.jsdelivr.net/npm/pixi-viewport@6.0.3/
  • unpkghttps://unpkg.com/pixi-viewport@6.0.3/
  • esm.shhttps://esm.sh/pixi-viewport@6.0.3
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.