Depcheck
JSON →Depcheck is a widely used command-line interface (CLI) tool and programmatic library for analyzing Node.js project dependencies. Its primary function is to identify unused dependencies, detect missing dependencies required by the codebase, and provide insights into how declared dependencies are actually utilized. The current stable version is 1.4.7. While not adhering to a strict release schedule, the project is actively maintained, with multiple patch releases in 2023 and 2021, and significant updates including a breaking change in 2020 (v1.3.x). A key differentiator for Depcheck is its extensive syntax support, covering not only standard JavaScript (ES5-ES7) and React JSX but also CoffeeScript, TypeScript, SASS/SCSS, and Vue.js. Furthermore, it includes 'special' components designed to recognize dependencies used within various configuration files for tools like Babel, ESLint, Webpack, Jest, and Serverless, moving beyond basic `import` or `require` statements. This comprehensive analysis helps developers maintain leaner, more efficient codebases by facilitating the removal of unnecessary packages, which can improve performance and reduce bundle sizes.
Traffic · last 30 days ↑200% vs prev 7d
top countries 🇨🇦 Canada · 🇺🇸 United States · 🇸🇬 Singapore · 🇫🇷 France · BD