Package
vitest-webgl-canvas-mock
Mock both 2D and WebGL contexts in Vitest.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 15.7k
- +23% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 2
- Direct, from package.json
- Last release
- 3 years ago
- v1.1.0
- GitHub stars
- -
- Open issues / PRs
- - / -
- Contributors
- -
- Commits, last 52 weeks
- -
Downloads
Last week 2026-09-15 to 2026-09-21
15,749 downloads last week, 70,370 in the last month. The 12-month change of +23% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 1.1.0, 28 Mar 20233 years ago
- First published
- -
- Last push to GitHub
- -
- Repository archived
- -
- Open issues
- -
- Open pull requests
- -
- Commits, last 52 weeks
- -
- Dependents on npm
- 2
Major versions
-
Recent releases
-
- Module format
- ESM onlyFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 102 kB
- Dependencies (2)
parse-colorcssfontparser
npm install vitest-webgl-canvas-mock- jsDelivr
https://cdn.jsdelivr.net/npm/vitest-webgl-canvas-mock@1.1.0/ - unpkg
https://unpkg.com/vitest-webgl-canvas-mock@1.1.0/ - esm.sh
https://esm.sh/vitest-webgl-canvas-mock@1.1.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| jest-webgl-canvas-mock | 39.8k | - | 2 years ago | CommonJS | - |
| canvas-size | 93.7k | - | 2 years ago | ESM only | - |
Indexability: Not indexed (discovery only): GitHub data not fetched yet.