AI-powered dependency analyzer – unused, missing, outdated + witty AI feedback.
Run directly in your project directory:
npx npm-regretOptionally enable AI feedback (Groq):
export GROQ_API_KEY=your_key_here
npx npm-regret- Finds unused dependencies by scanning imports/require/dynamic imports
- Flags missing dependencies used in code but not installed
- Lists outdated dependencies via
npm outdated --json - Sends a summary to Groq LLM for concise, witty guidance
- This is a static scan; false positives can happen (e.g., runtime
requirepaths, plugin resolvers). - Node core modules like
fs/pathmay appear as missing in certain edge cases when scanning this repo; ignore core modules in your interpretation.
- GitHub Actions run tests on pushes and PRs to
main. - GitHub Pages deploys the static site in
website/.
npm i
npm test
npm start- Anurag Ojha: @ojhaverse
See CONTRIBUTING.md.
MIT – see LICENSE.
