@sequencemedia/ip
v1.0.92
Published
Resolve the internal or external IPv4 or IPv6 host address
Downloads
931
Readme
@sequencemedia/ip
Get the internal or external IPv4/IPv6 address of the host
import {
getInternalIPv4,
getExternalIPv4,
getInternalIPv6,
getExternalIPv6
} from '@sequencemedia/ip'
const internalIPv4 = getInternalIPv4()
const externalIPv4 = getExternalIPv4()
const internalIPv6 = getInternalIPv6()
const externalIPv6 = getExternalIPv6()