1.0.0 • Published 5 years ago
react-public-ip v1.0.0
react-public-ip
Get public IP address in React
Install
$ npm install react-public-ip
Usage
const publicIp = require("react-public-ip");
const ipv4 = await publicIp.v4() || "";
const ipv6 = await publicIp.v6() || "";
1.0.0
5 years ago