file-check-used v1.4.18
A tool for detecting unused code in projects.
support
- Resource materials
- constant
- TS type declaration (support Automatically remove)
Remove unused assets and reduce the size of the project package. Millisecond-level speed, zero intrusion into the project, and a size of only 3KB.
Install
npm i -g file-check-used
Usage
Use the fcu
command in the project root directory after the global installation.
$ fcu
Cases
$ fcu
? Enter the file path to be checkedDefaults to current path (.)
? Enter the file path to be checkedDefaults to current path .
? Select the operation you want to check
β― constants
static file
? Select the operation you want to check constants
π Check: .js .jsx .ts .tsx
π Target: .js .jsx .ts .tsx
π Count: 15
π
Start
β
Done
================================
π src/components/layout/seoData.ts βοΈ seoData
π Unused constants: 1
π A total of 1 unused variables were found. Please confirm whether the listed variables are used.
β±οΈ : 299.249ms
License
MIT
21 days ago
2 months ago
3 months ago
3 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
5 months ago
5 months ago
5 months ago
5 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago