Socket
Socket
Sign inDemoInstall

tlds

Package Overview
Dependencies
Maintainers
1
Versions
253
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tlds - npm Package Compare versions

Comparing version 0.0.2 to 1.0.0

12

History.md
1.0.0 / 2014-06-04
==================
* index: update with decoded unicode entities
* update: use "punycode" module to decode the unicode URLs
* Readme: fix "scraped" typo
* Readme: change from Wikipedia -> ICANN
* index: update using list from ICANN
* update: rewrite to use domains list from ICANN
* index: update list of TLDs
* ignore test.js in npm
# 0.0.2

@@ -3,0 +15,0 @@

338

index.js
module.exports = [
"ac",
"academy",
"accountants",
"actor",
"ad",

@@ -9,3 +12,5 @@ "ae",

"ag",
"agency",
"ai",
"airforce",
"al",

@@ -17,13 +22,26 @@ "am",

"ar",
"archi",
"arpa",
"as",
"asia",
"associates",
"at",
"attorney",
"au",
"audio",
"autos",
"aw",
"ax",
"axa",
"az",
"ba",
"bar",
"bargains",
"bayern",
"bb",
"bd",
"be",
"beer",
"berlin",
"best",
"bf",

@@ -33,10 +51,20 @@ "bg",

"bi",
"bid",
"bike",
"bio",
"biz",
"bj",
"black",
"blackfriday",
"blue",
"bm",
"bn",
"bo",
"boutique",
"br",
"bs",
"bt",
"build",
"builders",
"buzz",
"bv",

@@ -47,46 +75,124 @@ "bw",

"ca",
"cab",
"camera",
"camp",
"capital",
"cards",
"care",
"career",
"careers",
"cash",
"cat",
"catering",
"cc",
"cd",
"center",
"ceo",
"cf",
"cg",
"ch",
"cheap",
"christmas",
"church",
"ci",
"citic",
"ck",
"cl",
"claims",
"cleaning",
"clinic",
"clothing",
"club",
"cm",
"cn",
"co",
"codes",
"coffee",
"college",
"cologne",
"com",
"community",
"company",
"computer",
"condos",
"construction",
"consulting",
"contractors",
"cooking",
"cool",
"coop",
"country",
"cr",
"cs",
"credit",
"creditcard",
"cruises",
"cu",
"cv",
"cw",
"cx",
"cy",
"cz",
"dd",
"dance",
"dating",
"de",
"degree",
"democrat",
"dental",
"dentist",
"desi",
"diamonds",
"digital",
"directory",
"discount",
"dj",
"dk",
"dm",
"dnp",
"do",
"domains",
"dz",
"ec",
"edu",
"education",
"ee",
"eg",
"eh",
"email",
"engineering",
"enterprises",
"equipment",
"er",
"es",
"estate",
"et",
"eu",
"eus",
"events",
"exchange",
"expert",
"exposed",
"fail",
"farm",
"feedback",
"fi",
"finance",
"financial",
"fish",
"fishing",
"fitness",
"fj",
"fk",
"flights",
"florist",
"fm",
"fo",
"foo",
"foundation",
"fr",
"frogans",
"fund",
"furniture",
"futbol",
"ga",
"gal",
"gallery",
"gb",

@@ -99,5 +205,10 @@ "gd",

"gi",
"gift",
"gl",
"glass",
"globo",
"gm",
"gmo",
"gn",
"gop",
"gov",

@@ -107,10 +218,25 @@ "gp",

"gr",
"graphics",
"gratis",
"gripe",
"gs",
"gt",
"gu",
"guide",
"guitars",
"guru",
"gw",
"gy",
"haus",
"hiphop",
"hiv",
"hk",
"hm",
"hn",
"holdings",
"holiday",
"homes",
"horse",
"host",
"house",
"hr",

@@ -123,5 +249,12 @@ "ht",

"im",
"immobilien",
"in",
"industries",
"info",
"ink",
"institute",
"insure",
"int",
"international",
"investments",
"io",

@@ -133,2 +266,3 @@ "iq",

"je",
"jetzt",
"jm",

@@ -138,2 +272,4 @@ "jo",

"jp",
"juegos",
"kaufen",
"ke",

@@ -143,6 +279,11 @@ "kg",

"ki",
"kim",
"kitchen",
"kiwi",
"km",
"kn",
"koeln",
"kp",
"kr",
"kred",
"kw",

@@ -152,6 +293,16 @@ "ky",

"la",
"land",
"lawyer",
"lb",
"lc",
"lease",
"li",
"life",
"lighting",
"limited",
"limo",
"link",
"lk",
"loans",
"london",
"lr",

@@ -161,10 +312,21 @@ "ls",

"lu",
"luxe",
"luxury",
"lv",
"ly",
"ma",
"maison",
"management",
"mango",
"market",
"marketing",
"mc",
"md",
"me",
"media",
"meet",
"menu",
"mg",
"mh",
"miami",
"mil",

@@ -177,2 +339,8 @@ "mk",

"mobi",
"moda",
"moe",
"monash",
"mortgage",
"moscow",
"motorcycles",
"mp",

@@ -191,2 +359,3 @@ "mq",

"na",
"nagoya",
"name",

@@ -196,5 +365,7 @@ "nc",

"net",
"neustar",
"nf",
"ng",
"ni",
"ninja",
"nl",

@@ -205,6 +376,12 @@ "no",

"nu",
"nyc",
"nz",
"okinawa",
"om",
"onl",
"org",
"pa",
"paris",
"partners",
"parts",
"pe",

@@ -214,4 +391,11 @@ "pf",

"ph",
"photo",
"photography",
"photos",
"pics",
"pictures",
"pink",
"pk",
"pl",
"plumbing",
"pm",

@@ -221,21 +405,50 @@ "pn",

"pr",
"press",
"pro",
"productions",
"properties",
"ps",
"pt",
"pub",
"pw",
"py",
"qa",
"qpon",
"quebec",
"re",
"recipes",
"red",
"reise",
"reisen",
"ren",
"rentals",
"repair",
"report",
"rest",
"reviews",
"rich",
"rio",
"ro",
"rocks",
"rodeo",
"rs",
"ru",
"ruhr",
"rw",
"ryukyu",
"sa",
"saarland",
"sb",
"sc",
"schule",
"sd",
"se",
"services",
"sexy",
"sg",
"sh",
"shiksha",
"shoes",
"si",
"singles",
"sj",

@@ -247,12 +460,26 @@ "sk",

"so",
"social",
"software",
"sohu",
"solar",
"solutions",
"soy",
"space",
"sr",
"ss",
"st",
"su",
"supplies",
"supply",
"support",
"surgery",
"sv",
"sx",
"sy",
"systems",
"sz",
"tattoo",
"tax",
"tc",
"td",
"technology",
"tel",

@@ -262,2 +489,4 @@ "tf",

"th",
"tienda",
"tips",
"tj",

@@ -269,4 +498,11 @@ "tk",

"to",
"today",
"tokyo",
"tools",
"town",
"toys",
"tp",
"tr",
"trade",
"training",
"travel",

@@ -280,2 +516,4 @@ "tt",

"uk",
"university",
"uno",
"us",

@@ -285,17 +523,107 @@ "uy",

"va",
"vacations",
"vc",
"ve",
"vegas",
"ventures",
"versicherung",
"vet",
"vg",
"vi",
"viajes",
"villas",
"vision",
"vn",
"vodka",
"vote",
"voting",
"voto",
"voyage",
"vu",
"wang",
"watch",
"webcam",
"website",
"wed",
"wf",
"wien",
"wiki",
"works",
"ws",
"wtc",
"wtf",
"集团", // xn--3bst00m
"在线", // xn--3ds443g
"한국", // xn--3e0b707e
"ভারত", // xn--45brj9c
"موقع", // xn--4gbrim
"公益", // xn--55qw42g
"公司", // xn--55qx5d
"移动", // xn--6frz82g
"我爱你", // xn--6qq986b3xl
"москва", // xn--80adxhks
"қаз", // xn--80ao21a
"онлайн", // xn--80asehdb
"сайт", // xn--80aswg
"срб", // xn--90a3ac
"орг", // xn--c1avg
"삼성", // xn--cg4bki
"சிங்கப்பூர்", // xn--clchc0ea0b2g2a9gcd
"商标", // xn--czr694b
"商城", // xn--czru2d
"дети", // xn--d1acj3b
"中文网", // xn--fiq228c5hs
"中信", // xn--fiq64b
"中国", // xn--fiqs8s
"中國", // xn--fiqz9s
"భారత్", // xn--fpcrj9c3d
"ලංකා", // xn--fzc2c9e2c
"ભારત", // xn--gecrj9c
"भारत", // xn--h2brj9c
"संगठन", // xn--i1b6b1a6a2e
"网络", // xn--io0a7i
"укр", // xn--j1amh
"香港", // xn--j6w193g
"台湾", // xn--kprw13d
"台灣", // xn--kpry57d
"мон", // xn--l1acc
"الجزائر", // xn--lgbbat1ad8j
"عمان", // xn--mgb9awbf
"ایران", // xn--mgba3a4f16a
"امارات", // xn--mgbaam7a8h
"بازار", // xn--mgbab2bd
"الاردن", // xn--mgbayh7gpa
"بھارت", // xn--mgbbh1a71e
"المغرب", // xn--mgbc0a9azcg
"السعودية", // xn--mgberp4a5d4ar
"مليسيا", // xn--mgbx4cd0ab
"شبكة", // xn--ngbc5azd
"机构", // xn--nqv7f
"组织机构", // xn--nqv7fs00ema
"ไทย", // xn--o3cw4h
"سورية", // xn--ogbpf8fl
"рф", // xn--p1ai
"تونس", // xn--pgbs0dh
"みんな", // xn--q9jyb4c
"世界", // xn--rhqv96g
"ਭਾਰਤ", // xn--s9brj9c
"网址", // xn--ses554g
"游戏", // xn--unup4y
"مصر", // xn--wgbh1c
"قطر", // xn--wgbl6a
"இலங்கை", // xn--xkc2al3hye2a
"இந்தியா", // xn--xkc2dl3a5ee0h
"新加坡", // xn--yfro4i67o
"فلسطين", // xn--ygbi2ammx
"政务", // xn--zfr164b
"xxx",
"xyz",
"yachts",
"ye",
"yokohama",
"yt",
"yu",
"za",
"zm",
"zone",
"zw"
];

2

package.json
{
"name": "tlds",
"version": "0.0.2",
"version": "1.0.0",
"description": "List of TLDs",

@@ -5,0 +5,0 @@ "keywords": [

# tlds
List of TLDs, scaped from [Wikipedia](http://en.wikipedia.org/wiki/List_of_Internet_top-level_domains)
List of TLDs, scraped from [ICANN](https://www.icann.org/resources/pages/tlds-2012-02-25-en)
## License
## License

@@ -29,2 +29,2 @@ (The MIT License)

TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc