Security News
JSR Working Group Kicks Off with Ambitious Roadmap and Plans for Open Governance
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
@ip-location-db/geolite2-country
Advanced tools
This project provides ip to location database in csv.
Country csv format: ip_range_start, ip_range_end, country_code
City csv format: ip_range_start, ip_range_end, country_code, state1, state2, city, postcode, latitude, longitude, timezone
country_code
is the two-letter code defined in ISO 3166-1 alpha-2.
You can get the country name, capital, continent, currency, languages, etc.
from the country_code
by Countries Database in JSON, CSV, SQL format.
When merging multiple database, set the front database above back one. (ex. geo-whois-asn-...csv is created by merging 3 database with GeoFeed > Whois > ASN.)
Created by merging 5 RIP (afrinic, apnic, arin, lacnic, ripe ncc) IP-ASN database. ASN (Autonomous System Number) is a unique number assigned to an Autonomous System (AS) by the IANA.
Created by merging GeoFeed database from OpenGeoFeed.
Created by merging 5 RIP provided WHOIS database. There are some inconsistencies between 5 RIP.
You can download hourly updated database in tsv format from original site.
This is licensed under a Public Domain Dedication and Licence v1.0.
There are some differences from above ASN
database.
This database is donationware, please read the license carefully.
We recommend donating to webnet77, if you use this database especially for commercial use.
You could download and read the license from ip-to-country-lite or ip-to-city-lite.
These database are licensed under a Creative Commons Attribution 4.0 International License,
so, you must create attribution to DB-IP.com for using this database.
In the case of a web application, you must include a link back to DB-IP.com on pages that display or use results from the database. You may do it by pasting the HTML code snippet into your code: <a href='https://db-ip.com/'>IP Geolocation by DB-IP</a>
.
If you need better accuracy or no attribution or daily updates, please use the Commercial Version of db-ip.
GeoLite2 is created by MaxMind. The license of GeoLite2 is written in GEOLITE2_LICENSE and End User License Agreement (EULA) is written in GEOLITE2_EULA. Please carefully read the GEOLITE2_LICENSE and GEOLITE2_EULA files, if you use these database. This package comes with certain restrictions and obligations, most notably:
If you need better accuracy, please use the commercial version GeoIp2.
Of course, it depends on your use case. But the above list is too long, thus, we write down the recommendation.
geolite2-city
is the one.dbip-city
is the one.geo-whois-asn-country
database.License depends on the database which you use. Please read carefully each database license. You can use PDDL (ODC Public Domain Dedication and Licence) or CC0 (Creative Commons Zero) licensed database without attribution for any purpose. We are glad if you make a link to sapics/ip-location-db.
FAQs
Ip to location database
The npm package @ip-location-db/geolite2-country receives a total of 706 weekly downloads. As such, @ip-location-db/geolite2-country popularity was classified as not popular.
We found that @ip-location-db/geolite2-country demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
Security News
Research
An advanced npm supply chain attack is leveraging Ethereum smart contracts for decentralized, persistent malware control, evading traditional defenses.
Security News
Research
Attackers are impersonating Sindre Sorhus on npm with a fake 'chalk-node' package containing a malicious backdoor to compromise developers' projects.