support auto detect version of npm
Merge pull request #8 from shootaroo/auto-npm-feature

support auto detect version of npm