UNPKG

@geek/tld

Version:

Extract the TLD/domain/subdomain parts of an URL/hostname against mozilla TLDs 'official' listing .

54 lines 1.15 kB
{ "name": "@geek/tld", "version": "2.0.1-1", "description": "Extract the TLD/domain/subdomain parts of an URL/hostname against mozilla TLDs 'official' listing .", "main": "index.js", "scripts": { "update": "node update.js", "test": "npm run eslint && npm run cover", "preversion": "npm run test", "eslint": "eslint .", "checkall": "npm run eslint", "mocha": "node node_modules/mocha/bin/_mocha", "cover": "nyc mocha" }, "repository": { "type": "git", "url": "github:brentonhouse/node-tld" }, "author": "Francois Leurent <131.code@leurent.email>", "maintainers": [ { "name": "Brenton House", "email": "brenton.house@gmail.com", "url": "https://brenton.house" } ], "license": "ISC", "bugs": { "url": "https://github.com/131/node-tld/issues" }, "homepage": "https://github.com/131/node-tld", "devDependencies": { "eslint-plugin-ivs": "^1.3.0", "expect.js": "^0.3.1", "mocha": "^3.1.2", "nyc": "^15.1.0" }, "directories": { "test": "test" }, "dependencies": {}, "keywords": [ "tld", "tlds", "hostname", "subdomain", "domain", "gtld", "cctld", "uri", "url", "parser" ] }