✨ A blazing-fast Rust tool to replace and optimize auto-imports in Vue/Nuxt projects. Say goodbye to unnecessary imports and keep your code clean & efficient!
deNux is a high-performance and developer-friendly auto-import optimizer built with Rust. It automatically detects, replaces, and optimizes import statements in your Vue/Nuxt projects, keeping your codebase clean and well-organized.
- Ultra-fast processing with Rust’s performance edge 🚀
- Smart auto-import detection for used components & functions 🧠
- Explicitly adds necessary imports by converting auto-imported modules into import statements 🧹
- Supports Vue 3, Nuxt 3, and modern JS frameworks 🏗️
- Seamless integration into your development workflow ⚡
cargo install denuxgit clone https://github.com/mikinovation/denux.git
cd denux
cargo build --releasedenux| Option | Description |
|---|---|
--dry-run |
Show changes without applying them |
--verbose |
Display detailed logs |
Example:
denux --dry-run --verbose ./src- Parses Vue/Nuxt files to extract
<script setup>and<template>contents. - Identifies missing & unnecessary imports automatically.
- Optimizes import statements while keeping your code readable and clean.
- Writes back the optimized files (unless
--dry-runis specified).
We welcome contributions! Feel free to fork this repository, submit a PR, or open an issue if you find a bug or have a feature request.
git clone https://github.com/mikinovation/denux.git
cd denux
cargo runThis project is licensed under the MIT License. See the LICENSE file for details.
If you like deNux, give it a ⭐ on GitHub and help spread the word!