{"id":13509098,"url":"https://github.com/messageformat/messageformat","last_synced_at":"2026-03-27T02:43:30.640Z","repository":{"id":2305681,"uuid":"3264770","full_name":"messageformat/messageformat","owner":"messageformat","description":"ICU MessageFormat and Unicode Messageformat for Javascript","archived":false,"fork":false,"pushed_at":"2025-12-03T09:22:21.000Z","size":7614,"stargazers_count":1763,"open_issues_count":19,"forks_count":159,"subscribers_count":30,"default_branch":"main","last_synced_at":"2026-03-25T05:32:38.086Z","etag":null,"topics":["language","messageformat"],"latest_commit_sha":null,"homepage":"https://messageformat.github.io","language":"TypeScript","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/messageformat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2012-01-25T12:56:20.000Z","updated_at":"2026-03-23T14:15:29.000Z","dependencies_parsed_at":"2023-07-06T10:16:40.340Z","dependency_job_id":"a2ffd488-65d5-4b6b-b969-dc424bd83fbf","html_url":"https://github.com/messageformat/messageformat","commit_stats":{"total_commits":1394,"total_committers":66,"mean_commits":21.12121212121212,"dds":"0.17144906743185084","last_synced_commit":"da76eebd7c322ae547b8d6b7aaeaa8efc2fcf565"},"previous_names":["slexaxton/messageformat.js","messageformat/messageformat.js"],"tags_count":158,"template":false,"template_full_name":null,"purl":"pkg:github/messageformat/messageformat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/messageformat%2Fmessageformat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/messageformat%2Fmessageformat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/messageformat%2Fmessageformat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/messageformat%2Fmessageformat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/messageformat","download_url":"https://codeload.github.com/messageformat/messageformat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/messageformat%2Fmessageformat/sbom","scorecard":{"id":131054,"data":{"date":"2025-08-11","repo":{"name":"github.com/messageformat/messageformat","commit":"c5d3c006cbe7222ae1342ab83df850e3a5ab0b90"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":6.1,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/26 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":10,"reason":"13 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/browsers.yml:1","Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/docs.yml:1","Warn: no topLevel permission defined: .github/workflows/nodejs.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":3,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'main'","Info: 'force pushes' disabled on branch 'main'","Info: 'branch protection settings apply to administrators' is required to merge on branch 'main'","Warn: could not determine whether codeowners review is allowed","Warn: no status checks found to merge onto branch 'main'","Warn: PRs are not required to make changes on branch 'main'; or we don't have data to detect it.If you think it might be the latter, make sure to run Scorecard with a PAT or use Repo Rules (that are always public) instead of Branch Protection settings"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: SAST configuration detected: CodeQL","Info: all commits (5) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":5,"reason":"dependency not pinned by hash detected -- score normalized to 5","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/browsers.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/messageformat/messageformat/browsers.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/browsers.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/messageformat/messageformat/browsers.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/messageformat/messageformat/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/messageformat/messageformat/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/messageformat/messageformat/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/messageformat/messageformat/docs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/messageformat/messageformat/docs.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docs.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/messageformat/messageformat/docs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/messageformat/messageformat/docs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nodejs.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/messageformat/messageformat/nodejs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nodejs.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/messageformat/messageformat/nodejs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nodejs.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/messageformat/messageformat/nodejs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nodejs.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/messageformat/messageformat/nodejs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nodejs.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/messageformat/messageformat/nodejs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nodejs.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/messageformat/messageformat/nodejs.yml/main?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/nodejs.yml:43","Info:   0 out of  14 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   6 out of   7 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-76c9-3jph-rj3q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-16T05:15:47.880Z","repository_id":2305681,"created_at":"2025-08-16T05:15:47.880Z","updated_at":"2025-08-16T05:15:47.880Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30998397,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-26T18:07:05.776Z","status":"ssl_error","status_checked_at":"2026-03-26T18:07:05.331Z","response_time":114,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["language","messageformat"],"created_at":"2024-08-01T02:01:02.901Z","updated_at":"2026-03-27T02:43:30.597Z","avatar_url":"https://github.com/messageformat.png","language":"TypeScript","readme":"\u003cdiv class=\"main-title\"\u003e\n\u003cimg align=\"right\" width=\"100\" height=\"100\" src=\"https://messageformat.github.io/messageformat/logo/messageformat.svg\"\u003e\n\u003ch1\u003emessageformat\u003c/h1\u003e\n\u003c/div\u003e\n\nThe experience and subtlety of your program's text can be important.\nMessageformat is a mechanism for handling both **pluralization** and **gender** in your applications.\nIt can also lead to much better translations, as it's designed to support [all the languages] included in the [Unicode CLDR].\n\nThis monorepo provides packages supporting JS implementations of both [Unicode MessageFormat 2] (MF2) and [ICU MessageFormat] (MF1):\n\n## Unicode MessageFormat 2\n\n- [messageformat](mf2/messageformat/) - MF2 parser, runtime, and polyfill for Intl.MessageFormat\n- [@messageformat/fluent](mf2/fluent) - Compile Fluent sources into MF2 resources\n- [@messageformat/icu-messageformat-1](mf2/icu-messageformat-1) - Compile MF1 sources into MF2 formatters\n- [@messageformat/xliff](mf2/xliff) - **_(ALPHA)_** Convert between XLIFF 2 and MF2\n\n## ICU MessageFormat 1\n\n- [@messageformat/cli](mf1/packages/cli/) - A command-line client for the library\n- [@messageformat/convert](mf1/packages/convert/) - Converts other localization formats into ICU MessageFormat\n- [@messageformat/core](mf1/packages/core/) - The core library that transpiles MessageFormat strings into JavaScript functions\n- [@messageformat/date-skeleton](mf1/packages/date-skeleton) - Tools for working with [ICU DateFormat skeletons]\n- [@messageformat/loader](mf1/packages/webpack-loader/) - Webpack loader for JSON, YAML, \u0026 .properties message files\n- [@messageformat/number-skeleton](mf1/packages/number-skeleton) - Tools for working with [ICU NumberFormat skeletons]\n- [@messageformat/parser](mf1/packages/parser/) - Parses MessageFormat source strings into an AST\n- [@messageformat/react](mf1/packages/react/) - React hooks and other bindings for messages\n- [@messageformat/runtime](mf1/packages/runtime/) - Runtime dependencies of compiled message modules\n- [rollup-plugin-messageformat](mf1/packages/rollup-plugin/) - Rollup plugin for JSON, YAML, \u0026 .properties message files\n\n[all the languages]: http://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html\n[unicode cldr]: http://cldr.unicode.org/\n[icu messageformat]: https://unicode-org.github.io/icu/userguide/format_parse/messages/\n[unicode messageformat 2]: https://github.com/unicode-org/message-format-wg\n[icu dateformat skeletons]: https://unicode-org.github.io/icu/userguide/format_parse/datetime/\n[icu numberformat skeletons]: https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html\n\n### Getting Started (MF1)\n\nDepending on your situation, consult one or more of the following guides:\n\n- [Command-line](http://messageformat.github.io/messageformat/cli/)\n- [Rollup](http://messageformat.github.io/messageformat/rollup/)\n- [Webpack](http://messageformat.github.io/messageformat/webpack/)\n- [React](http://messageformat.github.io/messageformat/react/)\n\nAlternatively, take a look at our [examples](examples/) or dig into the [API documentation](http://messageformat.github.io/messageformat/api/) if you're looking to do something more involved.\n\nOur [Format Guide] will help with the ICU MessageFormat Syntax, and the [Usage Guide] provides some further options for integrating messageformat to be a part of your workflow around UI texts and translations.\n\n[format guide]: https://messageformat.github.io/messageformat/guide\n[usage guide]: https://messageformat.github.io/messageformat/use\n\n---\n\n[Messageformat](https://messageformat.github.io/) is an OpenJS Foundation project, and we follow its [Code of Conduct](https://code-of-conduct.openjsf.org/).\n\n\u003ca href=\"https://openjsf.org\"\u003e\n\u003cimg width=200 alt=\"OpenJS Foundation\" src=\"https://messageformat.github.io/messageformat/logo/openjsf.svg\" /\u003e\n\u003c/a\u003e\n","funding_links":[],"categories":["JavaScript","TypeScript","Software-Internationalisierung (I18n) \u0026 -Lokalisierung (L10n)","📦 Libraries"],"sub_categories":["JavaScript / TypeScript"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmessageformat%2Fmessageformat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmessageformat%2Fmessageformat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmessageformat%2Fmessageformat/lists"}