localizem
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Small util class for handling coutry language localization

Example:

import { Locale } from "localizem"

const locale = new Locale('en-US')
const language = locale.toLanguage()
const country = locale.toCountry()
const langugeCode = locale.languageCode()
const countryCode = locale.countryCode()

Package Sidebar

Install

npm i localizem

Weekly Downloads

0

Version

1.0.2

License

ISC

Unpacked Size

4.3 kB

Total Files

7

Last publish

Collaborators

  • danzcode