system-locale
Get the locale from your operating system. Support macOS, Linux & Windows.
Installing
npm install system-locale
Usage
const locale =
en_DE
Contributing
If you have a question, found a bug or want to propose a feature, have a look at the issues page.