Quickstart
Prerequisites
- Node.js 18 or higher
- A JavaScript/TypeScript project with a
package.json
Installation
Option 1: Use npx (no install)
Option 2: Install globally
Step 1: Run DepFixer
Open your terminal in your project directory and rundepfixer (or npx depfixer).
Step 2: Review the Analysis
DepFixer will display the ASCII logo and scan your dependencies:Step 3: Review Issues
For smaller issue counts, you’ll see a severity breakdown:Step 4: Unlock Solutions
If issues are found, you’ll see a cost box:Enter to proceed.
Step 5: Authenticate
First-time users will see the device code flow:Step 6: Apply Fixes
Once authenticated with sufficient credits, you’ll see the full solution:Enter to apply.
Step 7: Done!
npm install to install the updated dependencies.
Other Ways to Use DepFixer
GitHub Action
Automatically check dependencies on every pull request:.github/workflows/depfixer.yml