list-of-top-level-domains/bin/helpers/generate-tlds-csv.js

6 lines
290 B
JavaScript
Executable File

#!/usr/bin/env node
console.log("generates the canonical 'tlds.csv' csv file");
console.log("downloads the 'http://data.iana.org/TLD/tlds-alpha-by-domain.txt' file and cross references it with https://www.iana.org/domains/root/db to re-generate the 'tlds.csv' csv file");
process.exit(1);