is-valid-host

Validates if string is a valid host based on RFC-7230.

Browse on unpkg