This is a variable that will set itself to the system's locale string.
Install to your existing project using:
npm i @spongex/system-locale
Include ECMAScript:
import { __locale } from '@spongex/system-locale'
Include CommonJS:
const { __locale } = require('@spongex/system-locale')
console.log(__locale)
Example output: en-US
- Dependencies bump
- Initial release