Skip to content
JS
Package

vite-plugin-environment

Easily expose environment variables in Vite.js

v1.1.4, 9 Sept 2026MITESM onlyTypes: BundledBundler plugins and loadersConfiguration
$ npm install vite-plugin-environment

Key numbers

As of 25 Sept 2026
Weekly downloads
321.5k
+6% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
15 days ago
v1.1.4
GitHub stars
161
10 forks
Open issues / PRs
5 / 0
Contributors
-
Commits, last 52 weeks
3

Downloads

Last week 2026-09-15 to 2026-09-21
0250k500k750k1mSept 2025Mar 2026Sept 2026High 810.9k (5 May 2026)Low 151.8k (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.

321,464 downloads last week, 1,564,038 in the last month. The 12-month change of +6% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
17 in total
Latest version
1.1.4, 9 Sept 202615 days ago
First published
26 Apr 2021
Last push to GitHub
9 Sept 202615 days before the snapshot
Repository archived
No
Open issues
5
Open pull requests
0
Commits, last 52 weeks
3
Dependents on npm
26

Major versions

  1. v1 first release 1.0.0, 26 Apr 2021

Recent releases

VersionPublished
1.1.49 Sept 2026
1.1.319 Oct 2022
1.1.214 Jul 2022
1.1.111 Apr 2022
1.1.05 Jan 2022
1.0.14 May 2021
1.0.026 Apr 2021
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
11 kB
Dependencies (0)
None
Peer dependencies (1)
vite
npm install vite-plugin-environment
  • jsDelivrhttps://cdn.jsdelivr.net/npm/vite-plugin-environment@1.1.4/
  • unpkghttps://unpkg.com/vite-plugin-environment@1.1.4/
  • esm.shhttps://esm.sh/vite-plugin-environment@1.1.4
PackageWeekly downloadsGzipLast releaseModuleComparison
vite-plugin-checker2.5m-2 months agoESM only-
@poppanator/sveltekit-svg21.7k-1 month agoESM only-
vite-plugin-html-inject11.2k-2 years agoESM + CommonJS-
vike50.2k-22 days agoESM only-
vite-plugin-webfont-dl36.7k-1 month agoESM + CommonJS-
@sveltejs/vite-plugin-svelte2.4m-1 day agoESM only-
vite-plugin-node53.3k-5 months agoCommonJS-
vite-plugin-relay-lite8.6k-10 months agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.