unplugin/unplugin-auto-import
Auto import APIs on-demand for Vite, Webpack and Rollup observed · 2026-08-28
Health v2 · maintenance only
96/100
- Activity 95
- Release rhythm 96
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 26.5
- age_days: 1835
- days_rel: 31
- days_push: 31
- n_releases_24m: 17
Adoption not part of the score
3792 stars · 217 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A unified build plugin (built on unplugin) that automatically injects API imports on demand for frameworks like Vue and React, eliminating manual import statements. It works across Vite, Webpack, Rspack, Rollup, Rolldown, esbuild, and Astro with full TypeScript support.
Use cases
- auto import vue apis like ref and computed without writing imports
- remove boilerplate import statements in react projects
- generate global TypeScript declarations for auto-imported APIs
- configure auto imports across vite webpack and rollup with one plugin
- speed up writing components by importing APIs on demand
When to choose
- you use Vite, Webpack, Rspack, Rollup, or esbuild and want to eliminate repetitive import statements
- you want TypeScript-aware auto imports with generated declaration files
- you want one plugin configuration that works across multiple bundlers
When to avoid
- you use Nuxt, which already has auto-import built in
- your team prefers explicit imports for readability or linting consistency
- your build setup is not supported by unplugin
Facets
plugin · maturity active
build-tool developer-tools plugin-system web-development frontend developer-tools browser cross-platform auto-import vite-plugin webpack-plugin rollup-plugin esbuild-plugin rspack typescript unplugin dx nodejs
1 source
- readme: https://github.com/unplugin/unplugin-auto-import · fetched 2026-08-28 · 8a50332c410d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| unplugin/unplugin-auto-import | main | 96 |
For agents
markdown · JSON · MCP: product_card(name="unplugin/unplugin-auto-import")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem