# samayo/country-json

A simple data of the world by country each in JSON format.

Repository: https://github.com/samayo/country-json
Canonical: https://ross.abutalabs.com/products/country-json
Homepage: https://data.world/samayo
Language: JavaScript
License: MIT
License Family: permissive
Topics: json-format, language, country-data, capital-city, countries, currency, city, population, independence, country, country-json
Last push: 2026-01-22T17:25:40+00:00

## Health v2 (maintenance only)
Score: 51/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 63, release rhythm 8, longevity 100
- inputs: {"age_days": 4111, "days_push": 223, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1148, forks 795 (observed 2026-08-28T04:03:46.206829+00:00)

## What it is
A collection of world country reference data published as simple JSON files, covering attributes like names, capitals, currencies, calling codes, geo coordinates, flags, and population. It is distributed via npm, Composer, or git for use in any programming language.

## Use cases
- get a list of countries with capitals in json
- country calling codes dataset for a form dropdown
- currency codes and names per country
- geo coordinates of countries for a map app
- country flags and abbreviations for localization
- population and languages by country data

## When to choose
- you need lightweight static country reference data in JSON
- you want a dependency-free dataset usable from any language
- you need many country attributes (tld, calling code, currency, coordinates) in one place

## When to avoid
- you need frequently updated or highly accurate live statistics
- you need city-level or postal-code granularity
- you need a queryable database or API rather than static files

## Facets
- artifact type: dataset
- maturity: stable
- function: json, data-generation, developer-tools
- domain: data-science, web-development
- platform: cross-platform, cli
- tags: country-data, open-data, reference-data, npm-package, composer-package, localization, geospatial, nodejs

## Member repositories
- samayo/country-json (main) score 51

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:46.206829+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-30T06:33:51.610345+00:00, confidence not recorded.
  - readme: https://github.com/samayo/country-json (fetched 2026-08-28T04:03:46.206829+00:00, sha 806399ec7d97)
  - homepage: https://data.world/samayo (fetched 2026-08-29T12:39:25.536464+00:00, sha bc63cef8907a)
  - registry_npm: https://registry.npmjs.org/country-json (fetched 2026-08-29T12:39:25.542941+00:00, sha 618fb15ed677)
  - site_page: https://data.world/product (fetched 2026-08-29T12:39:25.538808+00:00, sha 39598bd14b74)
  - site_page: https://data.world/home (fetched 2026-08-29T12:39:25.541089+00:00, sha aa202b4a91ca)
- Data as of 2026-08-30T08:39:29.467469+00:00.
