Compact ISO 3166-1 alpha-2 country table: the English name and primary currency code
for each country, and nothing else.
It replaces the runtime country-list-js dependency, which carries provinces, capitals,
phone codes and more (~140 kB) for the two fields ChemPal reads. The library is kept as
a dev dependency purely so src/constants/__tests__/countryData.test.ts can fail if this
table ever drifts from it. Regenerate by re-running the extraction described there.
Compact ISO 3166-1 alpha-2 country table: the English name and primary currency code for each country, and nothing else.
It replaces the runtime
country-list-jsdependency, which carries provinces, capitals, phone codes and more (~140 kB) for the two fields ChemPal reads. The library is kept as a dev dependency purely sosrc/constants/__tests__/countryData.test.tscan fail if this table ever drifts from it. Regenerate by re-running the extraction described there.Source