¿How to check what NPM packages are globally installed?

In recent years (4 years), i had been learning about web developing technologies that i never thought to use, now days, I’m installing package managers, task runners, web mvc frameworks, etc, but specially, Nodejs packages, so, what packages has been installed globally?, well, i found the right answer, open your terminal and use:

npm list -g --depth=0

it list the NPM packages globally installed.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store