node-modules-cleanup
v1.0.45
Published
Find and delete all node_module folders
Downloads
67
Readme
🗑️ node-modules-cleanup
A simple CLI to bulk remove node_modules
folders and free up some of that precious disk space.
Usage
npx node-modules-cleanup@latest <path>
Examples
# Find all node_modules in the current directory
npx node-modules-cleanup@latest ./
# Find all node_modules in a specific directory
npx node-modules-cleanup@latest ~/Desktop/projects
Development
Install Bun
This project is built with Bun, to install it run the following command:
curl -fsSL https://bun.sh/install | bash
Install dependencies
To install the dependencies, run the following command:
$ bun install
After that you can use these commands:
$ bun run dev # For local development
$ bun run test:js # Runs the test suite
$ bun run test:unused-code # Runs the test suite
$ bun run lint # Run ESLint
$ bun run type-check # Runs the TypeScript checks
$ bun run build # Builds the package