Skip to content
JS
Package

@cloudflare/vitest-plugin

Workers Vitest integration for writing Vitest unit and integration tests that run inside the Workers runtime

v1.2.6, 24 Sept 2026MITESM onlyTypes: BundledCloud SDKsTesting
$ npm install @cloudflare/vitest-plugin

Key numbers

As of 25 Sept 2026
Weekly downloads
254.3k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
5
Direct, from package.json
Last release
today
v1.2.6
GitHub stars
4.6k
1.5k forks
Open issues / PRs
303 / 211
Contributors
-
Commits, last 52 weeks
2,548

No weekly download data in the snapshot.

254,276 downloads last week, 799,976 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
-
Latest version
1.2.6, 24 Sept 2026today
First published
-
Last push to GitHub
25 Sept 2026same day as the snapshot
Repository archived
No
Open issues
303
Open pull requests
211
Commits, last 52 weeks
2,548
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)
7.5 MB
Dependencies (5)
zodesbuildwranglerminiflarecjs-module-lexer
Peer dependencies (3)
vitest@vitest/runner@vitest/snapshot
npm install @cloudflare/vitest-plugin
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@cloudflare/vitest-plugin@1.2.6/
  • unpkghttps://unpkg.com/@cloudflare/vitest-plugin@1.2.6/
  • esm.shhttps://esm.sh/@cloudflare/vitest-plugin@1.2.6
PackageWeekly downloadsGzipLast releaseModuleComparison
itty-router254.1k-3 months agoESM + CommonJS-
lambda-tester65.5k-6 years agoCommonJS-
@msw/cloudflare72.5k-2 months agoESM only-
workers-qb38.1k-2 months agoESM + CommonJS-
serverless-spy16k-24 days agoESM + CommonJS-
@neondatabase/serverless2.8m-5 months agoESM + CommonJS-
aws-sdk-client-mock-jest393.4k-1 year agoESM + CommonJS-
@cfworker/sentry33.6k-1 year agoESM + CommonJS-
Sources: npm registry, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.