npm-cache-path
JSON →Resolves the npm cache folder path asynchronously, first checking the npm_config_cache environment variable, then falling back to running `npm config get cache`. Version 2.0.0 returns a Promise. Minimal dependencies: requires Node.js 8 or later. Less opinionated than alternatives that only check environment variables or config files independently.
Resources
packagenpm-cache-path ↗