How To See Available Node.js Global Package Using NPM

Some of you might be very disturbed by a question of how to know Node.js packages which globally installed in your Ubuntu 14.04 LTS. Such a terrible nightmare. But, the nightmare should be vanished using this simple one liner:

$ npm ls -g --depth=0

That line would be similar to:

$ ls /usr/lib/node_modules