getIpv6
cddnss.getIpv6
Returns the external IPv6
Returns:
The external IPv6
[Promise<string>]
Example:
cddnss.getIpv6()
.then((ip) => {
console.log(`Your IP is ${ip}`); // "Your IP is 2001:0db8:85a3:0000:0000:8a2e:0370:7334"
});
Last updated
Was this helpful?