
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Comprehensive CLI tool for dependency management - unified 'depmender fix' command handles all operations: scan, fix, install-missing, remove-unused, update-deps, dedupe, sync, resolve, and more. Supports npm, yarn, pnpm with security audits and real-time
A comprehensive CLI tool that scans JavaScript/TypeScript projects for dependency issues and fixes them automatically. Features advanced diagnostics, unused dependency cleanup, real-time monitoring, and intelligent configuration management.
DepMender helps you maintain healthy dependencies with 5 simple commands:
Unlike other tools that require multiple commands for different operations, DepMender provides ONE command to handle everything:
depmender fix --yes
This single command replaces all of these standalone operations:
install-missing - Install missing dependenciesremove-unused - Remove unused dependenciesdependency-sync - Sync dependenciesversion-fix / fix-versions - Fix version mismatchesupdate-deps - Update outdated packagescleanup - Clean up broken installationsdedupe - Deduplicate dependenciessort - Sort dependenciesvalidate - Validate integritydeep-scan - Deep scan for issuesrepair - Repair broken packagesauto-fix - Auto-fix all issuesnormalize - Normalize structureoptimize - Optimize dependency treesync - Sync all filesresolve - Resolve conflictsnpm install -g depmender
# Initialize configuration (optional)
depmender init
# Check project dependencies and system health
depmender check
# Get detailed report
depmender report
# Fix ALL issues with one command
depmender fix --yes
# Upgrade all dependencies to latest versions
depmender upgrade --yes
depmender checkAnalyzes your project dependencies and system health (combines scan + doctor functionality).
depmender check # Check current directory
depmender check --path ./frontend # Check specific directory
depmender check --json # Get JSON output
depmender check --verbose # Show detailed information
What it checks:
depmender reportGenerates detailed health report with issue breakdown.
depmender report # Generate detailed report
depmender report --json # Export as JSON
depmender report --verbose # Include extra details
depmender fixUnified command that automatically fixes all dependency issues with backup creation.
This single command handles all fix operations:
depmender fix # Interactive fix with prompts
depmender fix --yes # Auto-fix without confirmation
depmender fix --path ./backend # Fix specific project
depmender upgradeUpgrade all dependencies to their latest versions.
depmender upgrade # Interactive upgrade with prompts
depmender upgrade --yes # Auto-upgrade without confirmation
depmender upgrade --path ./api # Upgrade specific project
Features:
depmender initInitialize depmender configuration file.
depmender init # Create sample config file
depmender init --force # Overwrite existing config
Creates: depmender-files/depmender.config.js with customizable options:
Note: The configuration file is created in a depmender-files folder in your project root. You may want to add this folder to your .gitignore if you don't want to commit the configuration.
depmender helpShows help information for commands.
depmender help # General help
depmender help check # Help for specific command
depmender examplesShows usage examples and workflows.
depmender examples # Show usage examples
depmender troubleshootingShows troubleshooting guide for common issues.
depmender troubleshooting # Show troubleshooting guide
Create a depmender.config.js file to customize behavior:
module.exports = {
// Scanning rules
rules: {
maxOutdatedDays: 90, // Allow packages older than 90 days
allowedVulnerabilities: ['low'], // Ignore low severity vulnerabilities
excludePackages: [ // Skip these packages
'@types/*',
'eslint-*'
],
includeDev: true // Include devDependencies in scan
},
// Auto-fix settings
autoFix: {
enabled: false, // Enable automatic fixes
confirmBeforeFix: true, // Ask for confirmation
backupBeforeFix: true, // Create backup before fixing
maxRiskLevel: 'medium' // Only auto-fix low/medium risk
},
// Output customization
output: {
format: 'detailed', // 'minimal', 'detailed', 'json'
showSuccessMessages: true, // Show success messages
colors: true // Enable colored output
}
};
All commands support these global options:
-p, --path <path> - Project path to analyze (default: current directory)--json - Output results in JSON format--verbose - Enable verbose output with additional details--quiet - Suppress all logs except errors# Quick health check
depmender check
# Detailed analysis before deployment
depmender report --verbose
# Fix issues automatically
depmender fix --yes
# Upgrade to latest versions
depmender upgrade --yes
# Generate JSON report for CI
depmender check --json > dependency-report.json
# Fail build on critical issues
depmender check --json | jq '.healthScore < 50' && exit 1
# Auto-fix in CI (with caution)
depmender fix --yes && npm test
# System health check
depmender check
# Upgrade all dependencies
depmender upgrade --yes
# Verify everything works
npm test
depmender fix) replaces 15+ standalone operationsMIT
We welcome contributions! Here's how you can help:
Made with ❤️ for the JavaScript/TypeScript community
FAQs
Comprehensive CLI tool for dependency management - unified 'depmender fix' command handles all operations: scan, fix, install-missing, remove-unused, update-deps, dedupe, sync, resolve, and more. Supports npm, yarn, pnpm with security audits and real-time
The npm package depmender receives a total of 5 weekly downloads. As such, depmender popularity was classified as not popular.
We found that depmender demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.