findead

:mag: Dead react components finder

Github星跟蹤圖

: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}

主要指標

概覽
名稱與所有者narcello/findead
主編程語言Shell
編程語言Shell (語言數: 3)
平台
許可證MIT License
所有者活动
創建於2020-01-12 14:14:20
推送於2023-12-15 01:23:15
最后一次提交
發布數17
最新版本名稱v1.2.3 (發布於 2023-12-14 22:20:06)
第一版名稱v0.0.4 (發布於 )
用户参与
星數75
關注者數1
派生數1
提交數182
已啟用問題?
問題數18
打開的問題數3
拉請求數46
打開的拉請求數12
關閉的拉請求數9
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?