List globally installed package for NPM
I found myself in a situation where I needed to list all of the global npm packages I had installed on a (windows) server. The command, it turned out, was quite simple:
npm ls --global
npm ls
itself will list the packages installed locally which can be helpful unto itself.
Then, slightly related is that I needed to remove a select global package which is easy enough.
npm uninstall --global package-name