Open ryscheng opened 1 year ago
Might be nice to write this as a utility function + a database migration so that we can get the npm packages into the data files.
@ryscheng does this have an owner?
I just realized this should be possible with the deps.dev/ecosyste.ms data. They already do the parsing of the package definitions. We just need to do a query to do the reverse lookup from repo URL to package(s) of any package manager.
Possible solution:
What do we do if the package manifest does not have a github repo? As a first best-effort attempt, possibly just ignore it for now. Comment if you have other ideas!