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?
已存档?
是复刻?
已锁定?
是镜像?
是私有?