- ISO3166 (JIS X 0304)
- 249 countries
import { ISO3166 } from "https://code4fukui.github.io/iso3166/ISO3166.js";
console.log(ISO3166.getCountryByCode("JPN"));
/*
{
alpha3: "JPN",
alpha2: "JP",
numeric: "392",
name: "Japan",
name_ja: "日本",
area: "東アジア"
}
*/
- copy a table in Wikipedia ISO 3166-1 to the spread sheet
- save as CSV "iso3166-1_temp.csv"
- deno run -A make.js