Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 495 Bytes

README.md

File metadata and controls

12 lines (11 loc) · 495 Bytes

peer-dependency-cleaner

Simple command line tool to clean up the mess that npm link and peerDependencies creates (npm/npm#5080). Takes the name of a module as an argument, and will then walk down your node_modules tree and delete any instances of that module except the top one. Think of it as a very violent and despotic dedupe.

Installation

npm install -g peer-dependency-cleaner

Usage

cleanpeerdeps my-module