Skip to content
PluginStats

@originjs/vite-plugin-commonjs weekly downloads statistics

By originjs (2 listings) · npm · Vite plugins

A vite plugin that support commonjs to esm in vite

View on npm Fresh · Dec 6, 2026

@originjs/vite-plugin-commonjs has 237,219 recorded weekly downloads on npm, an increase of 2.8% over the past 30 days, ranking #501 of 3,247 tracked listings.

Weekly downloads
237,219
Official API · Dec 5, 2026
7-day growth
+5.3%
+11.9K weekly downloads
30-day growth
+2.8%
+6.4K weekly downloads
90-day growth
+13.5%
+28.3K weekly downloads
Rank
#501
▼ 6 in 7 days

About @originjs/vite-plugin-commonjs

vite-plugin-commonjs

Support commonJS to esm in vite

Install

npm install @originjs/vite-plugin-commonjs --save-dev

or

yarn add @originjs/vite-plugin-commonjs --dev

Usage

import { viteCommonjs } from '@originjs/vite-plugin-commonjs'

export default {
    plugins: [
        viteCommonjs()
    ]
}
Options
  • exclude: string[] Dependencies to exclude from transform.

  • include: string[] Dependencies that only need to be transform.

CommonJS module in node_modules
import { esbuildCommonjs } from '@originjs/vite-plugin-commonjs'

export default {
    optimizeDeps:{
    esbuildOptions:{
      plugins:[
        esbuildCommonjs(['react-calendar','react-date-picker']) 
      ]
    }
  }
}
Options
  • include: string[] Dependent modules need to be transform.

Description from the npm listing.

  • vite-plugin
  • commonjs

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

@originjs/vite-plugin-commonjs weekly downloads on npm, last 90 days: 237,219 weekly downloads as of Dec 5, 2026, +13.5% over 90 days.@originjs/vite-plugin-commonjsWeekly downloads on npm · Last 90 days237,219downloads / week+13.5% over 90 days0100K200K300K400K500KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@originjs/vite-plugin-commonjs weekly downloads on npm, last 90 days: 237,219 weekly downloads as of Dec 5, 2026, +13.5% over 90 days.

7/30/90-day growth

@originjs/vite-plugin-commonjs weekly downloads growth on npm: +5.3% over 7 days, +2.8% over 30 days, +13.5% over 90 days.@originjs/vite-plugin-commonjsWeekly downloads growth on npm237,219downloads / week now7-day growth+11,855 weekly downloads+5.3%30-day growth+6,417 weekly downloads+2.8%90-day growth+28,294 weekly downloads+13.5%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@originjs/vite-plugin-commonjs weekly downloads growth on npm: +5.3% over 7 days, +2.8% over 30 days, +13.5% over 90 days.

Ranking history

@originjs/vite-plugin-commonjs npm ranking history: currently #501 (by weekly downloads).@originjs/vite-plugin-commonjsnpm ranking · by weekly downloads · Last 90 days#501current rank#380#400#420#440#460#480#500#520Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
@originjs/vite-plugin-commonjs npm ranking history: currently #501 (by weekly downloads).

Listing placement

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

Listing placement

Vite plugins300 listings · 15 pages · page 4, #15 (overall #75)
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 @originjs/vite-plugin-commonjs
Date (UTC)Weekly downloadsChange vs. previous
237,219+1.4K
235,784+9.8K
225,963+3.7K
222,289-1.1K
223,391-590
223,981+2K
221,944-3.4K
225,364-1K
226,379-9.6K
235,937-8.1K
244,073+5.3K
238,782+4.5K
234,292-297
234,589—

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/@originjs/vite-plugin-commonjs. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.