Reputation: 91
I just want to get a snapshot of what's installed locally in a project and what's installed globally:
npm whats-installed-locally
npm whats-installed-globally
npm whats-dependencies-between-local-global-repos
What's the proper command-line sequence?
Also, is there a way to determine which dependencies are being unhinged between the two repositories?
Upvotes: 0
Views: 767
Reputation: 27507
To list the local installed npm packages:
npm list
To list the globally installed npm packages:
npm list -g
Upvotes: 2