{"library":"env-paths","type":"library","category":null,"description":"Small library to retrieve OS-specific paths for storing data, config, cache, logs, and temp files. Version 4.0.0 requires Node >=20, ships TypeScript definitions, and is ESM-only. Correctly implements XDG Base Directory (Linux), macOS conventions, and Windows %APPDATA%/%LOCALAPPDATA%. Unlike ad-hoc path joining, env-paths avoids common portability mistakes. Published by Sindre Sorhus; stable API with infrequent updates.","language":"javascript","status":"active","version":"4.0.0","tags":["javascript","common","user","paths","env","environment","directory","dir","appdir","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install env-paths","imports":["import envPaths from 'env-paths'","import envPaths from 'env-paths'","import type { Paths } from 'env-paths'"]},{"cmd":"yarn add env-paths","imports":[]},{"cmd":"pnpm add env-paths","imports":[]}],"homepage":"https://github.com/sindresorhus/env-paths#readme","github":"https://github.com/sindresorhus/env-paths","docs":null,"changelog":null,"pypi":null,"npm":"env-paths","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}