New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ip.me

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ip.me

Request ip.me for your current IP or any existing IP.

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

ip.me

Fetch IP geolocation information and WhoIs data from ip.me.

const ipme = require("ip.me");

(async function() {
  let userIp = await ipme.ip();
  console.log(`IP Information (Personal):`, userIp);

  let googleIp = await ipme.ip("8.8.8.8");
  console.log(`\n\nIP Information (Google DNS):`, googleIp);

  let whois = await ipme.whois("google.com");
  console.log(`\n\nWhois Information (google.com):\n\n`, whois);

  let whois2 = await ipme.whois("https://ip.me/");
  console.log(`\n\nWhois Information (ip.me):\n\n`, whois2);
})();

Keywords

ip

FAQs

Package last updated on 09 Aug 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts