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

Feature request: show the number of dependencies #720

Open
JosephusPaye opened this issue Apr 3, 2021 · 1 comment
Open

Feature request: show the number of dependencies #720

JosephusPaye opened this issue Apr 3, 2021 · 1 comment
Labels

Comments

@JosephusPaye
Copy link

JosephusPaye commented Apr 3, 2021

Thanks for this, it's a great tool that I use frequently.

When comparing two packages, I find that the first thing I want to know after the publish and install sizes is the number of (direct) dependencies. For this I've had to use the npm website together with Package Phobia. It would be nice to have the number of dependencies displayed in Package Phobia.

It could look something like the following:

Screen shot of Package Phobia showing the package ava with number of dependencies

The bars for versions could also show the number of dependencies on hover, in addition to what they currently show.

@styfle styfle added the enhancement New feature or request label Apr 4, 2021
@styfle
Copy link
Owner

styfle commented Apr 4, 2021

Good idea! Indeed, the reason for linking Package Phobia to npm is for those additional details.

In #124 we added the file count. So we could also add the dependency count on hover.

I kinda want to avoid too many numbers on the main page here because it can become noisy.

@styfle styfle added feature and removed enhancement New feature or request labels Apr 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants