Fetch and display all npm packages used among all your GitHub projects. Login with your GitHub account, update your package list, and explore the lists of other registered users.
To create your list you must follow the following steps:
- Click on the Log in with GitHub button.
- Authorize the application to access your GitHub account. After authorizing for the first time, your profile will be created.
- Click on your username in the top right corner to open a dropdown menu.
- Click on Profile to go to your profile page.
- Click on the Update List button to fetch your packages.
How it works
The app interacts with the GitHub API and retrieves information about a user's repositories and their package dependencies. Currently limited to the 100 most recently updated repositories.
To retrieve and make a list of your packages, it is considered the following:
- The user's repositories, specifically the ones that the user owns, have public visibility and is not a fork.
- Fetch the
package.jsonfile for each repository. It looks for the file located in the repository's root directory.
- If the
package.jsonfile exists, the content is parsed to extract the
devDependenciesobjects and merge them into a single object.
- For each dependency found in the merged object, it counts and store the number of times it is used among all the user's repositories and the different versions found.
The source code for this project is available on GitHub. Feel free to contribute to the project by opening an issue or submitting a pull request.