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.
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
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- jsDelivr
https://cdn.jsdelivr.net/npm/pixi-viewport@6.0.3/ - unpkg
https://unpkg.com/pixi-viewport@6.0.3/ - esm.sh
https://esm.sh/pixi-viewport@6.0.3
Indexability: Indexed.