{"id":15429521,"url":"https://github.com/wooorm/speakers","last_synced_at":"2025-08-05T09:23:31.231Z","repository":{"id":21354735,"uuid":"24671856","full_name":"wooorm/speakers","owner":"wooorm","description":"Speaker count for 450+ languages","archived":false,"fork":false,"pushed_at":"2022-11-20T10:37:52.000Z","size":107,"stargazers_count":20,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-19T20:48:46.386Z","etag":null,"topics":["count","language","speaker","speakers"],"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},"funding":{"github":"wooorm"}},"created_at":"2014-10-01T08:58:51.000Z","updated_at":"2025-02-18T19:09:52.000Z","dependencies_parsed_at":"2022-08-05T11:30:29.381Z","dependency_job_id":null,"html_url":"https://github.com/wooorm/speakers","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/wooorm/speakers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wooorm%2Fspeakers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wooorm%2Fspeakers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wooorm%2Fspeakers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wooorm%2Fspeakers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wooorm","download_url":"https://codeload.github.com/wooorm/speakers/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wooorm%2Fspeakers/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267141074,"owners_count":24041978,"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-07-26T02:00:08.937Z","response_time":62,"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":["count","language","speaker","speakers"],"created_at":"2024-10-01T18:11:22.794Z","updated_at":"2025-07-26T08:37:32.689Z","avatar_url":"https://github.com/wooorm.png","language":"JavaScript","funding_links":["https://github.com/sponsors/wooorm"],"categories":[],"sub_categories":[],"readme":"# speakers\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][size-badge]][size]\n\nSpeaker count for 450+ languages.\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    *   [`speakers`](#speakers-1)\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 provides speaker counts for many languages.\nPainstakingly crawled by hand from [OHCHR][].\n\n\u003e 👉 **Note**: the numbers are (in some cases, very) rough estimates or\n\u003e out-of-date.\n\n## When should I use this?\n\nYou can use this package if you want to get a (comparative) estimate of how\nmany folks speak a certain language.\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 speakers\n```\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```js\nimport {speakers} from 'https://esm.sh/speakers@2'\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n\u003cscript type=\"module\"\u003e\n  import {speakers} from 'https://esm.sh/speakers@2?bundle'\n\u003c/script\u003e\n```\n\n## Use\n\n```js\nimport {speakers} from 'speakers'\n\nconsole.log(speakers.eng) // =\u003e 322000000\nconsole.log(speakers.jpn) // =\u003e 125000000\nconsole.log(speakers.por) // =\u003e 182000000\nconsole.log(speakers.cmn) // =\u003e 885000000\n```\n\n## API\n\nThis package exports the identifier `speakers`.\nThere is no default export.\n\n### `speakers`\n\nMap of [ISO 639-3][i6393] codes to speaker counts (`number`).\n\n## Types\n\nThis package is fully typed with [TypeScript][].\nIt exports no additional types.\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 stringify 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/iso-639-2`](https://github.com/wooorm/iso-639-2)\n    — ISO 639-2 codes\n*   [`wooorm/iso-639-3`](https://github.com/wooorm/iso-639-3)\n    — ISO 639-3 codes\n*   [`wooorm/iso-15924`](https://github.com/wooorm/iso-15924)\n    — ISO 15924 codes\n*   [`wooorm/un-m49`](https://github.com/wooorm/un-49)\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!-- Definitions --\u003e\n\n[build-badge]: https://github.com/wooorm/speakers/workflows/main/badge.svg\n\n[build]: https://github.com/wooorm/speakers/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/wooorm/speakers.svg\n\n[coverage]: https://codecov.io/github/wooorm/speakers\n\n[downloads-badge]: https://img.shields.io/npm/dm/speakers.svg\n\n[downloads]: https://www.npmjs.com/package/speakers\n\n[size-badge]: https://img.shields.io/bundlephobia/minzip/speakers.svg\n\n[size]: https://bundlephobia.com/result?p=speakers\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[ohchr]: https://www.ohchr.org\n\n[i6393]: https://github.com/wooorm/iso-639-3\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwooorm%2Fspeakers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwooorm%2Fspeakers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwooorm%2Fspeakers/lists"}