depfixer
v1.1.9
Published
CLI tool for analyzing and fixing JavaScript/TypeScript dependency conflicts
Maintainers
Readme
DepFixer CLI
Analyze and fix JavaScript/TypeScript dependency conflicts in your projects.
Installation
npm install -g depfixer
# or use directly with npx
npx depfixerQuick Start
# Free audit - see issues and health score
npx depfixer analyze
# Full analysis with fix recommendations (requires login)
npx depfixer analyze --full
# Migration analysis to target framework version
npx depfixer analyze --migrate 19Commands
analyze
Analyze your project's package.json for dependency conflicts.
npx depfixer analyze [options]Options:
--full- Full analysis with specific version recommendations (requires auth, 1 credit)--migrate <version>- Migration analysis to target Angular/React version (requires auth, 1 credit)--json- Output results as JSON--ci- CI mode - exit code 1 if critical issues found--path <dir>- Path to project directory (default: current directory)
Examples:
npx depfixer analyze # Free audit
npx depfixer analyze --full # Full analysis
npx depfixer analyze --migrate 19 # Migrate to v19
npx depfixer analyze --path ./my-app # Analyze specific directory
npx depfixer analyze --json --ci # CI pipeline usagefix
Apply fixes from a previous --full or --migrate analysis.
npx depfixer fix [options]Options:
--path <dir>- Path to project directory (default: current directory)
Creates a package.json.fixed file with recommended versions.
login
Authenticate with your DepFixer account using device code flow.
npx depfixer loginlogout
Sign out and clear stored credentials.
npx depfixer logoutgraph
Open dependency graph visualization in your browser.
npx depfixer graph [options]Options:
--path <dir>- Path to project directory
Pricing
| Command | Cost |
|---------|------|
| analyze (audit mode) | FREE |
| analyze --full | 1 credit |
| analyze --migrate | 1 credit |
| fix | FREE (uses cached analysis) |
Supported Frameworks
- Angular (9-19)
- React (16-19)
- Vue.js
- Next.js
- NestJS
What It Detects
- Peer dependency conflicts
- Version mismatches between related packages
- Deprecated packages
- Breaking changes
- TypeScript version compatibility
- Framework-specific version alignment issues
Requirements
- Node.js >= 18.0.0
Links
License
MIT
