Skip to content
JS
Package

vite-env-only

Vite plugins for isolating server-only and client-only code

v3.0.3, 1 Jul 2024MITESM + CommonJSTypes: NoneBundler plugins and loaders
$ npm install vite-env-only

Key numbers

As of 25 Sept 2026
Weekly downloads
66.8k
+11% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
7
Direct, from package.json
Last release
2 years ago
v3.0.3
GitHub stars
167
3 forks
Open issues / PRs
2 / 2
Contributors
-
Commits, last 52 weeks
23

Downloads

Last week 2026-09-15 to 2026-09-21
0100k200k300kSept 2025Mar 2026Sept 2026High 223.7k (23 Jun 2026)Low 26.5k (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.

66,811 downloads last week, 349,064 in the last month. The 12-month change of +11% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
3.0.3, 1 Jul 20242 years ago
First published
-
Last push to GitHub
11 Feb 2026226 days before the snapshot
Repository archived
No
Open issues
2
Open pull requests
2
Commits, last 52 weeks
23
Dependents on npm
17

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
29 kB
Dependencies (7)
micromatch@babel/core@babel/types@babel/parser@babel/traverse@babel/generatorbabel-dead-code-elimination
Peer dependencies (1)
vite
npm install vite-env-only
  • jsDelivrhttps://cdn.jsdelivr.net/npm/vite-env-only@3.0.3/
  • unpkghttps://unpkg.com/vite-env-only@3.0.3/
  • esm.shhttps://esm.sh/vite-env-only@3.0.3
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.