parse-domain

v2.0.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

nyc mocha -R spec

release

standard-version

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