1.1.0 • Published 3 months ago
os-locale-ex v1.1.0
os-locale-ex
A CommonJS version of os-locale
Remind: If your
node version
>= 16, you'll don't need this anymore, just set type="module" in your package.json to enableesm support
Usage
const {osLocale, osLocaleSync} = require("os-locale-ex")
osLocale().then(_ => {
console.log(_)
})
console.log(osLocaleSync())