Crates.io | npkl |
lib.rs | npkl |
version | 1.0.3 |
source | src |
created_at | 2022-12-02 17:24:16.292164 |
updated_at | 2024-08-14 09:28:47.472059 |
description | Like npkill, but written in Rust. |
homepage | |
repository | https://github.com/valsaven/npkl |
max_upload_size | |
id | 728513 |
size | 30,543 |
A handy tool to identify and remove node_modules directories. Written in Rust for blazing fast performance.
This utility recursively searches for node_modules directories from the point it's launched, presents a menu to review, select, and delete the ones you don't need to free up space.
To build it from source you need Rust 1.73 or later, preferably via rustup.
rustup update
cargo install npkl
Clone this repo and then:
cargo build --release
# Optionally, you can compress the executable file (Windows example, reduces the file size from ~338KB to ~123KB):
upx --best --lzma target/release/npkl
This project is licensed under the MIT License - see the LICENSE file for details.