Implemented a plugin for getting npm package info.
Some tests for the npm plugin.