node-modules-cleanup

1.0.45 • Public • Published

🗑️ node-modules-cleanup

npm version codecov

A simple CLI to bulk remove node_modules folders and free up some of that precious disk space.

CLI_V6

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

/node-modules-cleanup/

    Package Sidebar

    Install

    npm i node-modules-cleanup

    Weekly Downloads

    3

    Version

    1.0.45

    License

    MIT

    Unpacked Size

    267 kB

    Total Files

    31

    Last publish

    Collaborators

    • sebastianekstrom