npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

hackmyip

v1.1.0

Published

Free API client for IP lookup, email breach checking, and privacy scoring. No API key required.

Readme


What is HackMyIP?

HackMyIP is a free, all-in-one privacy toolkit with 35 tools for checking your IP, testing for leaks, and analyzing your online privacy. Everything runs on Cloudflare's edge network. No signup, no API key, no tracking.

One place instead of juggling HaveIBeenPwned + DNSLeakTest + BrowserLeaks + WhatIsMyIP + ipleak.net.

Tools

Privacy & Security

| Tool | Description | Link | |------|-------------|------| | IP Lookup | Your IP, location, ISP, and privacy grade | Try it | | Email Breach Checker | Check if your email was leaked in data breaches | Try it | | Privacy Checkup | Full privacy audit with letter grade | Try it | | DNS Leak Test | Check if your DNS queries are leaking | Try it | | WebRTC Leak Test | Check if WebRTC is exposing your real IP | Try it | | Browser Fingerprint | See how unique and trackable your browser is | Try it | | Torrent Leak Test | Check if torrents expose your real IP | Try it | | Proxy/VPN Detector | Detect if an IP is a proxy, VPN, or datacenter | Try it | | SSL/TLS Checker | Check a domain's SSL certificate and security | Try it | | Password Strength | Test how strong your password is | Try it | | Password Generator | Generate secure passwords | Try it | | IP Blacklist Check | Check if an IP is on any blacklists | Try it |

Network Tools

| Tool | Description | Link | |------|-------------|------| | Speed Test | Test your connection speed | Try it | | DNS Lookup | Query DNS records for any domain | Try it | | WHOIS Lookup | Domain and IP registration data | Try it | | Port Scanner | Check open ports on your connection | Try it | | Traceroute | Trace the path to any destination | Try it | | Reverse DNS | Find hostnames for any IP | Try it | | Subnet Calculator | Calculate CIDR ranges and subnets | Try it | | CIDR Calculator | IP range calculations | Try it | | Bulk IP Lookup | Look up multiple IPs at once | Try it | | Email Header Analyzer | Parse and analyze email headers | Try it | | Is It Down? | Check if a service is down right now | Try it | | Headers Check | View your HTTP request headers | Try it |

Browser & Device Info

| Tool | Description | Link | |------|-------------|------| | Browser Info | Detailed browser capabilities | Try it | | Screen Info | Display resolution and device info | Try it | | User Agent Parser | Parse and decode user agent strings | Try it | | Timezone Test | Detect timezone discrepancies | Try it | | Language Detection | Browser language settings | Try it | | Location Test | Geolocation API test | Try it |

Developer Utilities

| Tool | Description | Link | |------|-------------|------| | Base64 Encode/Decode | Base64 converter | Try it | | JSON Formatter | Pretty-print and validate JSON | Try it | | Hash Generator | MD5, SHA-1, SHA-256 hashing | Try it | | URL Encoder | URL encode/decode | Try it | | QR Code Generator | Generate QR codes | Try it |

IP by Country

Browse IP infrastructure for 190+ countries with privacy scores, ISP data, and city-level pages.

API

Free API with no key required. Use directly or via the npm client.

Install

npm install hackmyip

Quick Start (ESM)

import hackmyip from 'hackmyip';

// Get your IP + location + privacy grade
const me = await hackmyip.getMyIP();
console.log(me.ip);              // "203.0.113.42"
console.log(me.privacy.grade);   // "A"

// Look up any IP
const data = await hackmyip.lookup("8.8.8.8");
console.log(data.location.city); // "Ashburn"

// Check email breaches
const breach = await hackmyip.checkBreach("[email protected]");
console.log(breach.breaches);    // 13
console.log(breach.risk.level);  // "high"

// DNS records for a domain
const dns = await hackmyip.dnsLookup("github.com", "MX");
console.log(dns.records);         // [{ name, type, TTL, data }, ...]

// WHOIS / RDAP registration data
const who = await hackmyip.whois("example.com");
console.log(who.registrar, who.expiration_date);

// Is a site up or down?
const site = await hackmyip.checkSite("example.com");
console.log(site.is_up, site.response_time_ms);

Quick Start (CommonJS)

const { getMyIP, lookup, dnsLookup, checkBlacklist } = require('hackmyip');

const me = await getMyIP();
console.log(me.ip, me.privacy.grade);

const bl = await checkBlacklist("203.0.113.42");
console.log(bl.status);          // "CLEAN" | "WARNING" | "BLACKLISTED"

Methods

| Method | Endpoint | Description | |--------|----------|-------------| | getMyIP() | GET /api/ip | Your IP + geolocation + privacy score | | lookup(ip) | GET /api/lookup | Geolocation + network for any IP | | getPrivacyScore() | GET /api/score | IP cleanliness + VPN/datacenter detection | | checkBreach(email) | GET /api/breach | Email breach check + password exposure | | dnsLookup(domain, type?) | GET /api/dns | DNS records (A, AAAA, MX, NS, TXT, …) | | whois(domain) | GET /api/whois | WHOIS / RDAP registration data | | reverseDns(ip) | GET /api/rdns | Reverse DNS (PTR) hostname | | checkBlacklist(ip) | GET /api/blacklist | DNSBL reputation across 12 blocklists | | checkSite(url) | GET /api/down | Is a site up or down + response time | | bulkLookup(ips) | POST /api/bulk | Look up up to 50 IPs at once |

Every method returns the data payload directly and throws an Error on failure. Full docs: hackmyip.com/api

The npm client covers the JSON API tools. Browser-based tools on the site (WebRTC/DNS leak tests, browser fingerprint, speed test) require a real browser and aren't part of the Node client.

Why HackMyIP?

  • 35 tools in one place (vs 1-2 per competitor)
  • No signup, no API key for anything
  • Fast — runs on Cloudflare's global edge network
  • Privacy-first — built to minimize data retention, runs on Cloudflare's edge with no persistent logging
  • Multi-language — English, 简体中文, 繁體中文
  • Free — no premium tier, no usage limits

Alternatives

| Tool | Tools | Free | No Signup | Edge Speed | API | |------|-------|------|-----------|------------|-----| | HackMyIP | 35 | Yes | Yes | Yes (CF) | Yes | | ipleak.net | 5 | Yes | Yes | No | No | | browserleaks.com | 8 | Yes | Yes | No | No | | whatismyipaddress.com | 3 | Yes | Yes | No | No | | jason5ng32/MyIP | 15 | Yes | Yes | No | No |

Contributing

Found a bug? Want a new tool? Open an issue.

License

MIT