1.0.1 • Published 11 months ago

@spongex/system-locale v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Sytem Locale Variable

Get the system locale

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')

Usage

console.log(__locale)

Example output: en-US

Changelog

1.0.1

  • Dependencies bump

1.0.0

  • Initial release
1.0.1

11 months ago

1.0.0

1 year ago