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!
Top comments (0)