Skip to content
PluginStats

vite-plugin-wasm-pack weekly downloads statistics

By nshen (2 listings) · npm · Vite plugins

Vite plugin for rust using wasm-pack 🦀

View on npm Stale · Oct 17, 2026

vite-plugin-wasm-pack has 11,399 recorded weekly downloads on npm, a decrease of 53.3% over the past 30 days, ranking #878 of 2,256 tracked listings.

Weekly downloads
11,399
Official API · Oct 17, 2026
7-day growth
-36.5%
-6.5K weekly downloads
30-day growth
-53.3%
-13K weekly downloads
90-day growth
+19.9%
+1.9K weekly downloads
Rank
#878
Among tracked npm listings

About vite-plugin-wasm-pack

🦀 Vite plugin for rust wasm-pack, it's simple.

Quick start

Make sure wasm-pack installed correctly.

Clone this repo or download the zip file, extract the example folder.

Install npm develop dependencies, in example folder run:

After that you can build rust project to WebAassembly by using wasm-pack.

Now the my-crate module is ready, start vite dev server.

Done, if below is showing.

Install manually

Usage

Add this plugin to vite.config.ts

Add script to package.json

⚠ Don't forget to build your wasm-pack crate first!

Tips: you can add a wasm script to package.json like this:

Then, run:

This will start dev server, and install my-crate that you built earlier.

Use wasm-pack package installed via npm

If you want use a package from npm that built with wasm-pack, like this one test-npm-crate

you have to pass the package name to the second param of our plugin.

wasmPack(['./my-local-crate'],['test-npm-crate'])

full example is in ./npm-crate-example folder.

notice, we only support package build with --target web for now , if a package you use is built without --target web, you should rebuild it.

like this example [Photon-vite] [source]

Cache Problem

I'm not sure if anybody have met the problem that after modified your package, your package don't update.

That's becasue vite pre bundling your package, you can follow vite guide to solve the problem.

If you met the problem , or any problems. feel free to create an issue, let me see if I can do something to help you, thanks.

Examples

• Quick starter is in ./example folder. • Game of life [demo] [source] • Photon-vite [demo] [source]

License

MIT, see the license file

Description from the npm listing.

  • wasm-pack
  • wasm-bindgen
  • vite-plugin
  • webassembly
  • wasm
  • rust
  • vite
  • cargo

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-wasm-pack weekly downloads on npm, last 90 days: 11,399 weekly downloads as of Oct 17, 2026, +19.9% over 90 days.vite-plugin-wasm-packWeekly downloads on npm · Last 90 days11,399downloads / week+19.9% over 90 days05K10K15K20K25K30KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 17, 2026 · 88 observations · Updated Oc…pluginstats.com
vite-plugin-wasm-pack weekly downloads on npm, last 90 days: 11,399 weekly downloads as of Oct 17, 2026, +19.9% over 90 days.

7/30/90-day growth

vite-plugin-wasm-pack weekly downloads growth on npm: -36.5% over 7 days, -53.3% over 30 days, +19.9% over 90 days.vite-plugin-wasm-packWeekly downloads growth on npm11,399downloads / week now7-day growth-6,549 weekly downloads-36.5%30-day growth-13,017 weekly downloads-53.3%90-day growth+1,888 weekly downloads+19.9%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
vite-plugin-wasm-pack weekly downloads growth on npm: -36.5% over 7 days, -53.3% over 30 days, +19.9% over 90 days.

Ranking history

vite-plugin-wasm-pack npm ranking history: currently #878 (by weekly downloads).vite-plugin-wasm-packnpm ranking · by weekly downloads · Last 90 days#878current rank#300#400#500#600#700#800#900Jul 21Aug 5Aug 20Sep 4Sep 19Oct 4Oct 19rankOct 17, 2026 – Oct 19, 2026 · 3 observations · Updated Oct 17, 2026pluginstats.com
vite-plugin-wasm-pack npm ranking history: currently #878 (by weekly downloads).

Listing placement

All npm2,256 listings · 113 pages · 1,130 shown · page 44, #18 (overall #878)
All npm: every listing in weekly downloads order

Listing placement

Vite plugins250 listings · 13 pages · page 8, #7 (overall #147)
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 (542)
Recent weekly downloads observations for vite-plugin-wasm-pack
Date (UTC)Weekly downloadsChange vs. previous
11,399-1.1K
12,507-1.1K
13,625-3.9K
17,494-6.3K
23,8270
23,827+5.3K
18,567+619
17,948+803
17,145+937
16,208+1.2K
14,997+3.8K
11,233-3K
14,202-386
14,588—

Similar npm Vite plugins plugins

All 20 vite-plugin-wasm-pack 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-wasm-pack. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.