
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Locate the country with ip without using the network. The heaviest task took 0.01 ~ 0.05 seconds
Locate the country with ip without using the network.
This package Find matches in a total of 187,356 IP bands
The heaviest task took 0.01 ~ 0.05 seconds
Contains 22MB of national IP data. However, if you only have the country code, you can reduce it to 8 MB.
Consequently you want smaller capacity, you should use ip finder which uses network
Using npm:
npm i ip-locale --save
In Node.js:
const ipLocale = require('ip-locale');
const ipInfo1 = ipLocale('14.128.128.2');
const ipInfo2 = ipLocale('123.123.123.123');
Result:
14.128.128.2
{
countryCode: 'KR',
currencyCode: 'KRW',
regionName: 'Seoul',
countryName: 'South Korea',
isoCode: 'KOR',
phoneCode: '82'
}
123.123.123.123
{
countryCode: 'PH',
currencyCode: 'PHP',
regionName: 'Manila',
countryName: 'Philippines',
isoCode: 'PHL',
phoneCode: '63'
}
FAQs
Locate the country with ip without using the network. The heaviest task took 0.01 ~ 0.05 seconds
The npm package ip-locale receives a total of 6 weekly downloads. As such, ip-locale popularity was classified as not popular.
We found that ip-locale demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.