1.0.0 • Published 3 years ago
language-code v1.0.0
Language code
An interface with language codes following ISO 639-1 standard
Getting started
Install the package...
npm install language-code
Use in project:
import { languageCode } from 'language-code';
...
// Setting locale to English:
const locale = languageCode['en']
// or
const locale = languageCode.en
To be continued (..)