Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ip2location committed Oct 19, 2022
1 parent 3971b76 commit 0415eb3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ Below are the methods supported in this module.

|Method Name|Description|
|---|---|
|Constructor(csvFile)|Expect a IP2Location Country Information CSV file. This database is free for download at https://www.ip2location.com/free/country-information|
|getCountryInfo(countryCode)|Returns the country information.|

## Usage
Expand All @@ -231,6 +232,7 @@ Below are the methods supported in this module.

|Method Name|Description|
|---|---|
|Constructor(csvFile)|Expect a IP2Location ISO 3166-2 Subdivision Code CSV file. This database is free for download at https://www.ip2location.com/free/iso3166-2|
|getRegionCode(countryCode, regionName)|Returns the region code for the supplied country code and region name.|

## Usage
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ip2location-nodejs",
"version": "9.4.1",
"version": "9.4.2",
"description": "IP2Location geolocation component",
"keywords": [
"ip2location",
Expand Down
2 changes: 1 addition & 1 deletion src/ip2location.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var https = require("https");
const csv = require("csv-parser");

// For BIN queries
const VERSION = "9.4.1";
const VERSION = "9.4.2";
const MAX_INDEX = 65536;
const COUNTRY_POSITION = [
0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
Expand Down

0 comments on commit 0415eb3

Please sign in to comment.