This content originally appeared on DEV Community and was authored by David Ansa
Have you ever struggled with peer dependency conflicts when installing packages?
You’re not alone. The problem is real β especially for package authors and mono-repo maintainers.
Introducing Enhanced Peer Deps (EPD)
Enhanced Peer Deps (EPD) is a lightweight CLI tool to install peer dependencies properly β and smartly.
It scans your package and installs missing peer dependencies using the correct semver, all without polluting your package.json
.
Features
Automatically install missing peer dependencies
Intelligent semver matching
No unwanted additions to your dependencies
Works with npm and Yarn
Why EPD Exists
The Node.js ecosystem has evolved rapidly, but peer dependency management remains⦠frustrating. Most developers either manually resolve these issues or depend on external scripts.
EPD fixes that with one command:
npx enhanced-peer-deps
Usage
Install via npx:
npx enhanced-peer-deps
That’s it β your peer deps will be installed based on what your packages actually need.
Roadmap
Multi-package repo support
Optional auto-install to devDependencies
Community plugin ecosystem (planned)
Help Us Grow
If this sounds useful, give the repo a here.
Contributions welcome!
Links
This content originally appeared on DEV Community and was authored by David Ansa