Better way to get the NPM version