Findead
:mag: Dead react components finder
Many times in large or even small projects, we forgot some components in code that we'll never use and we never take time to search one by one and remove. The project is written primarily in Shell, distributed under the MIT License license, first published in 2020. Key topics include: components, dead, finder, hacktoberfest, react.
:mag: findead
Dead react components finder
:rocket: Dead Components is the Motivation
Many times in large or even small projects, we forgot some components in code that we'll never use and we never take time to search one by one and remove.
:camera: Demonstration

When findead finish, you'll can see:
- Components name
- Path of each one component
- Size of each one file
- How many dead components
- How many browsed files
- How much time spent to execution
:computer: Tech
Just bash :)
:inbox_tray: Install
- Npm
shnpm i -g findead
- Yarn
shyarn add findead
:hammer: Usage
bashfindead <folder_to_get_components>
Pass folder to get all of your components in js, jsx, ts and tsx files.
obs: By default, all node_modules folder is ignored.
:zap: Examples
Just one argument
- If you pass just one argument, it will be used for
get componentsandsearch usages
bashfindead ~/path/to/search
Raw result
- Pass
-rflag for raw output. Better for atribute output into a file.
bashfindead -r ~/path/to/search
Multiple and specific folders
bashfindead -m ~/path/to/search/{folder1,folder2,...,folderN}
Contributors
Showing top 2 contributors by commit count.
