public-ip 2.4.0
Get your public IP address - very fast!
public-ip@2.4.0 was published on 2017-12-01. Its manifest declares 4 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is >=4.
All public-ip versions · Permanent reference to 2.4.0 · Latest release
Package specifications
| Version | 2.4.0 |
|---|---|
| License declaration | MIT |
| Published | 2017-12-01T05:16:35.046Z |
| Node.js requirement | >=4 |
| Type declarations | Not declared |
| Runtime dependency count | 4 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | Not supplied |
| Published file count | Not supplied |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | Not declared |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 52 |
| Repository stars | 1061 |
| Repository forks | 69 |
Install public-ip 2.4.0
npm install public-ip@2.4.0 pnpm add public-ip@2.4.0 yarn add public-ip@2.4.0
Runtime dependencies
- got ^8.0.0
- pify ^3.0.0
- is-ip ^2.0.0
- dns-socket ^1.6.2
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- dns-socket@1.6.3 — direct
- got@8.3.2 — direct
- is-ip@2.0.0 — direct
- pify@3.0.0 — direct
- dns-packet@1.3.4 — indirect
- @sindresorhus/is@0.7.0 — indirect
- cacheable-request@2.1.4 — indirect
- decompress-response@3.3.0 — indirect
- duplexer3@0.1.5 — indirect
- get-stream@3.0.0 — indirect
- into-stream@3.1.0 — indirect
- is-retry-allowed@1.2.0 — indirect
- isurl@1.0.0 — indirect
- lowercase-keys@1.0.1 — indirect
- mimic-response@1.0.1 — indirect
- p-cancelable@0.4.1 — indirect
- p-timeout@2.0.1 — indirect
- safe-buffer@5.2.1 — indirect
- timed-out@4.0.1 — indirect
- url-parse-lax@3.0.0 — indirect
- url-to-options@1.0.1 — indirect
- ip-regex@2.1.0 — indirect
- ip@1.1.9 — indirect
- clone-response@1.0.2 — indirect
- http-cache-semantics@3.8.1 — indirect
- keyv@3.0.0 — indirect
- lowercase-keys@1.0.0 — indirect
- normalize-url@2.0.1 — indirect
- responselike@1.0.2 — indirect
- from2@2.3.0 — indirect
- p-is-promise@1.1.0 — indirect
- has-to-string-tag-x@1.4.1 — indirect
- is-object@1.0.2 — indirect
- p-finally@1.0.0 — indirect
- prepend-http@2.0.0 — indirect
- json-buffer@3.0.0 — indirect
- query-string@5.1.1 — indirect
- sort-keys@2.0.0 — indirect
- inherits@2.0.4 — indirect
- readable-stream@2.3.8 — indirect
- has-symbol-support-x@1.4.2 — indirect
- decode-uri-component@0.2.2 — indirect
- object-assign@4.1.1 — indirect
- strict-uri-encode@1.1.0 — indirect
- is-plain-obj@1.1.0 — indirect
- core-util-is@1.0.3 — indirect
- isarray@1.0.0 — indirect
- process-nextick-args@2.0.1 — indirect
- safe-buffer@5.1.2 — indirect
- string_decoder@1.1.1 — indirect
- util-deprecate@1.0.2 — indirect
- safe-buffer@5.1.2 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Maintained | 0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
|---|---|
| Code-Review | 2/10 — Found 6/30 approved changesets -- score normalized to 2 |
| Security-Policy | 10/10 — security policy file detected |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/public-ip/2.4.0 — retrieved 2026-10-30T20:20:07.432Z
- https://api.deps.dev/v3/systems/npm/packages/public-ip/versions/2.4.0 — retrieved 2026-10-30T20:20:07.910Z
- https://api.deps.dev/v3/systems/npm/packages/public-ip/versions/2.4.0:dependencies — retrieved 2026-10-30T20:20:07.915Z
- https://api.deps.dev/v3/projects/github.com%2Fsindresorhus%2Fpublic-ip — retrieved 2026-10-30T20:20:08.293Z