New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

developer-cleaner

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

developer-cleaner

A tool to clean up old node_modules directories and free up disk space

latest
Source
npmnpm
Version
1.3.0
Version published
Maintainers
1
Created
Source

Developer Cleaner

A tool to clean up old node_modules directories and free up disk space.

Description

Developer Cleaner is a small command-line tool that helps you identify and remove old node_modules directories to free up disk space. It allows filtering by modification year, helping you keep only recent projects and remove those you no longer use.

Features

  • Search for node_modules directories in any location
  • Filter by year (2023 and earlier, 2022 and earlier, etc.)
  • Display size of each found directory
  • Interactive interface to select which directories to remove
  • Safety confirmation before deleting any files

Installation

Local Installation

git clone https://github.com/tonderflash/developer-cleaner.git
cd developer-cleaner
npm install
npm link

Global Installation (to share with friends)

You can install this tool globally via npm:

npm install -g developer-cleaner

Usage

Once installed, you can run:

developer-cleaner

Follow the interactive prompts to:

  • Select the base directory to search (defaults to ~/Developer)
  • Choose which years of node_modules to clean
  • Review the list of found directories
  • Confirm deletion

Precautions

  • IMPORTANT! This tool deletes directories. Make sure to review the list before confirming.
  • Deleted directories do not go to the trash, they are removed directly.
  • We recommend making a backup before using this tool for the first time.

Contributing

If you want to improve this tool, contributions are welcome!

Language Support

  • Readme en Español

License

MIT

Keywords

node

FAQs

Package last updated on 05 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts