Commit Graph

10 Commits

Author SHA1 Message Date
Derrick Hammer 5b9686ecdf *Add typings 2022-03-23 01:28:49 -04:00
Doug Bird 146682103e IANA updates 2018-06-21 18:07:50 -07:00
Doug Bird a5770123fb country-code fixes
- fixes to country code TLD descriptions
2018-06-14 14:05:00 -07:00
Doug Bird 8cfd3dc8b8 critical fix
- critical updates to format files due to bug in helper (and lack of unit testing)
2018-06-14 13:16:34 -07:00
Doug Bird c69d089f92 180614 TLD updates 2018-06-14 12:10:23 -07:00
Doug Bird 300cc523e0 version 2
- refactor js files to be proper module exportrs with an index.js
- fix inconsistent naming of TLD format files containing simple array of each TLD; now all named using the "list" suffix instead of some using "enum"
 - formats/js/tld-enum/list.js
 - formats/json/tld-list.json
 - formats/php/TldEnum/TldList.php
- new "desc" (description) format file; hashmap of each TLD with corresponding description
 - formats/js/tld-enum/desc.js
 - formats/json/tld-desc.json
 - formats/php/TldEnum/TldDesc.php
- new "type" format file; hashmap of each TLD with corresponding TLD type
 - formats/js/tld-enum/type.js
 - formats/json/tld-type.json
 - formats/php/TldEnum/TldType.php
- new "info" format file; array of each TLD with hashmap containing the "domain", "description", and "type" properties
 - formats/js/tld-enum/info.js
 - formats/json/tld-info.json
 - formats/php/TldEnum/TldInfo.php
- examples for new format files
 - examples/js-desc-demo.js
 - examples/js-info-demo.js
 - examples/js-type-demo.js
 - examples/php-TldDesc-demo.php
 - examples/php-TldInfo-demo.php
 - examples/php-TldType-demo.php
- fixes to bin/update-formats.sh
 - can now skip downloading data from IANA
 - creates new format files with newly created helpers
- created new helpers for new format files
 - bin/helpers/generate-js-tld-desc.js
 - bin/helpers/generate-js-tld-info.js
 - bin/helpers/generate-js-tld-type.js
 - bin/helpers/generate-json-tld-desc.js
 - bin/helpers/generate-json-tld-info.js
 - bin/helpers/generate-json-tld-type.js
 - bin/helpers/generate-php-tld-desc.php
 - bin/helpers/generate-php-tld-info.php
 - bin/helpers/generate-php-tld-type.php
2018-06-12 22:51:12 -07:00
Doug Bird 6f16a63f64 update TLDs
- latest TLD updates from iana
2018-06-12 14:09:57 -07:00
Doug Bird 50390de780 latest info from IANA 2017-12-13 20:51:14 -08:00
Doug Bird b440b1de32 make .tldList simply an array value 2017-12-13 12:41:43 -08:00
Doug Bird 2fb8666e0e npm package and path refactoring
moved around paths to facilitate node project development and npm package
2017-12-13 12:01:28 -08:00