parse-domain

v1.1.0
Splits an url into sub-domain, domain and effective top-level-domain
domain url sub-domain tld parse extract sanitize country top-level and 1 more...

test

mocha -R spec

coverage

istanbul cover ./node_modules/mocha/bin/_mocha

posttest

eslint lib test

build-regex

node lib/build/buildRegex.js

download-tld

curl https://publicsuffix.org/list/public_suffix_list.dat > lib/build/tld.txt

update-regex

npm run download-tld && npm run build-regex && npm run test

Metadata

Downloads

Maintainers