{"id":23103946,"url":"https://github.com/benaubin/tiny-flag","last_synced_at":"2025-04-03T21:44:50.965Z","repository":{"id":47830640,"uuid":"275711917","full_name":"benaubin/tiny-flag","owner":"benaubin","description":"🎌 🏳️‍🌈 Work with emoji flags in a tiny footprint","archived":false,"fork":false,"pushed_at":"2021-08-12T16:22:25.000Z","size":17,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-09T09:44:07.803Z","etag":null,"topics":[],"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/benaubin.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":"2020-06-29T02:31:23.000Z","updated_at":"2025-02-03T10:00:35.000Z","dependencies_parsed_at":"2022-09-15T00:12:24.335Z","dependency_job_id":null,"html_url":"https://github.com/benaubin/tiny-flag","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benaubin%2Ftiny-flag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benaubin%2Ftiny-flag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benaubin%2Ftiny-flag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benaubin%2Ftiny-flag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benaubin","download_url":"https://codeload.github.com/benaubin/tiny-flag/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247085993,"owners_count":20881158,"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":"2024-12-17T00:29:55.739Z","updated_at":"2025-04-03T21:44:50.941Z","avatar_url":"https://github.com/benaubin.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e🎌 tiny-flag 🎌\u003c/h1\u003e\n\u003cp\u003e\n  \u003ca href=\"#\" target=\"_blank\"\u003e\n    \u003cimg alt=\"License: MIT\" src=\"https://img.shields.io/badge/License-MIT-yellow.svg\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003e Work with emoji flags in a tiny (317b minified) footprint\n\n## Install\n\n```sh\nnpm i --save tiny-flag\n```\n\n```sh\nyarn add tiny-flag\n```\n\n## Usage\n\n```js\nimport countryCodeToFlag from \"tiny-flag\";\n\ncountryCodeToFlag(\"US\"); //=\u003e '🇺🇸'\n```\n\nWorks great with `if-emoji` for progressive fallbacks: [Demo](https://codesandbox.io/s/country-flags-wz5g7?file=/src/App.js).\n\n## Author\n\n👤 **Ben Aubin**\n\n- Website: benaubin.com\n- Twitter: [@BenAubin\\_](https://twitter.com/BenAubin_)\n- Github: [@benaubin](https://github.com/benaubin)\n\n## Show your support\n\nGive a ⭐️ if this project helped you!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenaubin%2Ftiny-flag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenaubin%2Ftiny-flag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenaubin%2Ftiny-flag/lists"}