{"library":"npm-cache-path","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"2.0.0","tags":["javascript","npm","cache","path","directory","folder","resolve","promise","async"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install npm-cache-path","imports":["import npmCachePath from 'npm-cache-path'","const npmCachePath = require('npm-cache-path')","const npmCachePath = () => import('npm-cache-path').then(m => m.default)"]},{"cmd":"yarn add npm-cache-path","imports":[]},{"cmd":"pnpm add npm-cache-path","imports":[]}],"homepage":"https://github.com/shinnn/npm-cache-path#readme","github":"https://github.com/shinnn/npm-cache-path","docs":null,"changelog":null,"pypi":null,"npm":"npm-cache-path","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}