Skip to content

Browser extension that counts the total number of nested dependencies for a package on npm

License

Notifications You must be signed in to change notification settings

crebier-corentin/npm-nested-dep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NPM nested dependencies count

standard dependencies, 9 direct dependencies, 208 nested dependencies
express dependencies, 30 direct dependencies, 51 nested dependencies
webpack dependencies, 23 direct dependencies, 339 nested dependencies
A simple browser extension that shows you the total count of nested dependencies for an npm package.

Why?

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

Firefox installation

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.

Chrome Installation

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

About

Browser extension that counts the total number of nested dependencies for a package on npm

Resources

License

Stars

Watchers

Forks

Packages

No packages published