Skip to content

Get all dependencies for an npm package

License

Notifications You must be signed in to change notification settings

eloisetaylor5693/get-npm-dependancies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Get NPM Dependencies

When you search https://www.npmjs.com/ for a package, it just gives the main dependancies, not the dependencies of the dependencies. This is what I aim to do here.

Developed using node v14 and npm v6.14. Tested on Firefox, and Brave browsers.

How to run

  1. npm install
  2. npm run serve
  3. Load this page in a browser: ~\src\ui\index.html

Acknowledgements

The actual CSS and HTML structure to get the tree view was copied from https://codepen.io/bisserof/pen/fdtBm and adapted to my use-case