# unplugin

> Unified plugin system for build tools

Latest version **3.4.0** (published 2026-09-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install unplugin
pnpm add unplugin
yarn add unplugin
bun add unplugin
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 3.4.0 |
| Published | 2026-09-16 |
| First published | 2021-07-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Node | ^20.19.0 \|\| >=22.12.0 |
| Dependencies | 3 |
| Unpacked size | 78 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 3611 |
| Maintainers | antfu, sxzz |

## Links

- npm: https://www.npmjs.com/package/unplugin
- Repository: https://github.com/unjs/unplugin
- Homepage: https://unplugin.unjs.io
- Issues: https://github.com/unjs/unplugin/issues
- npm.io page: https://npm.io/package/unplugin

## Dependencies (3)

- [picomatch](https://npm.io/package/picomatch.md) ^4.0.7
- [@jridgewell/remapping](https://npm.io/package/@jridgewell/remapping.md) ^2.3.5
- [webpack-virtual-modules](https://npm.io/package/webpack-virtual-modules.md) ^0.6.2

## Recent versions

- 3.4.0 (latest) — 2026-09-16
- 3.0.0-beta.3 (beta) — 2025-11-21
- 2.3.10 (latest-v2) — 2025-08-31
- 1.16.1 (latest-v1) — 2025-01-08
- 3.3.0 — 2026-06-29
- 3.2.0 — 2026-06-24
- 3.0.0 — 2026-01-22
- 2.3.11 — 2025-11-22
- 3.0.0-beta.2 — 2025-11-04
- 3.0.0-beta.1 — 2025-11-03
- 2.3.9 — 2025-08-28
- 2.3.8 — 2025-08-21
- 2.3.7 — 2025-08-20
- 2.3.6 — 2025-08-16
- 2.3.5 — 2025-05-27
- … 104 more at https://npm.io/package/unplugin/versions

## README

# Unplugin

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![License][license-src]][license-href]

Unified plugin system for build tools.

Currently supports:

- [Vite](https://vite.dev/)
- [Rollup](https://rollupjs.org/)
- [Webpack](https://webpack.js.org/)
- [esbuild](https://esbuild.github.io/)
- [Rspack](https://www.rspack.dev/)
- [Rsbuild](https://rsbuild.rs/)
- [Rolldown](https://rolldown.rs/)
- [Farm](https://www.farmfe.org/)
- [Bun](https://bun.com/)
- And every framework built on top of them.

## Documentations

Learn more on the [Documentation](https://unplugin.unjs.io/)

## License

[MIT](./LICENSE) License © 2021-PRESENT Nuxt Contrib

<!-- Badges -->

[npm-version-src]: https://img.shields.io/npm/v/unplugin?style=flat&colorA=18181B&colorB=F0DB4F
[npm-version-href]: https://npmjs.com/package/unplugin
[npm-downloads-src]: https://img.shields.io/npm/dm/unplugin?style=flat&colorA=18181B&colorB=F0DB4F
[npm-downloads-href]: https://npmjs.com/package/unplugin
[license-src]: https://img.shields.io/github/license/unjs/unplugin.svg?style=flat&colorA=18181B&colorB=F0DB4F
[license-href]: https://github.com/unjs/unplugin/blob/main/LICENSE

---
_Source: https://npm.io/package/unplugin · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
