{"id":15413488,"url":"https://github.com/wooorm/iso-639-3","last_synced_at":"2025-10-08T05:13:09.651Z","repository":{"id":21320769,"uuid":"24637405","full_name":"wooorm/iso-639-3","owner":"wooorm","description":"Info on ISO 639-3","archived":false,"fork":false,"pushed_at":"2023-11-01T10:37:05.000Z","size":602,"stargazers_count":58,"open_issues_count":0,"forks_count":12,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-29T10:06:53.892Z","etag":null,"topics":["code","iso","language","name"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"Angelinas1/Aeonmq6-Krypton","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wooorm.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":"funding.yml","license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"wooorm"}},"created_at":"2014-09-30T12:38:32.000Z","updated_at":"2024-12-18T17:19:47.000Z","dependencies_parsed_at":"2024-06-18T13:50:41.366Z","dependency_job_id":null,"html_url":"https://github.com/wooorm/iso-639-3","commit_stats":{"total_commits":113,"total_committers":2,"mean_commits":56.5,"dds":"0.017699115044247815","last_synced_commit":"cc909b7ea24284370e3630eb866d925d352da689"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wooorm%2Fiso-639-3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wooorm%2Fiso-639-3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wooorm%2Fiso-639-3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wooorm%2Fiso-639-3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wooorm","download_url":"https://codeload.github.com/wooorm/iso-639-3/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247325693,"owners_count":20920714,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["code","iso","language","name"],"created_at":"2024-10-01T16:57:21.056Z","updated_at":"2025-10-08T05:13:04.590Z","avatar_url":"https://github.com/wooorm.png","language":"JavaScript","funding_links":["https://github.com/sponsors/wooorm"],"categories":[],"sub_categories":[],"readme":"# iso-639-3\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][size-badge]][size]\n\nInfo on ISO 639-3.\n\n## Contents\n\n*   [What is this?](#what-is-this)\n*   [When should I use this?](#when-should-i-use-this)\n*   [Install](#install)\n*   [Use](#use)\n*   [API](#api)\n    *   [`iso6393`](#iso6393)\n    *   [`iso6393To1`](#iso6393to1)\n    *   [`iso6393To2B`](#iso6393to2b)\n    *   [`iso6393To2T`](#iso6393to2t)\n*   [Types](#types)\n*   [Compatibility](#compatibility)\n*   [Security](#security)\n*   [Related](#related)\n*   [Contribute](#contribute)\n*   [License](#license)\n\n## What is this?\n\nThis package contains info on [ISO 639-3][iso].\nISO 639-3 is a set of codes that defines three letter identifiers for all known\nhuman languages, whether living, extinct, ancient, historic, or constructed.\n\n## When should I use this?\n\nYou can use this package any time you have to deal with languages or ISO 639-3\nin particular.\n\n## Install\n\nThis package is [ESM only][esm].\nIn Node.js (version 14.14+, 16.0+), install with [npm][]:\n\n```sh\nnpm install iso-639-3\n```\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```js\nimport {iso6393} from 'https://esm.sh/iso-639-3@3'\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n\u003cscript type=\"module\"\u003e\n  import {iso6393} from 'https://esm.sh/iso-639-3@3?bundle'\n\u003c/script\u003e\n```\n\n## Use\n\n```js\nimport {iso6393} from 'iso-639-3'\n\nconsole.log(iso6393.slice(1820, 1830))\n```\n\nYields:\n\n```js\n[\n  {name: 'En', type: 'living', scope: 'individual', iso6393: 'enc'},\n  {name: 'Ende', type: 'living', scope: 'individual', iso6393: 'end'},\n  {name: 'Forest Enets', type: 'living', scope: 'individual', iso6393: 'enf'},\n  {\n    name: 'English',\n    type: 'living',\n    scope: 'individual',\n    iso6393: 'eng',\n    iso6392B: 'eng',\n    iso6392T: 'eng',\n    iso6391: 'en'\n  },\n  {name: 'Tundra Enets', type: 'living', scope: 'individual', iso6393: 'enh'},\n  {name: 'Enlhet', type: 'living', scope: 'individual', iso6393: 'enl'},\n  {\n    name: 'Middle English (1100-1500)',\n    type: 'historical',\n    scope: 'individual',\n    iso6393: 'enm',\n    iso6392B: 'enm',\n    iso6392T: 'enm'\n  },\n  {name: 'Engenni', type: 'living', scope: 'individual', iso6393: 'enn'},\n  {name: 'Enggano', type: 'living', scope: 'individual', iso6393: 'eno'},\n  {name: 'Enga', type: 'living', scope: 'individual', iso6393: 'enq'}\n]\n```\n\n## API\n\nThis package exports the identifier `iso6393`, `iso6393To1`, `iso6393To2B`, and\n`iso6393To2T`.\nThere is no default export.\n\n### `iso6393`\n\nList of [`Language`][language]s (`Array\u003cLanguage\u003e`).\n\n#### `Language`\n\nObject representing a language:\n\n*   `name` (`string`)\n    — name (example: `'English'`)\n*   `type` (`string`)\n    — [`Type`][type] (example: `'living'`)\n*   `scope` (`string`)\n    — [`Scope`][scope] (example: `'individual'`)\n*   `iso6393` (`string`)\n    — ISO 639-3 code (example: `'eng'`)\n*   `iso6392B` (`string?`)\n    — ISO 639-2 (bibliographic) code (example: `'eng'`)\n*   `iso6392T` (`string?`)\n    — ISO 639-2 (terminologic) code (example: `'eng'`)\n*   `iso6391` (`string?`) — ISO 639-1 code\n    — ISO 639-1 code (example: `'en'`)\n\n#### `Type`\n\nCategory of a language:\n\n*   `'living'`\n    — currently spoken language\n    (example: `nhi` for `Zacatlán-Ahuacatlán-Tepetzintla Nahuatl`)\n*   `'historical'`\n    — extinct language distinct from modern languages that descended from it\n    (example: `ofs` for `Old Frisian`)\n*   `'extinct'`\n    — language that went extinct recently\n    (example: `rbp` for `Barababaraba`)\n*   `'ancient'`\n    — language that went extinct long ago\n    (example: `got` for `Gothic`)\n*   `'constructed'`\n    — artificial languages, excluding programming languages\n    (example: `epo` for `Esperanto`)\n*   `'special'`\n    — non-language codes\n    (example: `und` for `Undetermined`)\n\n#### `Scope`\n\nScope of a language:\n\n*   `'individual'`\n    — normal, single language\n    (example: `eng` for `English`)\n*   `'macrolanguage'`\n    — one-to-many grouping of languages, because older ISO 639s included them\n    (example: `ara` for `Arabic`)\n*   `'special'`\n    — non-language codes\n    (example: `und` for `Undetermined`)\n\n### `iso6393To1`\n\nMap of ISO 639-3 codes to ISO 639-1 codes (`Record\u003cstring, string\u003e`).\n\n### `iso6393To2B`\n\nMap of ISO 639-3 codes to bibliographic ISO 639-2 codes\n(`Record\u003cstring, string\u003e`).\n\n### `iso6393To2T`\n\nMap of ISO 639-3 codes to terminologic ISO 639-2 codes\n(`Record\u003cstring, string\u003e`).\n\n## Types\n\nThis package is fully typed with [TypeScript][].\nIt exports the additional types `Language`, `Scope`, and `Type`.\n\n## Compatibility\n\nThis package is at least compatible with all maintained versions of Node.js.\nAs of now, that is Node.js 14.14+ and 16.0+.\nIt also works in Deno and modern browsers.\n\n## Security\n\nThis package is safe.\n\n## Related\n\n*   [`bcp-47`](https://github.com/wooorm/bcp-47)\n    — Parse and serialize BCP 47 language tags\n*   [`bcp-47-match`](https://github.com/wooorm/bcp-47-match)\n    — Match BCP 47 language tags with language ranges per RFC 4647\n*   [`bcp-47-normalize`](https://github.com/wooorm/bcp-47-normalize)\n    — Normalize, canonicalize, and format BCP 47 tags\n*   [`iso-3166`](https://github.com/wooorm/iso-3166)\n    — ISO 3166 codes\n*   [`iso-639-2`](https://github.com/wooorm/iso-639-2)\n    — ISO 639-2 codes\n*   [`iso-15924`](https://github.com/wooorm/iso-15924)\n    — ISO 15924 codes\n*   [`un-m49`](https://github.com/wooorm/un-m49)\n    — UN M49 codes\n\n## Contribute\n\nYes please!\nSee [How to Contribute to Open Source][contribute].\n\n## License\n\n[MIT][license] © [Titus Wormer][author]\n\n\u003c!-- Definition --\u003e\n\n[build-badge]: https://github.com/wooorm/iso-639-3/workflows/main/badge.svg\n\n[build]: https://github.com/wooorm/iso-639-3/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/wooorm/iso-639-3.svg\n\n[coverage]: https://codecov.io/github/wooorm/iso-639-3\n\n[downloads-badge]: https://img.shields.io/npm/dm/iso-639-3.svg\n\n[downloads]: https://www.npmjs.com/package/iso-639-3\n\n[size-badge]: https://img.shields.io/bundlephobia/minzip/iso-639-3.svg\n\n[size]: https://bundlephobia.com/result?p=iso-639-3\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[esmsh]: https://esm.sh\n\n[license]: license\n\n[author]: https://wooorm.com\n\n[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[typescript]: https://www.typescriptlang.org\n\n[contribute]: https://opensource.guide/how-to-contribute/\n\n[iso]: https://iso639-3.sil.org\n\n[language]: #language\n\n[type]: #type\n\n[scope]: #scope\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwooorm%2Fiso-639-3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwooorm%2Fiso-639-3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwooorm%2Fiso-639-3/lists"}