Skip to content

AronssonFredrik/language-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Language code

npm 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 (..)

About

An interface with language codes following ISO 639-1 standard

Resources

Stars

Watchers

Forks