[npm website] Display the total amount of dependencies (recursively) instead of just the first level


(Olen Andoni) #1

When I go to a npm package page, it shows (in the tabs at the top) the dependencies and the dependents.
I think it would be better to display the real amount of dependencies - recursive - when we install the package. The number would be higher and it would force the maintainers to watch this more carefully as the installers would be more reluctant to install high level of dependencies packages.

Nonetheless, it would reflect the reality since the sub-dependencies ARE installed - maybe we can display both numbers too.