Adds additional exception treatment when looking for checksums, and includes a search by checksum in the package's packjson, contributed by @philippsimon
Finally, substitutes the implementation of findCache to npmconf, and allows the usage of the env variable NPM_CACHE_DIR to point to a npm cache.
This PR does three things:
findCache
to npmconf, and allows the usage of the env variableNPM_CACHE_DIR
to point to a npm cache.