How to uninstall global npm package

In this post, we show you how to uninstall a global npm package.

To do this, we simply run the following command:

npm uninstall -g <package-name>

For example:

npm uninstall -g jshint