Skip to content
JS
Package

vite-plugin-top-level-await

Transform code to support top-level await in normal browsers for Vite.

v1.6.0, 17 Jul 2025MITESM + CommonJSTypes: BundledBundler plugins and loaders
$ npm install vite-plugin-top-level-await

Key numbers

As of 25 Sept 2026
Weekly downloads
243.2k
+18% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
4
Direct, from package.json
Last release
1 year ago
v1.6.0
GitHub stars
314
25 forks
Open issues / PRs
12 / 2
Contributors
-
Commits, last 52 weeks
1

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600k800kSept 2025Mar 2026Sept 2026High 647.3k (20 Jan 2026)Low 188.8k (28 Oct 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

243,242 downloads last week, 1,163,760 in the last month. The 12-month change of +18% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.6.0, 17 Jul 20251 year ago
First published
-
Last push to GitHub
12 Mar 2026196 days before the snapshot
Repository archived
No
Open issues
12
Open pull requests
2
Commits, last 52 weeks
1
Dependents on npm
66

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
50 kB
Dependencies (4)
uuid@swc/core@swc/wasm@rollup/plugin-virtual
Peer dependencies (1)
vite
npm install vite-plugin-top-level-await
  • jsDelivrhttps://cdn.jsdelivr.net/npm/vite-plugin-top-level-await@1.6.0/
  • unpkghttps://unpkg.com/vite-plugin-top-level-await@1.6.0/
  • esm.shhttps://esm.sh/vite-plugin-top-level-await@1.6.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.