Package Exports
- iso-639-3
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (iso-639-3) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
iso-639-3

ISO 639-3 codes in an accessible format, all of them.
Installation
npm:
npm install iso-639-3
iso-639-3 is also available as an AMD, CommonJS, and globals module, uncompressed and compressed.
Usage
Dependencies:
var iso6393 = require('iso-639-3');
Inspecting some values yields:
[ { name: 'Ende',
type: 'living',
scope: 'individual',
iso6393: 'end',
iso6392B: null,
iso6392T: null,
iso6391: null },
{ name: 'Forest Enets',
type: 'living',
scope: 'individual',
iso6393: 'enf',
iso6392B: null,
iso6392T: null,
iso6391: null },
{ name: 'English',
type: 'living',
scope: 'individual',
iso6393: 'eng',
iso6392B: 'eng',
iso6392T: 'eng',
iso6391: 'en' },
{ name: 'Tundra Enets',
type: 'living',
scope: 'individual',
iso6393: 'enh',
iso6392B: null,
iso6392T: null,
iso6391: null },
{ name: 'Enlhet',
type: 'living',
scope: 'individual',
iso6393: 'enl',
iso6392B: null,
iso6392T: null,
iso6391: null } ]
And the length
computes to:
7847
API
iso6393
Array.<Language>
— List of languages.
Language
Object
:
name
(string
) — Language name;type
(Type
) — Language type;type
(Scope
) — Language scope;iso6392B
(string?
) — Bibliographic ISO 639-2 code, if available;iso6392T
(string?
) — Terminological ISO 639-2 code, if available;iso6391
(string?
) — ISO 639-1 code, if available.
Type
string
, one of the following:
'living'
— Still spoken languages, for example,Zacatlán-Ahuacatlán-Tepetzintla Nahuatl
(nhi
);'historical'
— Distinct from any modern languages that are descended from it, for example,Old Frisian
(ofs
);'extinct'
— Language which went extinct in recent time, for example,Barababaraba
(rbp
);'ancient'
— Language which went extinct in ancient times, for example,Gothic
(got
);'constructed'
— Artificial languages (but not programming languages), for example,Esperanto
(epo
);'special'
— Non-language codes, for example,Undetermined
(und
).
Scope
string
, one of the following:
'special'
— Non-language codes, for example,Undetermined
(und
);'macrolanguage'
— One-to-many grouping of languages, because older ISO 639s, included them, for example,Arabic
(ara
);'language'
— Normal, single language, for example,English
(eng
).