# hampusborgos/country-flags

SVG and PNG renders of all countries' flags.

Repository: https://github.com/hampusborgos/country-flags
Canonical: https://ross.abutalabs.com/products/country-flags
Language: JavaScript
License Family: other
Last push: 2026-03-10T18:16:35+00:00

## Health v2 (maintenance only)
Score: 64/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 71, release rhythm 35, longevity 100
- inputs: {"age_days": 5163, "days_push": 176, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3784, forks 1016 (observed 2026-08-28T04:08:18.553959+00:00)

## What it is
A collection of accurate SVG and PNG renders of all countries' flags, organized by ISO-3166 country codes and available as an npm module (svg-country-flags). It includes a JSON mapping of country codes to names and pre-rendered PNGs at multiple widths.

## Use cases
- display country flags in a web app by ISO country code
- get flag images for a country selector dropdown
- download SVG flags for all countries
- render flags as PNGs at custom sizes
- map ISO country codes to country names in JSON

## When to choose
- you need flag images keyed by ISO-3166 codes
- you want scalable SVG flags with public-domain licensing
- you need pre-rendered PNGs at common widths

## When to avoid
- you need flags of subdivisions beyond GB constituent countries
- you need animated or styled flag variants
- you require a maintained software library rather than static assets

## Facets
- artifact type: dataset
- maturity: active
- function: image-processing, data-generation
- domain: web-development, graphics
- platform: cross-platform
- tags: country-flags, svg, png, iso-3166, npm-package, public-domain, localization, nodejs, web

## Member repositories
- hampusborgos/country-flags (main) score 64

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:18.553959+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:27:42.007381+00:00, confidence not recorded.
  - readme: https://github.com/hampusborgos/country-flags (fetched 2026-08-28T04:08:18.553959+00:00, sha d2fd835e5020)
- Data as of 2026-08-30T08:39:29.467469+00:00.
