browser-my-ip

Get client IP in browser.

Usage no npm install needed!

<script type="module">
  import browserMyIp from 'https://cdn.skypack.dev/browser-my-ip';
</script>

README

browser-my-ip

Get client IP in browser.

How

usage

getMyIP(function (err, data) {
    // data = "183.157.160.60"
    console.log(data)
})

License

MIT @ Jingchen Zhao