rename tld-enum

This commit is contained in:
Doug Bird 2017-12-13 21:26:09 -08:00
parent c8d937c829
commit bf9154c515
2 changed files with 11 additions and 14 deletions

View File

@ -1,27 +1,27 @@
# TLD Lists
# TLD Enumerations
Lists of every [ICANN TLD](https://www.icann.org/resources/pages/tlds-2012-02-25-en) in formats that can be natively compiled in various language targets.
Lists of every [IANA TLD](http://data.iana.org/TLD/tlds-alpha-by-domain.txt) in formats that can be natively compiled in various language targets.
A [canonical list of TLDs in CSV format](/tlds.csv) was used to generate the native formats.
## List Formats
* **PHP**: [TldEnum.php](/formats/php/TldEnum/TldEnum.php)
A PHP source file providing a class with a constant having an array value comprised of every ICANN TLD.
A PHP source file providing a class with a constant having an array value comprised of every IANA TLD.
* **JSON**: [tld-list.json](/formats/json/tld-list.json)
A JSON formatted array comprised of every ICANN TLD.
A JSON formatted array comprised of every IANA TLD.
* **JavaScript**: [tld-enum.js](/formats/js/tld-enum.js)
An export module with a constant having an array value comprised of every ICANN TLD.
An export module with a constant having an array value comprised of every IANA TLD.
## Legal
The source code in this project is based on a fork of certain source code originally from the [incognico/list-of-top-level-domains](https://github.com/incognico/list-of-top-level-domains) project, as retrieved on 2017-12-04, which was published to the public domain.
### Copyright
TLD Lists - https://github.com/katmore/tld-list
TLD Enumerations - https://github.com/katmore/tld-enum
The following copyright notice applies to all resources in this project unless specifically noted otherwise:

View File

@ -1,21 +1,18 @@
{
"name": "tld-list",
"name": "tld-enum",
"version": "1.0.4",
"description": "Lists of every ICANN TLD in formats that can be natively compiled in various language targets",
"description": "Lists of every IANA TLD in formats that can be natively compiled in various language targets",
"main": "formats/js/tld-enum.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/katmore/tld-list.git"
"url": "git+https://github.com/katmore/tld-enum.git"
},
"author": "Doug Bird",
"license": "MIT",
"bugs": {
"url": "https://github.com/katmore/tld-list/issues"
"url": "https://github.com/katmore/tld-enum/issues"
},
"homepage": "https://github.com/katmore/tld-list#readme",
"homepage": "https://github.com/katmore/tld-enum#readme",
"devDependencies": {
"async-request": "^1.2.0",
"cheerio": "^1.0.0-rc.2",