{"library":"cache-path","type":"library","category":null,"description":"A drop-in alternative to find-cache-dir that returns a cache directory path in any environment, even outside a module/package folder. Version 4.0.11, maintained in a monorepo with TypeScript types included. Key differentiators: (1) never fails when not inside a module/package, (2) customizable priority order for cache path discovery, (3) async API available. Supports both ESM and CommonJS, with normalized name generation for scoped packages.","language":"javascript","status":"active","version":"4.0.11","tags":["javascript","cache","caching","dir","directory","find","async","sync","folder","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install cache-path","imports":["import { getCachePath } from 'cache-path'","import { normalizeName } from 'cache-path'","import { getCachePathAsync } from 'cache-path'"]},{"cmd":"yarn add cache-path","imports":[]},{"cmd":"pnpm add cache-path","imports":[]}],"homepage":"https://github.com/bluelovers/ws-yarn-workspaces/tree/master/packages/cache-path#readme","github":"https://github.com/bluelovers/ws-yarn-workspaces","docs":null,"changelog":null,"pypi":null,"npm":"cache-path","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}