Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cache npmjs package lookups in a local file #43

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

adhintz
Copy link

@adhintz adhintz commented Feb 16, 2023

I'm scanning a large number of repositories that have npmjs package files. By caching the available packages, it runs substantially faster, avoids npmjs rate-limiting, and reduces load on their service.

Please let me know if you'd prefer anything changed in the PR. I'm inexperienced with golang.

If this general approach looks good to you, I'd be happy to expand it to the other package systems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant