UNPKG

is-private-host

Version:

Check if a hostname or URL resolves to a private IP address

4 lines (3 loc) 184 B
export {type HostResolveInfo, isPrivateHost} from './isPrivateHost.js' export {isPrivateIP} from './isPrivateIP.js' export {isPrivateUrl, type UrlResolveInfo} from './isPrivateUrl.js'