https://github.com/CVarisco/delete-react-zombies
CLI to search and delete unimported 🧟components in your react ⚛️ files
https://github.com/CVarisco/delete-react-zombies
cli cli-app nodejs react react-component react-components reactjs
Last synced: 20 days ago
JSON representation
CLI to search and delete unimported 🧟components in your react ⚛️ files
- Host: GitHub
- URL: https://github.com/CVarisco/delete-react-zombies
- Owner: CVarisco
- Created: 2018-02-20T08:26:01.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T17:48:12.000Z (over 3 years ago)
- Last Synced: 2025-09-26T19:59:47.179Z (9 months ago)
- Topics: cli, cli-app, nodejs, react, react-component, react-components, reactjs
- Language: JavaScript
- Homepage:
- Size: 6.08 MB
- Stars: 70
- Watchers: 2
- Forks: 6
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-github-projects - delete-react-zombies - CLI to search and delete unimported 🧟components in your react ⚛️ files ⭐69 `JavaScript` (📦 Legacy & Inactive Projects)
README
[](https://badge.fury.io/js/delete-react-zombies)
[](https://www.npmjs.com/package/delete-react-zombies)
**CLI to search and delete unimported 🧟 components in your react files**
## Install
```sh
$ npm install delete-react-zombies
```
## Usage
```sh
$ delete-react-zombies
```
**Options**:
- `--path` define the path where search zombies (default=process.cwd)
- `--verbose` show in the console the file content to be deleted
- `--force` don't ask confirm before delete files.
## How it works
The package create a list of components in your application.
Based on that, the library search in your files content the keyword `import ${componentName}`, where the `componentName` variable is the name of the component that is exported.
## Contributing
Check the [issue list](https://github.com/CVarisco/delete-react-zombies/issues) to contribute on some activities or to advice new features!
The library is open to everybody, contribute improve your skills.
`delete-react-zombies` is maintained under [the Semantic Versioning guidelines](http://semver.org/).
Use `npm run build:ts` while coding.
## License
MIT © [Christian Varisco](https://github.com/CVarisco)