Skip to content
JS
Package

vite-plugin-cjs-interop

Vite plugin to unwrap default imports from CJS dependencies during SSR

v4.0.3, 9 Jun 2026MITESM onlyTypes: NoneBundler plugins and loaders
$ npm install vite-plugin-cjs-interop

Key numbers

As of 25 Sept 2026
Weekly downloads
216.4k
+86% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
4
Direct, from package.json
Last release
3 months ago
v4.0.3
GitHub stars
89
10 forks
Open issues / PRs
1 / 7
Contributors
-
Commits, last 52 weeks
52

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600kSept 2025Mar 2026Sept 2026High 448.8k (7 Jul 2026)Low 42.1k (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.

216,403 downloads last week, 1,025,929 in the last month. The 12-month change of +86% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
4.0.3, 9 Jun 20263 months ago
First published
-
Last push to GitHub
24 Sept 2026same day as the snapshot
Repository archived
No
Open issues
1
Open pull requests
7
Commits, last 52 weeks
52
Dependents on npm
12

Major versions

-

Recent releases

-

Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
22 || 24 || 25 || 26
Runtimes
-
Unpacked size (npm)
30 kB
Dependencies (4)
minimatchoxc-parsermagic-stringestree-walker
Peer dependencies (1)
vite
npm install vite-plugin-cjs-interop
  • jsDelivrhttps://cdn.jsdelivr.net/npm/vite-plugin-cjs-interop@4.0.3/
  • unpkghttps://unpkg.com/vite-plugin-cjs-interop@4.0.3/
  • esm.shhttps://esm.sh/vite-plugin-cjs-interop@4.0.3
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.