depx-0.2.0 is not a library.
depx
Understand what's in your node_modules.
A fast, intelligent dependency analyzer for JavaScript/TypeScript projects. Built in Rust for performance.
Why depx?
Your node_modules has hundreds of packages. Do you know:
- Which ones are actually imported in your code?
- Why
is-oddis even installed? - If that vulnerability alert affects code you actually use?
Existing tools (npm ls, npm audit, depcheck) give fragmented information without real context. depx connects the dots.
Installation
Commands
depx analyze - Find unused dependencies
)
)
Smart detection separates truly unused packages from dev/build tools that aren't meant to be imported (@types/*, typescript, eslint, vitest, etc).
depx why <package> - Explain why a package is installed
Shows the full dependency chain from your package.json to any transitive dependency.
depx audit - Check for real vulnerabilities
Unlike npm audit, depx queries the OSV database with your exact installed versions, eliminating false positives from old CVEs that don't affect you.
depx deprecated - Find deprecated packages
Features
- Fast - Written in Rust, parses JS/TS with oxc
- Smart - Distinguishes real unused deps from expected dev tools
- Accurate - Version-aware vulnerability scanning (no false positives)
- Complete - Handles ES modules, CommonJS, dynamic imports, re-exports
Supported lockfiles
-
package-lock.json(npm) -
pnpm-lock.yaml(coming soon) -
yarn.lock(coming soon)
License
MIT