❔ Getting cross-platform directories for storing data
Hey guys, I'm writing a CLI app with .NET 8 and I'm looking into storing config and caches on the filesystem.
I was wondering if there's some utility similar to this https://github.com/sindresorhus/env-paths#api that automatically picks the right path based on the OS and what the file is for?
I was wondering if there's some utility similar to this https://github.com/sindresorhus/env-paths#api that automatically picks the right path based on the OS and what the file is for?
GitHub
Get paths for storing things like data, config, cache, etc - GitHub - sindresorhus/env-paths: Get paths for storing things like data, config, cache, etc