Add support for npm 2

Support all npm versions higher than 0.x