https://github.com/vacekj/uklid
Interactive CLI to nuke node_modules from your system.
https://github.com/vacekj/uklid
crate node-modules nodejs rust rust-lang
Last synced: about 1 year ago
JSON representation
Interactive CLI to nuke node_modules from your system.
- Host: GitHub
- URL: https://github.com/vacekj/uklid
- Owner: vacekj
- Created: 2022-04-13T16:07:12.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-07T11:22:06.000Z (about 4 years ago)
- Last Synced: 2025-04-29T10:50:19.058Z (about 1 year ago)
- Topics: crate, node-modules, nodejs, rust, rust-lang
- Language: Rust
- Homepage:
- Size: 62.5 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Uklid 🧹



[](https://codecov.io/gh/vacekj/uklid)
Uklid (pronounced `[uːklɪt]`, "cleanup" in Czech) is an interactive CLI `node_modules` cleaner written in Rust.
It looks for top-level node_modules in your computer, shows you their size and allows you to delete them conveniently.
## Installation
```bash
cargo install uklid
```
## Usage
```bash
uklid 0.2.0
Atris
Interactively delete node_modules.
Run without options for interactive mode
USAGE:
uklid [OPTIONS]
OPTIONS:
-d, --dry Don't delete anything, only print found directories
-h, --help Print help information
-p, --path Path to start recursive search for node_modules from
-V, --version Print version information
```
## Features
- recursively search your home directory for `node_modules`
- limit search to a specific directory
- show sizes and last modified time
- multi-select what you want to delete
- show total storage freed up
- non-interactive mode (`uklid --help`)
- high test coverage for both interactive and non-interactive mode
## Roadmap to 1.0
- Stop recursive search upon hitting top-level node_modules
- Currently we search all subdirectories, which is inefficient
- this will most likely require switching out WalkDir for our own implementation
- multi-threaded searching and cleaning