Gathering detailed insights and metrics for what-is-my-ip-address
Gathering detailed insights and metrics for what-is-my-ip-address
Gathering detailed insights and metrics for what-is-my-ip-address
Gathering detailed insights and metrics for what-is-my-ip-address
npm install what-is-my-ip-address
Typescript
Module System
Node Version
NPM Version
66.5
Supply Chain
81.6
Quality
74.9
Maintenance
50
Vulnerability
99.6
License
TypeScript (81.05%)
JavaScript (18.95%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
2 Stars
9 Commits
2 Watchers
1 Branches
1 Contributors
Updated on Nov 18, 2022
Latest Version
1.0.3
Package Id
what-is-my-ip-address@1.0.3
Size
3.86 kB
NPM Version
5.1.0
Node Version
8.0.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
Your external IP address in a JavaScript library.
I am aware that there are other libraries out there to get your public / external IP right with JavaScript (public-ip, external-ip). But they faced a serious compatibility issue: they did not support ES5.
Although some think that ES5 is a thing of a past (with all due respect), some builders are still requiring it, for example Uglify (which comes built-in with angular-cli). Thus, it is currently recommended to transpile to ES5.
What-Is-My-Ip-Address
aims to support developers looking forward to gather their IP address on the client side. The latest versions of Node should be fine regardless since they understand ES6.
npm install --save what-is-my-ip-address
IP v4:
var ip = require('what-is-my-ip-address');
ip.v4()
.then((ip) => {
...
})
.catch((error) => {
// Do you have IP v4?
});
IP v6:
var ip = require('what-is-my-ip-address');
ip.v6()
.then((ip) => {
...
})
.catch((error) => {
// Do you have IP v6?
});
Contributions are very welcome.
To @major/icanhaz for his awesome IP address service.
MIT © Gerard Rovira Sánchez
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 0/9 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
61 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More