Skip to content

A CLI that detects your oudated , unused and missing dependencies in your project

License

intojhanurag/npm-regret

Repository files navigation

npm-regret

AI-powered dependency analyzer – unused, missing, outdated + witty AI feedback.

npm_regret banner

Install / Run

Run directly in your project directory:

npx npm-regret

Optionally enable AI feedback (Groq):

export GROQ_API_KEY=your_key_here
npx npm-regret

What it does

  • 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

Notes / Caveats

  • This is a static scan; false positives can happen (e.g., runtime require paths, plugin resolvers).
  • Node core modules like fs/path may appear as missing in certain edge cases when scanning this repo; ignore core modules in your interpretation.

CI

  • GitHub Actions run tests on pushes and PRs to main.
  • GitHub Pages deploys the static site in website/.

Development

npm i
npm test
npm start

Maintainers

Contributing

See CONTRIBUTING.md.

License

MIT – see LICENSE.

About

A CLI that detects your oudated , unused and missing dependencies in your project

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published