npm-regret
v0.1.6
Published
AI-powered dependency analyzer
Downloads
24
Maintainers
Readme
AI-powered dependency analyzer – unused, missing, outdated + witty AI feedback.

Install / Run
Run directly in your project directory:
npx npm-regretOptionally enable AI feedback (Groq):
export GROQ_API_KEY=your_key_here
npx npm-regretWhat 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
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.
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 startMaintainers
- Anurag Ojha: @ojhaverse
Contributing
See CONTRIBUTING.md.
License
MIT – see LICENSE.
