parse('https://google.');
// returns
{
"domain": null,
"domainWithoutSuffix": null,
"hostname": "google",
"isIcann": true, // incorrect
"isIp": false,
"isPrivate": false,
"publicSuffix": "google",
"subdomain": null
}
parse('https://googles.');
// returns
{
"domain": null,
"domainWithoutSuffix": null,
"hostname": "googles",
"isIcann": false, // correct
"isIp": false,
"isPrivate": false,
"publicSuffix": "googles",
"subdomain": null
}
"tldts": "7.0.9",