/clean-deps

Clean :shower: all node dependencies i.e. node_modules

Primary LanguageJavaScript

clean-deps

Clean 🚿 all node dependencies i.e. node_modules

  • 🎎 Works fantastically with mono-repos
  • ↩️ can be hooked with CLI
  • 📦 use as a module to get all node_modules dirs

Install

CLI

npm i clean-deps -g

or

Module

npm i clean-deps

Usage

CLI

Add as an npm-script

{
  "clean-deps": "clean-deps"
}

Modules

const findDirs = require("clean-deps");

const results = findDirs();