appdirsjs
JSON →A lightweight zero-dependency JavaScript library (v1.2.7) for resolving OS-standard application directories for cache, config, and data files. Works on Linux (XDG), macOS (Apple conventions), and Windows (FOLDERID). Ships TypeScript types and supports legacy fallback via `legacyPath`. Unlike similar Python-inspired libraries, it is minimal, synchronous, and specifically designed for cross-platform Node.js apps. Released under MIT license with no notable release cadence (last stable version).
Resources
packageappdirsjs ↗