extract-tld
Version:
Extract the TLD from a URL against the [public suffix list](https://publicsuffix.org/).
51 lines (50 loc) • 1.15 kB
JSON
{
"name": "extract-tld",
"version": "1.1.2",
"source": "src/index.ts",
"main": "dist/index.js",
"module": "dist/module.js",
"types": "dist/index.d.ts",
"files": ["dist"],
"homepage": "https://github.com/grug/extract-tld",
"bugs": {
"url": "https://github.com/grug/extract-tld/issues"
},
"description": "",
"scripts": {
"watch": "parcel watch",
"check": "tsc --noEmit",
"build": "parcel build",
"test": "jest",
"updateList": "ts-node scripts/updateTlds.ts"
},
"keywords": [
"tld",
"tlds",
"hostname",
"domain",
"subdomain",
"parser",
"gtld",
"cctld",
"url",
"uri",
"utility"
],
"author": "Dave Cooper <dave@davecooper.dev>",
"license": "ISC",
"devDependencies": {
"@parcel/core": "^2.6.2",
"@parcel/packager-ts": "^2.6.2",
"@parcel/transformer-typescript-types": "^2.6.2",
"@types/jest": "^28.1.4",
"@types/node": "^18.0.3",
"jest": "^28.1.2",
"jest-environment-jsdom": "^28.1.2",
"node-fetch": "^2.6.7",
"parcel": "^2.6.2",
"ts-jest": "^28.0.5",
"ts-node": "^10.8.2",
"typescript": "^4.7.4"
}
}