🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

ip2ldb-reader

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ip2ldb-reader - npm Package Compare versions

Comparing version
2.1.0
to
2.1.1
+1
-1
package.json
{
"name": "ip2ldb-reader",
"version": "2.1.0",
"version": "2.1.1",
"description": "Reader for IP2Location databases",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -81,3 +81,3 @@ # ip2ldb-reader

```JavaScript
```TypeScript
{

@@ -91,2 +91,4 @@ ip: string | null;

areacode?: string;
as?: string;
asn?: string;
category?: string;

@@ -97,2 +99,3 @@ city?: string;

country_short?: string;
district?: string;
domain?: string;

@@ -121,4 +124,4 @@ elevation?: string;

```JavaScript
CountryInfoData: {
```TypeScript
CountryInfoData = {
capital: string;

@@ -144,4 +147,4 @@ cctld?: string;

```JavaScript
IataIcaoData: {
```TypeScript
IataIcaoData = {
airport: string;

@@ -197,4 +200,4 @@ iata: string;

- [IP2LOCATION-LITE-DB1.BIN](https://lite.ip2location.com/database/db1-ip-country) - LITE IP-COUNTRY DB1 IPv4 database in BIN format
- [IP2LOCATION-SAMPLE-DB25.IPV6.BIN](https://www.ip2location.com/database/db25-ip-country-region-city-latitude-longitude-zipcode-timezone-isp-domain-netspeed-areacode-weather-mobile-elevation-usagetype-addresstype-category) - Sample DB25 IPv6 database in BIN format
- [IP2LOCATION-SAMPLE-DB26.IPV6.BIN](https://www.ip2location.com/database/db26-ip-country-region-city-latitude-longitude-zipcode-timezone-isp-domain-netspeed-areacode-weather-mobile-elevation-usagetype-addresstype-category-district-asn) - Sample DB26 IPv6 database in BIN format
Note that the _sample_ DB25 database is expected for unit tests, not the full, paid database.
Note that the _sample_ DB26 database is expected for unit tests, not the full, paid database.