The currently published @types/tldjs deprecates "isValid" in favour of "isValidHostname". However, the version of tld.js published on NPM does not contain "isValidHostname".
The currently published @types/tldjs deprecates "isValid" in favour of "isValidHostname".
However, the version of tld.js published on NPM does not contain "isValidHostname".