findead

:mag: Dead react components finder

Github stars Tracking Chart

:mag: findead

Dead react components finder

NPM Version
NPM Downloads
Tests

:dart: Motivation: Dead Components

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

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
npm i -g findead
  • Yarn
yarn add findead

:hammer: Usage

findead <folder_to_get_components>

Pass folder to get all of your components

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 components and search usages
findead ~/path/to/search

Raw result

  • Pass -r flag for raw output. Better for atribute output into a file.
findead -r ~/path/to/search

Multiple and specific folders

findead -m ~/path/to/search/{folder1,folder2,...,folderN}

Main metrics

Overview
Name With Ownernarcello/findead
Primary LanguageShell
Program languageShell (Language Count: 3)
Platform
License:MIT License
所有者活动
Created At2020-01-12 14:14:20
Pushed At2023-12-15 01:23:15
Last Commit At
Release Count17
Last Release Namev1.2.3 (Posted on 2023-12-14 22:20:06)
First Release Namev0.0.4 (Posted on )
用户参与
Stargazers Count75
Watchers Count1
Fork Count1
Commits Count182
Has Issues Enabled
Issues Count18
Issue Open Count3
Pull Requests Count46
Pull Requests Open Count12
Pull Requests Close Count9
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private