is-valid-hostname
Validate hostname based on RFC-1123
Validate hostname based on RFC-1123
Validates if string is a valid host based on RFC-7230.
[ESM] The hyperlink constuctor according to rfc1738, rfc1808, rfc2396, rfc3986 and whatwg. Works with Browser and Node.js