{"id":4513,"url":"https://github.com/joshswan/react-native-globalize","last_synced_at":"2026-01-14T16:14:22.172Z","repository":{"id":1600324,"uuid":"43103097","full_name":"joshswan/react-native-globalize","owner":"joshswan","description":"Internationalization (i18n) for React Native","archived":false,"fork":false,"pushed_at":"2022-02-25T17:50:19.000Z","size":7752,"stargazers_count":261,"open_issues_count":2,"forks_count":67,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-11-01T05:20:44.938Z","etag":null,"topics":["currency","datetime","i18n","internationalization","l10n","language","localization","react-native"],"latest_commit_sha":null,"homepage":"","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/joshswan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-25T01:43:32.000Z","updated_at":"2025-09-09T18:52:36.000Z","dependencies_parsed_at":"2022-08-06T11:00:07.961Z","dependency_job_id":null,"html_url":"https://github.com/joshswan/react-native-globalize","commit_stats":null,"previous_names":[],"tags_count":49,"template":false,"template_full_name":null,"purl":"pkg:github/joshswan/react-native-globalize","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshswan%2Freact-native-globalize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshswan%2Freact-native-globalize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshswan%2Freact-native-globalize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshswan%2Freact-native-globalize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joshswan","download_url":"https://codeload.github.com/joshswan/react-native-globalize/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshswan%2Freact-native-globalize/sbom","scorecard":{"id":534312,"data":{"date":"2025-08-11","repo":{"name":"github.com/joshswan/react-native-globalize","commit":"b5b0708baac74e291e53265f578c0ad63ba82add"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2,"checks":[{"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":-1,"reason":"No tokens found","details":null,"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":2,"reason":"Found 6/30 approved changesets -- score normalized to 2","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":"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":"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":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"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":"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":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 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":"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":0,"reason":"78 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-h5c3-5r3r-rr8q","Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38","Warn: Project is vulnerable to: GHSA-xx4v-prfh-6cgc","Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-897m-rjf5-jp39","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-4gmj-3p3h-gm8h","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-765h-qjxv-5f44","Warn: Project is vulnerable to: GHSA-f2jv-r9rf-7988","Warn: Project is vulnerable to: GHSA-f5x2-xv93-4p23","Warn: Project is vulnerable to: GHSA-gmpm-xp43-f7g6","Warn: Project is vulnerable to: GHSA-pf27-929j-9pmm","Warn: Project is vulnerable to: GHSA-327c-qx3v-h673","Warn: Project is vulnerable to: GHSA-x4cf-6jr3-3qvp","Warn: Project is vulnerable to: GHSA-mph8-6787-r8hw","Warn: Project is vulnerable to: GHSA-7mhc-prgv-r3q4","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-rc47-6667-2j5j","Warn: Project is vulnerable to: GHSA-78xj-cgh5-2h22","Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g","Warn: Project is vulnerable to: GHSA-px4h-xg32-q955","Warn: Project is vulnerable to: GHSA-76c9-3jph-rj3q","Warn: Project is vulnerable to: GHSA-3j8f-xvm3-ffx4","Warn: Project is vulnerable to: GHSA-4p35-cfcx-8653","Warn: Project is vulnerable to: GHSA-7f3x-x4pr-wqhj","Warn: Project is vulnerable to: GHSA-jpp7-7chh-cf67","Warn: Project is vulnerable to: GHSA-q6wq-5p59-983w","Warn: Project is vulnerable to: GHSA-j9fq-vwqv-2fm2","Warn: Project is vulnerable to: GHSA-pqw5-jmp5-px4v","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-4cpg-3vgw-4877","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-rxrc-rgv4-jpvx","Warn: Project is vulnerable to: GHSA-7f53-fmmv-mfjv","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-44c6-4v22-4mhx","Warn: Project is vulnerable to: GHSA-4x5v-gmq8-25ch","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-g4rg-993r-mgx7","Warn: Project is vulnerable to: GHSA-4rq4-32rv-6wp6","Warn: Project is vulnerable to: GHSA-64g7-mvw6-v9qj","Warn: Project is vulnerable to: GHSA-gff7-g5r8-mg8m","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-jgrx-mgxx-jf9v","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v","Warn: Project is vulnerable to: GHSA-38fc-wpqx-33j7","Warn: Project is vulnerable to: GHSA-78cj-fxph-m83p","Warn: Project is vulnerable to: GHSA-fhg7-m89q-25r3","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-6fc8-4gx4-v693","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q","Warn: Project is vulnerable to: GHSA-h6q6-9hqw-rwfv","Warn: Project is vulnerable to: GHSA-5fg8-2547-mr8q","Warn: Project is vulnerable to: GHSA-crh6-fp67-6883","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"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-20T06:33:11.183Z","repository_id":1600324,"created_at":"2025-08-20T06:33:11.183Z","updated_at":"2025-08-20T06:33:11.183Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28425626,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T15:24:48.085Z","status":"ssl_error","status_checked_at":"2026-01-14T15:23:41.940Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["currency","datetime","i18n","internationalization","l10n","language","localization","react-native"],"created_at":"2024-01-05T20:17:14.853Z","updated_at":"2026-01-14T16:14:22.141Z","avatar_url":"https://github.com/joshswan.png","language":"TypeScript","funding_links":[],"categories":["Components"],"sub_categories":["Internationalization","Utils \u0026 Infra"],"readme":"# React Native Globalize\n\n[![Version][version-image]][package-url] [![Downloads][downloads-image]][package-url] [![Build Status][build-image]][build-url] [![Coverage][coverage-image]][coverage-url] [![License][license-image]][license-url]\n\nReact Native Globalize provides an easy-to-use and powerful solution for internationalization (i18n) in React Native apps.\n\n## Example\n\nUsing the `useGlobalize()` hook:\n\n```javascript\nimport { useGlobalize } from 'react-native-globalize';\n\nexport const HookExample = () =\u003e {\n  const { formatCurrency } = useGlobalize();\n\n  return (\n    \u003cText\u003e\n      {formatCurrency(1000, 'USD', {\n        maximumFractionDigits: 0,\n        useGrouping: true,\n      })}\n    \u003c/Text\u003e\n  );\n};\n```\n\nUsing a `Formatted` component:\n\n```javascript\nimport { FormattedCurrency } from 'react-native-globalize';\n\nexport const ComponentExample = () =\u003e (\n  \u003cFormattedCurrency currency=\"USD\" maximumFractionDigits={0} useGrouping value={1000} /\u003e\n);\n```\n\n## Docs\n\n- [Installation](docs/getting-started.md)\n- [Upgrading to v4](docs/migration-v4.md)\n- [Usage](docs/getting-started.md#usage)\n- [Performance](docs/performance.md)\n- [Advanced](docs/advanced.md)\n- [Usage Outside React](docs/ref-usage.md)\n- [Usage on the Web](docs/web-usage.md)\n- API\n  - [`useGlobalize`](docs/api/useGlobalize.md)\n  - [`formatCurrency`](docs/api/formatCurrency.md)\n  - [`formatDate`](docs/api/formatDate.md)\n  - [`formatMessage`](docs/api/formatMessage.md)\n  - [`formatNumber`](docs/api/formatNumber.md)\n  - [`formatPlural`](docs/api/formatPlural.md)\n  - [`formatRelativeTime`](docs/api/formatRelativeTime.md)\n  - [`formatUnit`](docs/api/formatUnit.md)\n  - [`parseDate`](docs/api/parseDate.md)\n  - [`parseNumber`](docs/api/parseNumber.md)\n  - [Utilities](docs/api/utilities.md)\n    - [`getAvailableLocales`](docs/api/utilities.md#getavailablelocales)\n    - [`getCurrencySymbol`](docs/api/utilities.md#getcurrencysymbol)\n    - [`loadCldr`](docs/api/utilities.md#loadcldr)\n    - [`loadMessages`](docs/api/utilities.md#loadmessages)\n    - [`localeIsLoaded`](docs/api/utilities.md#localeisloaded)\n- Components\n  - [`GlobalizeProvider`](docs/components/GlobalizeProvider.md)\n  - [`FormattedCurrency`](docs/components/FormattedCurrency.md)\n  - [`FormattedDate`](docs/components/FormattedDate.md)\n  - [`FormattedMessage`](docs/components/FormattedMessage.md)\n  - [`FormattedNumber`](docs/components/FormattedNumber.md)\n  - [`FormattedPlural`](docs/components/FormattedPlural.md)\n  - [`FormattedRelativeTime`](docs/components/FormattedRelativeTime.md)\n  - [`FormattedUnit`](docs/components/FormattedUnit.md)\n  - [`withGlobalize`](docs/components/withGlobalize.md)\n\n## Supported By\n\n\u003ca href=\"https://www.disruptivelabs.io\"\u003e\n  \u003cimg src=\"https://www.disruptivelabs.io/images/logo.png\" alt=\"Disruptive Labs\" width=\"150\" /\u003e\n\u003c/a\u003e\n\n## License\n\n```text\n Copyright (c) 2015-2020 Josh Swan\n\n Licensed under the The MIT License (MIT) (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    https://raw.githubusercontent.com/joshswan/react-native-globalize/master/LICENSE\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\n See the License for the specific language governing permissions and\n limitations under the License.\n```\n\n[build-image]: https://img.shields.io/circleci/build/gh/joshswan/react-native-globalize?style=flat-square\n[build-url]: https://circleci.com/gh/joshswan/react-native-globalize\n[coverage-image]: https://img.shields.io/coveralls/github/joshswan/react-native-globalize?style=flat-square\n[coverage-url]: https://coveralls.io/github/joshswan/react-native-globalize\n[downloads-image]: https://img.shields.io/npm/dm/react-native-globalize?style=flat-square\n[license-image]: https://img.shields.io/npm/l/react-native-globalize?color=blue\u0026style=flat-square\n[license-url]: https://github.com/joshswan/react-native-globalize/blob/master/LICENSE\n[package-url]: https://www.npmjs.com/package/react-native-globalize\n[version-image]: https://img.shields.io/npm/v/react-native-globalize?style=flat-square\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshswan%2Freact-native-globalize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshswan%2Freact-native-globalize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshswan%2Freact-native-globalize/lists"}