Parses an npm package for its key API information