dup-checker
v1.0.4
Published
A simple Node.js library to find and fix duplicate variables and functions in JavaScript/TypeScript React components. Perfect for refactoring and cleaning up code!
Downloads
9
Readme
dup-checker
A simple Node.js library to find and fix duplicate variables and functions in JavaScript/TypeScript React components. Perfect for refactoring and cleaning up code!
Github Repository
https://github.com/susylPearl/dup-checker
Features
- Scans
.js,.ts,.jsx, and.tsxfiles for duplicate variables and functions. - Detects duplicates even in destructured variables from
useStateand other hooks. - Offers a command-line interface (CLI) for easy usage.
- Helps in refactoring and cleaning up your React codebase.
Installation
You can install dup-checker globally or as a dev dependency.
Install globally:
npm install -g dup-checker
