JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 27
  • Score
    100M100P100Q54153F
  • License MIT

CLI tool for analyzing and fixing JavaScript/TypeScript dependency conflicts

Package Exports

  • depfixer
  • depfixer/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (depfixer) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

DepFixer CLI

Analyze and fix JavaScript/TypeScript dependency conflicts in your projects.

Installation

npm install -g depfixer
# or use directly with npx
npx depfixer

Quick 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 19

Commands

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 usage

fix

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 login

logout

Sign out and clear stored credentials.

npx depfixer logout

graph

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

License

MIT