Deno port of ipaddr.js library. Used by proxy_addr.
import { isValid } from 'https://deno.land/x/ipaddr.js/mod.ts'
isValid('127.0.0.1') // true
-
prefixLengthFromSubnetMask
-
toString
-
toNormalizedString
-
toByteArray
-
broadcastAddressFromCIDR
-
isIPv4
-
isValidFourPartDecimal
-
isValid
-
networkAddressFromCIDR
-
parse
-
parseCIDR
-
subnetMaskFromPrefixLength
-
match
-
range
-
subnetMatch
-
toIPv4MappedAddress
-
broadcastAddressFromCIDR
-
isIPv6
-
isValid
-
networkAddressFromCIDR
-
parse
-
parseCIDR
-
subnetMaskFromPrefixLength
-
isIPv4MappedAddress
-
match
-
range
-
subnetMatch
-
toIPv4Address
-
toRFC5952String