{"id":24645277,"url":"https://github.com/creativelive/rind-locale","last_synced_at":"2025-03-20T15:15:01.176Z","repository":{"id":17620983,"uuid":"20425175","full_name":"creativelive/rind-locale","owner":"creativelive","description":"Find a locale match for a string of locale(s) in an array of [supported] locales","archived":false,"fork":false,"pushed_at":"2014-06-13T05:54:09.000Z","size":148,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-02-26T06:38:16.278Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/creativelive.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":"2014-06-03T01:03:49.000Z","updated_at":"2014-06-13T05:54:10.000Z","dependencies_parsed_at":"2022-08-04T20:16:08.433Z","dependency_job_id":null,"html_url":"https://github.com/creativelive/rind-locale","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creativelive%2Frind-locale","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creativelive%2Frind-locale/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creativelive%2Frind-locale/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creativelive%2Frind-locale/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/creativelive","download_url":"https://codeload.github.com/creativelive/rind-locale/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244637100,"owners_count":20485446,"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":[],"created_at":"2025-01-25T14:14:40.286Z","updated_at":"2025-03-20T15:15:01.153Z","avatar_url":"https://github.com/creativelive.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rind-locale [![](https://travis-ci.org/creativelive/rind-locale.svg)](https://travis-ci.org/creativelive/rind-locale)\n\nFind a locale match for a string of locale(s) in an array of [supported] locales\n\n## Usage\n\n```\nvar locale = require('..')({\n  // first locale is also the final fallback default\n  locales: ['de', 'en-US', 'ja', 'kr', 'zh-TW']\n})\n\nconsole.log(locale('ja'));      // ja\nconsole.log(locale('ja,en'));   // ja\nconsole.log(locale('en-UK'));   // en-US\nconsole.log(locale('klingon')); // de\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreativelive%2Frind-locale","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcreativelive%2Frind-locale","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreativelive%2Frind-locale/lists"}