Skip to content

cache npmjs package lookups in a local file#43

Open
adhintz wants to merge 1 commit intovisma-prodsec:mainfrom
adhintz:npmjs-cache
Open

cache npmjs package lookups in a local file#43
adhintz wants to merge 1 commit intovisma-prodsec:mainfrom
adhintz:npmjs-cache

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