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.
When findead finish, you'll can see:
Just bash :)
npm i -g findead
yarn add findead
findead <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._
get components
and search usages
findead ~/path/to/search
-r
flag for raw output. Better for atribute output into a file.
findead -r ~/path/to/search
findead -m ~/path/to/search/{folder1,folder2,...,folderN}