A simple browser extension that shows you the total count of nested dependencies for an npm package.
Most people will agree that the JS ecosystem is bloated, packages that depend on packages that depend on packages that depend on packages that...
It's a never ending list of folder and files.
NPM's current layout only displays the direct dependencies, it can create "tip of the iceberg" scenenarios where a package that has only 2 direct dependencies can have hundred nested ones.
Before installing a package consider this : is it worth it? Are you willing to pay for the overhead? Hopefully this extension will make developers more cautious of packages and consider not using them in some situations
You can find the addon here : https://addons.mozilla.org/en-US/firefox/addon/npm-nested-dependencies-count/
You can also install it manually :
- Download one of the releases
- Go to
about:addons
- Click on the settings gear
- Click "Install from file" and select the release download previously.
You can find this extension on the chrome web store https://chrome.google.com/webstore/detail/npm-nested-dependencies-c/mkjkmlmljfcibjmjdbdoiahgpofhfojn
You can also install it manually (not recommanded) :
- Download a releases and extract it somewhere
- Go to
chrome://extensions/
- Enable developer mode
- Click on "Load unpacked extension" and select the previously extracted folder