getIp
cddnss.getIp
Returns the external IP
Returns:
The external IP
[Promise<string>]
Example:
cddnss.getIp()
.then((ip) => {
console.log(`Your IP is ${ip}`); // "Your IP is 0.0.0.0"
});
Last updated
Was this helpful?
Returns the external IP
The external IP [Promise<string>]
Example:
cddnss.getIp()
.then((ip) => {
console.log(`Your IP is ${ip}`); // "Your IP is 0.0.0.0"
});
Last updated
Was this helpful?