Skip to content
JS
Package

vitest-webgl-canvas-mock

Mock both 2D and WebGL contexts in Vitest.

v1.1.0, 28 Mar 2023MITESM onlyTypes: Bundled3D, WebGL and game enginesTesting
$ npm install vitest-webgl-canvas-mock

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
010k20k30kSept 2025Mar 2026Sept 2026High 29.7k (7 Apr 2026)Low 7.4k (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.

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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/vitest-webgl-canvas-mock@1.1.0/
  • unpkghttps://unpkg.com/vitest-webgl-canvas-mock@1.1.0/
  • esm.shhttps://esm.sh/vitest-webgl-canvas-mock@1.1.0
PackageWeekly downloadsGzipLast releaseModuleComparison
jest-webgl-canvas-mock39.8k-2 years agoCommonJS-
canvas-size93.7k-2 years agoESM only-
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet.