{"id":15413465,"url":"https://github.com/wooorm/iso-15924","last_synced_at":"2025-08-15T00:45:02.459Z","repository":{"id":36129902,"uuid":"40433275","full_name":"wooorm/iso-15924","owner":"wooorm","description":"ISO 15924 codes","archived":false,"fork":false,"pushed_at":"2023-11-01T10:25:30.000Z","size":153,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-07-19T16:51:19.810Z","etag":null,"topics":["code","iso","name","script"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"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":"2015-08-09T10:51:55.000Z","updated_at":"2025-07-18T22:23:22.000Z","dependencies_parsed_at":"2024-06-19T02:57:32.475Z","dependency_job_id":null,"html_url":"https://github.com/wooorm/iso-15924","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/wooorm/iso-15924","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wooorm%2Fiso-15924","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wooorm%2Fiso-15924/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wooorm%2Fiso-15924/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wooorm%2Fiso-15924/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wooorm","download_url":"https://codeload.github.com/wooorm/iso-15924/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wooorm%2Fiso-15924/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270506003,"owners_count":24596506,"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","status":"online","status_checked_at":"2025-08-14T02:00:10.309Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","name","script"],"created_at":"2024-10-01T16:57:12.068Z","updated_at":"2025-08-15T00:45:02.425Z","avatar_url":"https://github.com/wooorm.png","language":"JavaScript","funding_links":["https://github.com/sponsors/wooorm"],"categories":[],"sub_categories":[],"readme":"# iso-15924\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][size-badge]][size]\n\n[ISO 15924][iso] codes.\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    *   [`iso15924`](#iso15924)\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 is the data of [ISO 15924][iso].\n\n## When should I use this?\n\nISO 15924 represents scripts (such as Latin, Georgian).\nThese scripts are often seen in BCP 47 language codes: `sr-Cyrl` (`sr` is ISO\n639-1 for Serbian, `Cyrl` is ISO 15924 for Cyrillic).\nThis package is useful when you’re working with languages.\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-15924\n```\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```js\nimport {iso15924} from 'https://esm.sh/iso-15924@3'\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n\u003cscript type=\"module\"\u003e\n  import {iso15924} from 'https://esm.sh/iso-15924@3?bundle'\n\u003c/script\u003e\n```\n\n## Use\n\n```js\nimport {iso15924} from 'iso-15924'\n\nconsole.log(iso15924.length) // =\u003e 210\n\nconsole.log(iso15924.slice(0, 3))\n```\n\nYields:\n\n```js\n[\n  {code: 'Adlm', name: 'Adlam', numeric: '166', pva: 'Adlam', date: '2016-12-05'},\n  {code: 'Afak', name: 'Afaka', numeric: '439', date: '2010-12-21'},\n  {code: 'Aghb', name: 'Caucasian Albanian', numeric: '239', pva: 'Caucasian_Albanian', date: '2014-11-15'}\n]\n```\n\n## API\n\nThis package exports the identifier `iso15924`.\nThere is no default export.\n\n### `iso15924`\n\nList of scripts (`Array\u003cScript\u003e`).\n\n###### `Script`\n\nISO 15924 script info (`Object`):\n\n*   `name` (`string`) — script name\n*   `code` (`string`) — four character ISO 15924 code\n*   `numeric` (`string`) — three character ISO 15924 code\n*   `pva` (`string?`) — property value alias\n*   `date` (`string`) — date of addition (e.g., `'2016-12-05'`)\n\n## Types\n\nThis package is fully typed with [TypeScript][].\nIt exports the additional type `Script`.\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*   [`wooorm/bcp-47`](https://github.com/wooorm/bcp-47)\n    — parse and serialize BCP 47 language tags\n*   [`wooorm/bcp-47-match`](https://github.com/wooorm/bcp-47-match)\n    — match BCP 47 language tags with language ranges per RFC 4647\n*   [`wooorm/bcp-47-normalize`](https://github.com/wooorm/bcp-47-normalize)\n    — normalize, canonicalize, and format BCP 47 tags\n*   [`wooorm/iso-3166`](https://github.com/wooorm/iso-3166)\n    — ISO 3166 codes\n*   [`wooorm/iso-639-3`](https://github.com/wooorm/iso-639-3)\n    — ISO 639-3 codes\n*   [`wooorm/iso-639-2`](https://github.com/wooorm/iso-639-2)\n    — ISO 639-2 codes\n*   [`wooorm/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-15924/workflows/main/badge.svg\n\n[build]: https://github.com/wooorm/iso-15924/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/wooorm/iso-15924.svg\n\n[coverage]: https://codecov.io/github/wooorm/iso-15924\n\n[downloads-badge]: https://img.shields.io/npm/dm/iso-15924.svg\n\n[downloads]: https://www.npmjs.com/package/iso-15924\n\n[size-badge]: https://img.shields.io/bundlephobia/minzip/iso-15924.svg\n\n[size]: https://bundlephobia.com/result?p=iso-15924\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://unicode.org/iso15924/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwooorm%2Fiso-15924","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwooorm%2Fiso-15924","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwooorm%2Fiso-15924/lists"}