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

1.0.0 • Public • Published

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

Dependents (1)

Package Sidebar

Install

npm i language-code

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

37.2 kB

Total Files

10

Last publish

Collaborators

  • aronsson