node-tld
node-tld copied to clipboard
Nodejs TLD extract
Seems like typescript support was added but the version wasn't updated and therefore the types are not available in the latest package version.
I'm not sure how this is the case, but I'm still getting an error thrown even when `allowUnknownTLD` is set to true. As a result I've had to surround the...
Hello, I've found some issues 1. `gov.vc` is a website, not tld 2. `ipv6.ye` there we get `parts: [ 'ipv6', 'ye' ] --- tld_level: 2` 3. `gov.ge` also the website,...
receiving the following error while trying ` parser("www.google.com")` ``` TypeError: Cannot read property 'split' of null at parse_host (\node_modules\tld-extract\index.js:23:20) at parse_url (\node_modules\tld-extract\index.js:9:10) ```
Hello, Great library! What's the recommended way of handling errors caused by invalid TLDs, please?