cjs-iso-639

1.1.2 • Public • Published

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.

Code Description
1 2 characters, one per language or ISO 639 macrolanguage
2T 3 characters, one per language
2B 3 characters, mostly the same as 639-2T, but with some codes derived from English names rather than native names of languages

Installation

npm install cjs-iso-639

Usage

Add to the scope:

var codes = require('cjs-iso-639');

Use:

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

Contribution

See details.

License

cjs-iso-639 is released under the MIT License.

Dependencies (1)

Dev Dependencies (4)

Package Sidebar

Install

npm i cjs-iso-639

Weekly Downloads

10

Version

1.1.2

License

MIT

Unpacked Size

5.24 kB

Total Files

5

Last publish

Collaborators

  • cjssdk