1.0.1 • Published 6 months ago
next-unused-components v1.0.1
analyze-components
A tool to analyze unused React and Next.js components in your project.
Installation
npm install -g next-unused-components
or
npx next-unused-components
API
You can also use this programmatically:
import { analyzeComponents } from "analyze-components";
analyzeComponents({
debug: true,
basePath: "./src",
});