UNPKG

iso-639-2

Version:

ISO-639-2 codes in an accessible format

40 lines (39 loc) 690 B
/** * @typedef Language * One language. * @property {string} name * Language name. * @property {string} iso6392B * Bibliographic ISO 639-2 code. * @property {string} [iso6392T] * Terminologic ISO 639-2 code. * @property {string} [iso6391] * ISO 639-1 code. */ /** * List of languages. * * @type {Array<Language>} */ export const iso6392: Array<Language> /** * One language. */ export type Language = { /** * Language name. */ name: string /** * Bibliographic ISO 639-2 code. */ iso6392B: string /** * Terminologic ISO 639-2 code. */ iso6392T?: string | undefined /** * ISO 639-1 code. */ iso6391?: string | undefined }