Get the info of a npm package