vite-plugin-dts
Vite plugin to generate TypeScript declaration files during build.
Build tools and bundlers npm MIT
Used in agent projects
39
0.3% of 12,697 public repos built with AI coding agents
Rank in build tools and bundlers
#48 of 81
by use in those projects
Downloads
3.9M
npm, last 7 days, vite-plugin-dts
GitHub stars
1,530
last push Oct 3, 2026
How vite-plugin-dts is used
vite-plugin-dts is a dependency in 39 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.3%), #48 of 81 in build tools and bundlers. The most used alternative there is Vite. Projects that use it most often also use Vite (100.0%), Vitest (87.2%), jsdom (61.5%).
Often used with vite-plugin-dts
| Vite | 100.0% of vite-plugin-dts projects · 4.4× more than average |
|---|---|
| Vitest | 87.2% of vite-plugin-dts projects · 7.1× more than average |
| jsdom | 61.5% of vite-plugin-dts projects · 11.5× more than average |
| Testing Library | 53.8% of vite-plugin-dts projects · 7.5× more than average |
| Prettier | 59.0% of vite-plugin-dts projects · 3.4× more than average |
| Nx | 46.2% of vite-plugin-dts projects · 44.1× more than average |
| TypeScript | 100.0% of vite-plugin-dts projects · 1.8× more than average |
| Nx JS Plugin | 43.6% of vite-plugin-dts projects · 52.7× more than average |
By coding agent
| Cursor | 0.8% of projects set up for it |
|---|---|
| Claude Code | 0.6% of projects set up for it |
| GitHub Copilot | 0.3% of projects set up for it |
| OpenAI Codex | 1.3% of projects set up for it |
Share of public repos configured for each agent that list vite-plugin-dts as a dependency.
Install
| Package | npm install vite-plugin-dts |
|---|---|
| Main stacks | TypeScript / JavaScript (37), Java / Kotlin (1), Rust (1) |
| Example projects | Doist/todoist-mcp, whatisjery/react-fluid-distortion, Synerise/synerise-design, leboncoin/spark-web, Miladxsar23/smartstepper |
Alternatives to vite-plugin-dts
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Vite npm Fast native-ESM powered web development build tool and dev server. |
2,897 (22.8%) | 194M | 83.3K | MIT |
| Babel (JavaScript) npm JavaScript compiler for transforming modern JavaScript to compatible code. |
484 (3.8%) | 187M | 44.1K | MIT |
| Turborepo npm High-performance build system for monorepos with task parallelization. |
399 (3.1%) | 29.5M | 31.2K | MIT |
| esbuild npm Extremely fast JavaScript and CSS bundler and minifier written in Go. |
342 (2.7%) | 3M | 40.1K | MIT |
| webpack npm Module bundler that packages JavaScript, assets and dependencies for browser deployment. |
255 (2.0%) | 54.9M | 66.1K | MIT |
| react-scripts npm Build configuration and scripts for Create React App zero-configuration setup. |
231 (1.8%) | 2.4M | 103K | MIT |
| React Compiler Babel Plugin npm Babel plugin for React Compiler that optimizes React component rendering. |
202 (1.6%) | 17.8M | 251K | MIT |
| webpack CLI npm Command-line interface for webpack bundler and related build tools. |
201 (1.6%) | 10.4M | 2,617 | MIT |