New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

findead

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

findead

Dead react components finder

latest
Source
npmnpm
Version
1.2.3
Version published
Maintainers
1
Created
Source

:mag: findead

Dead react components finder

NPM Version NPM Downloads Run Tests

: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

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

Keywords

dead

FAQs

Package last updated on 15 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts