Skip to content
JS
Package

public-ip

Get your public IP address — very fast!

v8.0.0, 21 Sept 2025MITESM onlyTypes: Bundled
$ npm install public-ip

Key numbers

As of 25 Sept 2026
Weekly downloads
427.1k
+171% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
1 year ago
v8.0.0
GitHub stars
1.1k
69 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
1

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600k800kSept 2025Mar 2026Sept 2026High 697.6k (18 Aug 2026)Low 190.3k (30 Sept 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

427,101 downloads last week, 2,294,714 in the last month. The 12-month change of +171% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
035 in total
Latest version
8.0.0, 21 Sept 20251 year ago
First published
14 Sept 2014
Last push to GitHub
18 Sept 20266 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
1
Dependents on npm
-

Major versions

  1. v8 first release 8.0.0, 21 Sept 2025
  2. v7 first release 7.0.0, 26 Jul 2024
  3. v6 first release 6.0.0, 13 Jun 2022
  4. v5 first release 5.0.0, 27 Dec 2021
  5. v4 first release 4.0.0, 22 Nov 2019
  6. v3 first release 3.0.0, 14 Dec 2018
  7. v1 first release 1.0.0, 14 Sept 2014
  8. v2 first release 2.0.0, 14 Sept 2014

Recent releases

VersionPublished
8.0.021 Sept 2025
7.0.126 Jul 2024
7.0.026 Jul 2024
6.0.218 Mar 2024
6.0.124 Jun 2022
6.0.013 Jun 2022
5.0.027 Dec 2021
4.0.429 May 2021
4.0.37 Dec 2020
4.0.210 Jul 2020
4.0.130 Mar 2020
4.0.022 Nov 2019
3.2.014 Aug 2019
3.1.024 Apr 2019
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=20
Runtimes
-
Unpacked size (npm)
17 kB
Dependencies (2)
is-ipdns-socket
npm install public-ip
  • jsDelivrhttps://cdn.jsdelivr.net/npm/public-ip@8.0.0/
  • unpkghttps://unpkg.com/public-ip@8.0.0/
  • esm.shhttps://esm.sh/public-ip@8.0.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.