{"id":16530529,"url":"https://github.com/freeshineit/countries-flag","last_synced_at":"2026-03-13T21:32:22.928Z","repository":{"id":60422864,"uuid":"543042163","full_name":"freeshineit/countries-flag","owner":"freeshineit","description":"countries flag","archived":false,"fork":false,"pushed_at":"2023-02-27T11:39:53.000Z","size":326,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-25T01:48:47.850Z","etag":null,"topics":["countries","flag","scss"],"latest_commit_sha":null,"homepage":"https://freeshineit.github.io/countries-flag","language":"HTML","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/freeshineit.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-29T09:48:25.000Z","updated_at":"2024-01-12T18:39:35.000Z","dependencies_parsed_at":"2025-02-13T10:43:10.295Z","dependency_job_id":null,"html_url":"https://github.com/freeshineit/countries-flag","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/freeshineit/countries-flag","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freeshineit%2Fcountries-flag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freeshineit%2Fcountries-flag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freeshineit%2Fcountries-flag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freeshineit%2Fcountries-flag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/freeshineit","download_url":"https://codeload.github.com/freeshineit/countries-flag/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freeshineit%2Fcountries-flag/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30476289,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T20:45:58.186Z","status":"ssl_error","status_checked_at":"2026-03-13T20:45:20.133Z","response_time":60,"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":["countries","flag","scss"],"created_at":"2024-10-11T18:06:14.830Z","updated_at":"2026-03-13T21:32:22.900Z","avatar_url":"https://github.com/freeshineit.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Countries Flag\n\n![build](https://github.com/freeshineit/countries-flag/workflows/Build/badge.svg)\n![Download](https://img.shields.io/npm/dm/countries-flag.svg)\n![Version](https://img.shields.io/npm/v/countries-flag.svg)\n![License](https://img.shields.io/npm/l/countries-flag.svg)\n\n全球各国国旗，支持[国家电话区号](https://zh.wikipedia.org/wiki/%E5%9B%BD%E9%99%85%E7%94%B5%E8%AF%9D%E5%8C%BA%E5%8F%B7%E5%88%97%E8%A1%A8)和[ISO 3166-1](https://zh.wikipedia.org/zh-hans/%E5%9C%8B%E5%AE%B6%E5%9C%B0%E5%8D%80%E4%BB%A3%E7%A2%BC)\n\n\nhttps://freeshineit.github.io/countries-flag\n\nhttps://freeshineit.github.io/countries-flag/index-code.html\n\nhttps://freeshineit.github.io/countries-flag/index-64.html\n\nhttps://freeshineit.github.io/countries-flag/index-code-64.html\n\n[demo](./docs/index.html)\n\n![demo](demo.png)\n## Install\n\nWith NPM\n\n\u003e npm install countries-flag\n\nWith Yarn\n\n\u003e yarn install countries-flag\n\n## Use\n\nCSS\n\n```css\n/* 32px */\n@import 'countries-flag';\n\n/* 64px */\n/* @import 'countries-flag/lib/flags-64.css' */\n\n.flag {\n   /* webpack */\n  background-image: url(~countries-flag/lib/flags.png);\n   /* background-image: url(~countries-flag/lib/flags-64.png); */\n}\n```\n\nSass\n\n```scss\n/* 32px */\n@import 'countries-flag/index.scss';\n\n/* 64px */\n/* @import 'countries-flag/lib/flags-64.scss' */\n\n.flag {\n   /*  webpack */\n   background-image: url(~countries-flag/lib/flags.png);\n   // background-image: url(~countries-flag/lib/flags-64.png);\n}\n```\n\n\nHTML\n\n```html\n    \u003c!-- China flag --\u003e\n    \u003cspan class='flag flag-cn'\u003e\u003c/span\u003e\n\n   \u003c!-- support phone code --\u003e\n   \u003c!-- @import 'countries-flag/lib/flags-iso-code.css' or @import 'countries-flag/lib/flags-code.css'--\u003e\n    \u003cspan class='flag flag-86'\u003e\u003c/span\u003e\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreeshineit%2Fcountries-flag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreeshineit%2Fcountries-flag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreeshineit%2Fcountries-flag/lists"}