UNPKG

@7c/parsedomain

Version:

Splits an url into sub-domain, domain and effective top-level-domain

51 lines (50 loc) 1.1 kB
{ "name": "@7c/parsedomain", "version": "2.2.0", "description": "Splits an url into sub-domain, domain and effective top-level-domain", "main": "./lib/parseDomain.js", "scripts": { "test": "nyc mocha -R spec", "posttest": "eslint lib test", "postinstall": "node scripts/build-tries.js", "prepare": "node scripts/write-pre.js", "release": "standard-version" }, "keywords": [ "domain", "url", "sub-domain", "tld", "parse", "extract", "sanitize", "country", "top-level" ], "repository": { "type": "git", "url": "https://github.com/7c/parsedomain.git" }, "dependencies": { "chai": "^4.1.2", "fs-copy-file-sync": "^1.1.1", "got": "^8.0.1", "mkdirp": "^0.5.1", "mocha": "^4.0.1" }, "devDependencies": { "eslint": "^4.12.1", "eslint-config-peerigon": "^12.0.1", "eslint-plugin-import": "^2.8.0", "eslint-plugin-jsdoc": "^3.2.0", "nyc": "^11.3.0", "standard-version": "^4.2.0" }, "files": [ "lib", "scripts", "lists", "test", "build/tries/pre" ] }