app-cache-dir
JSON →app-cache-dir v0.4.0 resolves an application name to the standard cache directory path based on OS conventions: XDG_CACHE_HOME on POSIX, LOCALAPPDATA on Windows. Provides cross-platform cache paths (~/.cache/<app> on macOS/Linux, %LOCALAPPDATA%\<app>\cache on Windows). Includes .posix() and .win32() methods to force a specific platform layout. Falls back to os.tmpdir()/<app>/cache when environment variables are missing. Lightweight, no external dependencies, synchronous API. Last updated 2018, in maintenance mode.
Traffic · last 30 days ↑150% vs prev 7d
total hits 14
actors 4 distinct systems
last hit 12d ago AhrefsBot
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇮🇹 Italy · PH
Resources
packageapp-cache-dir ↗