Easily access a node_modules docs and repo from the command line

Did you know that you can easily access a node_module’s npm docs and github repo straight from the command line?
Well with using some of the lesser known npm commands, you can.

Obviously there is only one prerequisite here:
You will need to have Node.JS installed.

Want to access a node_modules docs on npm ?

$ npm docs serve

Want to acces the node_module’s github repo ?

$ npm repo superagent