Data about countries can be downloaded from either Amateur Radio Country Files by AD1C or Clublog.
Download any cty.dat
file from the Country Files website. I recommend using the Big CTY file.
Instead of cty.dat
you can also use the cty.csv
file.
Parsing of cty.dat
or cty.csv
can be done with the script cty-parser.ts
.
Note:
The cty.dat
does not contain the adif
DXCC number.
Read how to obtain the Clublog prefix file here
Parsing can be done with the script clublog-parser.ts
.
- Download the latest Big CTY (
cty.csv
) file from Country Files. - Run the script
cty-parser.ts
to parse thecty.csv
file. - Run
npm version minor
to update the version number. - Run
pnpm build
to build the code. - Publish the new version to npm with
npm publish
.