</>PackageGraphPackageGraph

vite

npmv8.2.2

Native-ESM powered web dev build tool

Safe to adopt

Yes — vite scores well across adoption, maintenance, weight, supply chain, and licensing. 158.6M downloads per week and 26 known dependents. Last published 21 days ago. 50 releases in the last 2 years.

  • AAdoption: grade A, Excellent.

    158.6M downloads per week and 26 known dependents.

  • AMaintenance: grade A, Excellent.

    Last published 21 days ago. 50 releases in the last 2 years.

  • BWeight: grade B, Good.

    Pulls in 12 transitive packages, about 4.1 MB installed (at least — some of the tree is still being crawled).

  • ASupply chain: grade A, Excellent.

    No install scripts, 2 maintainers, and a contained dependency surface.

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding vite to a project.

5
Direct dependencies

Runtime packages this one declares itself.

12
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

4.1 MB
Install size

Unpacked size of this package plus its entire runtime tree.

2
Tree depth

Longest resolved dependency chain below this package.

Part of this dependency tree has not been crawled yet, so these figures are a lower bound rather than a final total.

Licenses in the dependency tree

Apache-2.0BSD-3-ClauseISCMITMPL-2.0

Every license you inherit by installing vite, not just its own. Check this before a legal review, not after.

Compatibility

Node.js
node ^20.19.0 || >=22.12.0
Module format
ESM only
TypeScript
No bundled types
Install scripts
None

vite vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
vitethis page158.6M26MIT21 days ago
express92.8M17MIT8 hours ago
vitest92.7M129MIT8 hours ago
next40.6M0MIT8 hours ago
socket.io16.2M1MIT8 hours ago
fastify8.9M4MIT8 hours ago

Dependencies

Declared by vite v8.2.2. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (56)

@babel/parser ^7.29.8@jridgewell/remapping ^2.3.5@jridgewell/trace-mapping ^0.3.31@polka/compression ^1.0.0-next.25@rollup/plugin-alias ^6.0.0@rollup/plugin-dynamic-import-vars 2.1.4@rollup/pluginutils ^5.4.0@types/escape-html ^1.0.4@types/pnpapi ^0.0.5@vercel/detect-agent ^1.2.5@vitejs/devtools ^0.4.12@vitest/utils 4.1.10@voidzero-dev/vite-task-client ^0.2.0artichokie ^0.4.4baseline-browser-mapping ^2.11.14cac ^7.0.0chokidar ^3.6.0connect ^3.7.0convert-source-map ^2.0.0cors ^2.8.6cross-spawn ^7.0.6dotenv-expand ^13.0.0es-module-lexer ^2.3.1esbuild ^0.28.2escape-html ^1.0.3estree-walker ^3.0.3etag ^1.8.1fresh-import ^0.2.1host-validation-middleware ^0.1.4http-proxy-3 ^1.23.3launch-editor-middleware ^2.14.1magic-string ^1.2.0mlly ^1.8.2mrmime ^2.0.1nanoid ^5.1.16obug ^1.0.2open ^10.2.0parse5 ^8.0.1pathe ^2.0.3periscopic ^4.0.3picocolors ^1.1.1postcss-import ^16.2.0postcss-load-config ^6.0.1postcss-modules ^9.0.1premove ^4.0.0resolve.exports ^2.0.3rolldown-plugin-dts ^0.28.2rollup ^4.59.0rollup-plugin-license ^3.7.1sass ^1.102.0sass-embedded ^1.102.0sirv ^3.0.2strip-literal ^4.0.0terser ^5.50.0ufo ^1.6.4ws ^8.21.3

Used by

Popular packages that depend on vite.

pakonpm

zlib port to javascript - fast, modularized, with browser support

100.8M/wk2 dependents(MIT AND Zlib)TS
vitestnpm

Next generation testing framework powered by Vite

92.7M/wk129 dependentsMITTS
h3npm

Minimal H(TTP) framework built for high performance and portability.

34.2M/wk8 dependentsMITTS
ast-v8-to-istanbulnpm

AST-aware v8-to-istanbul

23.2M/wk1 dependentsMITTS
valibotnpm

The modular and type safe schema library for validating structural data

16.8M/wk5 dependentsMITTS
@vitest/uinpm

UI for Vitest

8.9M/wk9 dependentsMITTS
@devframes/plugin-terminalsnpm

Devframe plugin providing terminal panels for streamed output and interactive PTY shells.

89.2K/wk1 dependentsMITTS
@devframes/vitenpm

Vite plugin for mounting a devframe inside any Vite-based host (Astro, SolidStart, Nuxt, plain Vite apps).

43.5K/wk4 dependentsMITTS
@devframes/json-render-uinpm

Vue renderer for devframe views described as JSON.

37.5K/wk1 dependentsMIT
nosticsnpm

Structured diagnostic code library

0/wk13 dependentsMITTS
@asamuzakjp/css-colornpm

CSS color - Resolve and convert CSS colors.

0/wk1 dependentsMITTS
birpcnpm

Message based Two-way remote procedure call

0/wk6 dependentsMITTS
@devframes/plugin-inspectnpm

Devframe plugin that inspects the RPC registry, shared state, and agent surface of a connection.

0/wk1 dependentsMITTS
@vitejs/devtools-kitnpm

Vite DevTools Kit

0/wk5 dependentsMITTS
@devframes/plugin-messagesnpm

Devframe plugin for browsing, filtering, and dismissing the hub message feed.

0/wk1 dependentsMITTS
immernpm

Create your next immutable state by mutating the current one

0/wk3 dependentsMITTS
@standard-schema/utilsnpm

The official runtime utils for Standard Schema

0/wk1 dependentsMITTS
@vitejs/devtoolsnpm

Vite DevTools

0/wk2 dependentsMITTS
vue-virtual-scrollernpm

Smooth scrolling for any amount of data

0/wk3 dependentsMITTS
modern-tarnpm

Zero dependency streaming tar parser and writer for JavaScript.

0/wk3 dependentsMITTS
@vitejs/devtools-vitenpm

DevTools for Vite (work in progress)

0/wk1 dependentsMITTS
@vitejs/devtools-oxcnpm

DevTools for the Oxc toolchain

0/wk1 dependentsMITTS
quansyncnpm

Create sync/async APIs with usable logic

0/wk1 dependentsMITTS
quickjs-wasinpm

Snapshotable JavaScript runtime via WebAssembly. QuickJS-NG compiled to WASM with snapshot/restore support.

0/wk3 dependentsMITTS

Relationship graph

Dependencies (left) and dependents (right) of vite.

Frequently installed together

Release history

50 releases in the last two years, typically about 7 days apart.

Recent versions of vite
VersionPublishedSizeLicense
8.3.0-beta.12 days ago2.3 MBMIT
8.3.0-beta.07 days ago2.3 MBMIT
8.2.2latest21 days ago2.2 MBMIT
8.2.11 month ago2.2 MBMIT
8.2.01 month ago2.2 MBMIT
8.2.0-beta.01 month ago2.2 MBMIT
8.1.51 month ago2.1 MBMIT
8.1.42 months ago2.1 MBMIT
8.1.32 months ago2.1 MBMIT
8.1.22 months ago2.1 MBMIT
8.1.12 months ago2.1 MBMIT
7.3.62 months ago2.1 MBMIT
8.1.02 months ago2.1 MBMIT
8.1.0-beta.02 months ago2.1 MBMIT
6.4.33 months ago2.5 MBMIT

Overview

vite is an npm package that native-ESM powered web dev build tool. It is extremely widely used, with about 158.6M downloads per week and 26 known dependents in the graph. The latest version is 8.2.2, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need native-ESM powered web dev build tool and value a battle-tested, widely-adopted solution.

When not to use it

Consider an alternative if you need to minimize your dependency tree, have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.

Pros

  • Large, well-established user base (158.6M weekly downloads).
  • Clear open-source license (MIT).

Cons

  • Large dependency tree (74 direct dependencies) increases install size and audit surface.
  • No bundled TypeScript types (may require a separate @types package).

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Funding

Frequently asked questions

Should I use vite?

Yes — vite scores well across adoption, maintenance, weight, supply chain, and licensing. 158.6M downloads per week and 26 known dependents. Last published 21 days ago. 50 releases in the last 2 years.

How do I install vite?

Run `npm install vite` to add vite to your npm project.

How many dependencies does vite have?

vite declares 74 direct dependencies and pulls in 12 packages in total once its runtime tree is resolved totalling about 4.1 MB on disk.

What license is vite released under?

vite is distributed under the MIT license. Its dependency tree also includes: Apache-2.0, BSD-3-Clause, ISC, MIT, MPL-2.0.

How popular is vite?

vite has approximately 158,616,150 downloads per week and 26 known dependent packages.

Is vite still maintained?

The most recent release of vite (v8.2.2) was published 21 days ago.

Does vite run install scripts?

No. vite does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.