Package
vitest-canvas-webgl-mock
Mock both 2D and WebGL contexts in Vitest.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 1.3k
- +25% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 2
- Direct, from package.json
- Last release
- -
- v2.5.3
- GitHub stars
- 0
- 0 forks
- Open issues / PRs
- 0 / 0
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
1,292 downloads last week, 7,465 in the last month. The 12-month change of +25% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 2.5.3
- First published
- -
- Last push to GitHub
- 13 Sept 2024741 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 0
- Commits, last 52 weeks
- 0
- Dependents on npm
- -
Major versions
-
Recent releases
-
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 121 kB
- Dependencies (2)
moo-colorcssfontparser
npm install vitest-canvas-webgl-mock- jsDelivr
https://cdn.jsdelivr.net/npm/vitest-canvas-webgl-mock@2.5.3/ - unpkg
https://unpkg.com/vitest-canvas-webgl-mock@2.5.3/ - esm.sh
https://esm.sh/vitest-canvas-webgl-mock@2.5.3
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| vitest-webgl-canvas-mock | 15.7k | - | 3 years ago | ESM only | - |
| jest-webgl-canvas-mock | 39.8k | - | 2 years ago | CommonJS | - |
| canvas-size | 93.7k | - | 2 years ago | ESM only | - |
Indexability: Not indexed (discovery only): downloads_week 1292 < 10000.