Skip to main content

public_ip

Get your public IP address.

🔧 How to use

import { publicIP } from 'https://deno.land/x/public_ip@v0.1.0/mod.ts';

💡 Usage

import { publicIP } from 'https://deno.land/x/public_ip@v0.1.0/mod.ts';

(async () => {
  console.log(await publicIP.v4());
  // 168.20.117.174
})();

📜 Changelog

Details changes for each release are documented in the CHANGELOG.md.

❗ Issues

If you think any of the public_ip can be improved, please do open a PR with any updates and submit any issues. Also, I will continue to improve this, so you might want to watch/star this repository to revisit.

💪 Contribution

We’d love to have your helping hand on contributions to public_ip by forking and sending a pull request!

Your contributions are heartily ♡ welcome, recognized and appreciated. (✿◠‿◠)

How to contribute:

  • Open pull request with improvements
  • Discuss ideas in issues
  • Spread the word
  • Reach out with any feedback

⚖️ License

The MIT License License: MIT