1.1.0 • Published 6 years ago

@cjssdk/iso-639 v1.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

ISO 639 language codes

build status npm version dependencies status devDependencies status Gitter RunKit

This library provides ISO language codes with English and local names.

CodeDescription
12 characters, one per language or ISO 639 macrolanguage
2T3 characters, one per language
2B3 characters, mostly the same as 639-2T, but with some codes derived from English names rather than native names of languages

Installation

npm install @cjssdk/iso-639

Usage

Add to the scope:

var codes = require('@cjssdk/iso-639');

Use:

console.log(codes['1']['fr']);
console.log(codes['2T']['fra']);
// both give ['French', 'français']

Contribution

See details.

License

@cjssdk/iso-639 is released under the MIT License.