Skip to content
PluginStats

vite-plugin-env-compatible weekly downloads statistics

By IndexXuan · npm · Vite plugins

Environment Variables Compatible

View on npm Fresh · Dec 6, 2026

vite-plugin-env-compatible has 174,722 recorded weekly downloads on npm, an increase of 13.3% over the past 30 days, ranking #546 of 3,247 tracked listings.

Weekly downloads
174,722
Official API · Dec 5, 2026
7-day growth
+23.3%
+33K weekly downloads
30-day growth
+13.3%
+20.6K weekly downloads
90-day growth
+62.3%
+67K weekly downloads
Rank
#546
▲ 15 in 7 days

About vite-plugin-env-compatible

vite-plugin-env-compatible

inject to process.env like vue-cli or create-react-app and also define client process.env.XXX for you.

<p align="center"> <img alt="wakatime" src="https://wakatime.com/badge/github/IndexXuan/vite-plugin-env-compatible.svg" /> <a href="https://github.com/IndexXuan/vite-plugin-env-compatible/actions/workflows/npm-publish.yml"> <img alt="NPM Publish" src="https://github.com/IndexXuan/vite-plugin-env-compatible/actions/workflows/npm-publish.yml/badge.svg" style="max-width:100%;"> </a> <a href="https://www.npmjs.com/package/vite-plugin-env-compatible" rel="nofollow"> <img alt="downloads" src="https://img.shields.io/npm/dt/vite-plugin-env-compatible.svg"> </a> <a href="https://www.npmjs.com/package/vite-plugin-env-compatible" rel="nofollow"> <img alt="npm version" src="https://img.shields.io/npm/v/vite-plugin-env-compatible.svg" style="max-width:100%;"> </a> <a href="https://github.com/IndexXuan/vite-plugin-env-compatible/blob/main/LICENSE"> <img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-yellow.svg" style="max-width:100%;"> </a> </p>

Motivation

  • vite expose env to import.meta.env.PREFIX_XXX, but not loaded to process.env like vue-cli or create-react-app.
  • this plugin support setting prefix like VUE_APP_ or REACT_APP_ and loaded to process.env(support by vite@2.5.1).
  • built-in with vue-cli-plugin-vite just for compatibility.

Usage

yarn add vite-plugin-env-compatible
// vite.config.ts
import env from 'vite-plugin-env-compatible'

// @see https://vitejs.dev/config/
export default defineConfig({
  plugins: [
    // ...other plugins
    env(/* options */)
  ],
})

Options

Underlying

  • dotenv & dotenv-expand
  • vite

Further

Description from the npm listing.

  • vite-plugin
  • dot-env

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

vite-plugin-env-compatible weekly downloads on npm, last 90 days: 174,722 weekly downloads as of Dec 5, 2026, +62.3% over 90 days.vite-plugin-env-compatibleWeekly downloads on npm · Last 90 days174,722downloads / week+62.3% over 90 days020K40K60K80K100K120K140K160K180KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
vite-plugin-env-compatible weekly downloads on npm, last 90 days: 174,722 weekly downloads as of Dec 5, 2026, +62.3% over 90 days.

7/30/90-day growth

vite-plugin-env-compatible weekly downloads growth on npm: +23.3% over 7 days, +13.3% over 30 days, +62.3% over 90 days.vite-plugin-env-compatibleWeekly downloads growth on npm174,722downloads / week now7-day growth+32,994 weekly downloads+23.3%30-day growth+20,556 weekly downloads+13.3%90-day growth+67,037 weekly downloads+62.3%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
vite-plugin-env-compatible weekly downloads growth on npm: +23.3% over 7 days, +13.3% over 30 days, +62.3% over 90 days.

Ranking history

vite-plugin-env-compatible npm ranking history: currently #546 (by weekly downloads).vite-plugin-env-compatiblenpm ranking · by weekly downloads · Last 90 days#546current rank#535#540#545#550#555#560#565#570#575Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
vite-plugin-env-compatible npm ranking history: currently #546 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 28, #6 (overall #546)
All npm: every listing in weekly downloads order

Listing placement

Vite plugins300 listings · 15 pages · page 5, #2 (overall #82)
Vite plugins: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (170)
Recent weekly downloads observations for vite-plugin-env-compatible
Date (UTC)Weekly downloadsChange vs. previous
174,722+894
173,828+8.2K
165,623+9.8K
155,843+4.9K
150,912+4.6K
146,328+4.8K
141,568-160
141,728+425
141,303-3.9K
145,165-4.5K
149,615-5.3K
154,948-1.9K
156,817+1.4K
155,425—

Similar npm Vite plugins plugins

All 20 vite-plugin-env-compatible alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/vite-plugin-env-compatible. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.