20 releases (12 stable)

1.1.10 Oct 26, 2023
1.1.8 Sep 12, 2023
1.1.7 Jul 27, 2023
1.1.1 Mar 29, 2023
0.6.0 Mar 19, 2023

#521 in Command line utilities

Download history 2/week @ 2024-02-16 4/week @ 2024-02-23 212/week @ 2024-03-01 28/week @ 2024-03-08

240 downloads per month

MIT/Apache

24KB
500 lines

ripnode

Simple tool for deleting node_modules and other folders

Inspired by npkill

Continuous integration

Installation

Cargo

cargo install ripnode

Usage

By default, it will run in interactive mode, showing a TUI with the folders to delete.

Directory to delete defaults to node_modules, but can be changed with the -n or --name option. Directory search starts from the current directory.

ripnode [OPTIONS]

Options

  -d, --dry-run          See what would be deleted without actually deleting anything
  -n, --name <NAME>      The name of the folder to delete [default: node_modules]
      --non-interactive  Run as CLI, without TUI
  -v, --verbose...       More output per occurrence
  -q, --quiet...         Less output per occurrence
  -h, --help             Print help
  -V, --version          Print version

Controls

Interactive mode

Key Action
j, s, Move down
k, w, Move up
space, enter Delete
q, esc Quit

Purpose

This is a learning exercise for me to learn Rust and keeping up with its ecosystem.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~9–17MB
~199K SLoC