Skip to content
JS
Package

dom-2d-camera

A wrapper for attaching a 2D camera to a DOM element

v2.2.6, 11 Dec 2024MITESM + CommonJSTypes: None3D, WebGL and game enginesDOM and browser utilities
$ npm install dom-2d-camera

Key numbers

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

Downloads

Last week 2026-09-15 to 2026-09-21
02.5k5k7.5k10kSept 2025Mar 2026Sept 2026High 9k (21 Jul 2026)Low 657 (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.

4,609 downloads last week, 16,764 in the last month. The 12-month change of +180% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.2.6, 11 Dec 20241 year ago
First published
-
Last push to GitHub
11 Dec 2024652 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
8

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
51 kB
Dependencies (2)
gl-matrixcamera-2d-simple
Peer dependencies (1)
gl-matrix
npm install dom-2d-camera
  • jsDelivrhttps://cdn.jsdelivr.net/npm/dom-2d-camera@2.2.6/
  • unpkghttps://unpkg.com/dom-2d-camera@2.2.6/
  • esm.shhttps://esm.sh/dom-2d-camera@2.2.6
PackageWeekly downloadsGzipLast releaseModuleComparison
phaser276.5k--ESM + CommonJS-
phaser-ce5.2k--CommonJS-
photoeditorsdk5.5k-1 year agoESM + CommonJS-
sigma232.7k-4 months agoESM + CommonJS-
spritejs9.5k-3 years agoESM + CommonJS-
angry-pixel54.3k-16 days agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 4609 < 10000.