language-code
v1.0.0
Published
An interface with language codes following ISO 639-1 standard
Downloads
9
Maintainers
Readme
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 (..)