An extension for displaying dependencies of projects on GitHub
An extension for displaying dependencies for different package managers on GitHub
Clicking the extension icon opens a popup where you can provide an API key from libraries.io that you can get from here. This API key allows the extension to make bulk requests instead of single ones which improves the experience greatly. Encountering projects with too many dependencies now works correctly. It is a little unpleasant, but getting an API key is worth it.
Why build this? We already have npmhub?
npmhub is great, but why should npm have all the fun? I wanted to see if I could implement something similar while making it easy to add support for other package managers. Also, to make it more fun, I decided to accomplish this without any fancy libraries (jQuery) or apis (fetch). So, packagehub should have support for most browsers in use today.
To add support for a new package manager
Thanks to Libraries.io for providing an excellent api with returns just the right amount of data to make this extension useful without being wasteful.
MIT © Ezinwa Okpoechi