@roniemartinez/iptocc 1.2.3 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,11 @@
1
1
  # @roniemartinez/iptocc
2
2
 
3
- Fast, offline IPv4/IPv6 to ISO 3166-1 alpha-2 country code lookup for JavaScript.
3
+ [![npm](https://img.shields.io/npm/v/@roniemartinez/iptocc.svg?logo=npm&label=npm&style=for-the-badge)](https://www.npmjs.com/package/@roniemartinez/iptocc)
4
+ ![License](https://img.shields.io/badge/license-MIT%20OR%20Apache--2.0-blue.svg?style=for-the-badge)
5
+
6
+ WASM bindings for the [`iptocc`](https://crates.io/crates/iptocc) Rust crate. Offline IPv4 and IPv6 to ISO 3166-1 alpha-2 country code lookup.
7
+
8
+ > **Note:** Country codes reflect the country **assigned** by a **Regional Internet Registry (RIR)** to each IP block, not where the block is being used. RIR data agrees with MaxMind for **~95%** of IPv4 addresses and has minimal discrepancies for IPv6 ([Zander, 2012](https://figshare.swinburne.edu.au/articles/report/On_the_accuracy_of_IP_geolocation_based_on_IP_allocation_data/26254751)).
4
9
 
5
10
  ## Features
6
11
 
@@ -8,8 +13,8 @@ Fast, offline IPv4/IPv6 to ISO 3166-1 alpha-2 country code lookup for JavaScript
8
13
  - IPv4 and IPv6 in one call
9
14
  - Single string OR batch (array of strings)
10
15
  - Multi-target output: Node, bundlers, browser, Deno, no-modules
11
- - `iptocc` CLI installed alongside the library
12
- - Database refreshed nightly from the five Regional Internet Registries
16
+ - `iptocc` CLI installed with `npm install -g @roniemartinez/iptocc` (or use `npx`)
17
+ - Data refreshed nightly from the five Regional Internet Registries
13
18
 
14
19
  ## Install
15
20
 
@@ -37,3 +42,9 @@ $ npx @roniemartinez/iptocc 8.8.8.8 1.0.16.1
37
42
  ```
38
43
 
39
44
  Or install the package and the `iptocc` bin is on your `PATH`.
45
+
46
+ ## See also
47
+
48
+ - [iptocc](https://crates.io/crates/iptocc) — the Rust crate this binding is built on
49
+ - [iptocc on PyPI](https://pypi.org/project/iptocc/) — Python bindings
50
+ - [GitHub repo](https://github.com/roniemartinez/IPToCC)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roniemartinez/iptocc",
3
- "version": "1.2.3",
3
+ "version": "1.3.0",
4
4
  "description": "Fast, offline IP-to-country lookup. WASM bindings for the Rust iptocc crate.",
5
5
  "main": "pkg-nodejs/iptocc_wasm.js",
6
6
  "module": "pkg-bundler/iptocc_wasm.js",
@@ -1,6 +1,11 @@
1
1
  # @roniemartinez/iptocc
2
2
 
3
- Fast, offline IPv4/IPv6 to ISO 3166-1 alpha-2 country code lookup for JavaScript.
3
+ [![npm](https://img.shields.io/npm/v/@roniemartinez/iptocc.svg?logo=npm&label=npm&style=for-the-badge)](https://www.npmjs.com/package/@roniemartinez/iptocc)
4
+ ![License](https://img.shields.io/badge/license-MIT%20OR%20Apache--2.0-blue.svg?style=for-the-badge)
5
+
6
+ WASM bindings for the [`iptocc`](https://crates.io/crates/iptocc) Rust crate. Offline IPv4 and IPv6 to ISO 3166-1 alpha-2 country code lookup.
7
+
8
+ > **Note:** Country codes reflect the country **assigned** by a **Regional Internet Registry (RIR)** to each IP block, not where the block is being used. RIR data agrees with MaxMind for **~95%** of IPv4 addresses and has minimal discrepancies for IPv6 ([Zander, 2012](https://figshare.swinburne.edu.au/articles/report/On_the_accuracy_of_IP_geolocation_based_on_IP_allocation_data/26254751)).
4
9
 
5
10
  ## Features
6
11
 
@@ -8,8 +13,8 @@ Fast, offline IPv4/IPv6 to ISO 3166-1 alpha-2 country code lookup for JavaScript
8
13
  - IPv4 and IPv6 in one call
9
14
  - Single string OR batch (array of strings)
10
15
  - Multi-target output: Node, bundlers, browser, Deno, no-modules
11
- - `iptocc` CLI installed alongside the library
12
- - Database refreshed nightly from the five Regional Internet Registries
16
+ - `iptocc` CLI installed with `npm install -g @roniemartinez/iptocc` (or use `npx`)
17
+ - Data refreshed nightly from the five Regional Internet Registries
13
18
 
14
19
  ## Install
15
20
 
@@ -37,3 +42,9 @@ $ npx @roniemartinez/iptocc 8.8.8.8 1.0.16.1
37
42
  ```
38
43
 
39
44
  Or install the package and the `iptocc` bin is on your `PATH`.
45
+
46
+ ## See also
47
+
48
+ - [iptocc](https://crates.io/crates/iptocc) — the Rust crate this binding is built on
49
+ - [iptocc on PyPI](https://pypi.org/project/iptocc/) — Python bindings
50
+ - [GitHub repo](https://github.com/roniemartinez/IPToCC)
Binary file
@@ -5,7 +5,7 @@
5
5
  "Ronie Martinez <ronmarti18@gmail.com>"
6
6
  ],
7
7
  "description": "WASM bindings for iptocc, a fast IP-to-country lookup library written in Rust",
8
- "version": "1.2.3",
8
+ "version": "1.3.0",
9
9
  "license": "MIT OR Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",
@@ -1,6 +1,11 @@
1
1
  # @roniemartinez/iptocc
2
2
 
3
- Fast, offline IPv4/IPv6 to ISO 3166-1 alpha-2 country code lookup for JavaScript.
3
+ [![npm](https://img.shields.io/npm/v/@roniemartinez/iptocc.svg?logo=npm&label=npm&style=for-the-badge)](https://www.npmjs.com/package/@roniemartinez/iptocc)
4
+ ![License](https://img.shields.io/badge/license-MIT%20OR%20Apache--2.0-blue.svg?style=for-the-badge)
5
+
6
+ WASM bindings for the [`iptocc`](https://crates.io/crates/iptocc) Rust crate. Offline IPv4 and IPv6 to ISO 3166-1 alpha-2 country code lookup.
7
+
8
+ > **Note:** Country codes reflect the country **assigned** by a **Regional Internet Registry (RIR)** to each IP block, not where the block is being used. RIR data agrees with MaxMind for **~95%** of IPv4 addresses and has minimal discrepancies for IPv6 ([Zander, 2012](https://figshare.swinburne.edu.au/articles/report/On_the_accuracy_of_IP_geolocation_based_on_IP_allocation_data/26254751)).
4
9
 
5
10
  ## Features
6
11
 
@@ -8,8 +13,8 @@ Fast, offline IPv4/IPv6 to ISO 3166-1 alpha-2 country code lookup for JavaScript
8
13
  - IPv4 and IPv6 in one call
9
14
  - Single string OR batch (array of strings)
10
15
  - Multi-target output: Node, bundlers, browser, Deno, no-modules
11
- - `iptocc` CLI installed alongside the library
12
- - Database refreshed nightly from the five Regional Internet Registries
16
+ - `iptocc` CLI installed with `npm install -g @roniemartinez/iptocc` (or use `npx`)
17
+ - Data refreshed nightly from the five Regional Internet Registries
13
18
 
14
19
  ## Install
15
20
 
@@ -37,3 +42,9 @@ $ npx @roniemartinez/iptocc 8.8.8.8 1.0.16.1
37
42
  ```
38
43
 
39
44
  Or install the package and the `iptocc` bin is on your `PATH`.
45
+
46
+ ## See also
47
+
48
+ - [iptocc](https://crates.io/crates/iptocc) — the Rust crate this binding is built on
49
+ - [iptocc on PyPI](https://pypi.org/project/iptocc/) — Python bindings
50
+ - [GitHub repo](https://github.com/roniemartinez/IPToCC)
Binary file
@@ -1,6 +1,11 @@
1
1
  # @roniemartinez/iptocc
2
2
 
3
- Fast, offline IPv4/IPv6 to ISO 3166-1 alpha-2 country code lookup for JavaScript.
3
+ [![npm](https://img.shields.io/npm/v/@roniemartinez/iptocc.svg?logo=npm&label=npm&style=for-the-badge)](https://www.npmjs.com/package/@roniemartinez/iptocc)
4
+ ![License](https://img.shields.io/badge/license-MIT%20OR%20Apache--2.0-blue.svg?style=for-the-badge)
5
+
6
+ WASM bindings for the [`iptocc`](https://crates.io/crates/iptocc) Rust crate. Offline IPv4 and IPv6 to ISO 3166-1 alpha-2 country code lookup.
7
+
8
+ > **Note:** Country codes reflect the country **assigned** by a **Regional Internet Registry (RIR)** to each IP block, not where the block is being used. RIR data agrees with MaxMind for **~95%** of IPv4 addresses and has minimal discrepancies for IPv6 ([Zander, 2012](https://figshare.swinburne.edu.au/articles/report/On_the_accuracy_of_IP_geolocation_based_on_IP_allocation_data/26254751)).
4
9
 
5
10
  ## Features
6
11
 
@@ -8,8 +13,8 @@ Fast, offline IPv4/IPv6 to ISO 3166-1 alpha-2 country code lookup for JavaScript
8
13
  - IPv4 and IPv6 in one call
9
14
  - Single string OR batch (array of strings)
10
15
  - Multi-target output: Node, bundlers, browser, Deno, no-modules
11
- - `iptocc` CLI installed alongside the library
12
- - Database refreshed nightly from the five Regional Internet Registries
16
+ - `iptocc` CLI installed with `npm install -g @roniemartinez/iptocc` (or use `npx`)
17
+ - Data refreshed nightly from the five Regional Internet Registries
13
18
 
14
19
  ## Install
15
20
 
@@ -37,3 +42,9 @@ $ npx @roniemartinez/iptocc 8.8.8.8 1.0.16.1
37
42
  ```
38
43
 
39
44
  Or install the package and the `iptocc` bin is on your `PATH`.
45
+
46
+ ## See also
47
+
48
+ - [iptocc](https://crates.io/crates/iptocc) — the Rust crate this binding is built on
49
+ - [iptocc on PyPI](https://pypi.org/project/iptocc/) — Python bindings
50
+ - [GitHub repo](https://github.com/roniemartinez/IPToCC)
Binary file
@@ -4,7 +4,7 @@
4
4
  "Ronie Martinez <ronmarti18@gmail.com>"
5
5
  ],
6
6
  "description": "WASM bindings for iptocc, a fast IP-to-country lookup library written in Rust",
7
- "version": "1.2.3",
7
+ "version": "1.3.0",
8
8
  "license": "MIT OR Apache-2.0",
9
9
  "repository": {
10
10
  "type": "git",
@@ -1,6 +1,11 @@
1
1
  # @roniemartinez/iptocc
2
2
 
3
- Fast, offline IPv4/IPv6 to ISO 3166-1 alpha-2 country code lookup for JavaScript.
3
+ [![npm](https://img.shields.io/npm/v/@roniemartinez/iptocc.svg?logo=npm&label=npm&style=for-the-badge)](https://www.npmjs.com/package/@roniemartinez/iptocc)
4
+ ![License](https://img.shields.io/badge/license-MIT%20OR%20Apache--2.0-blue.svg?style=for-the-badge)
5
+
6
+ WASM bindings for the [`iptocc`](https://crates.io/crates/iptocc) Rust crate. Offline IPv4 and IPv6 to ISO 3166-1 alpha-2 country code lookup.
7
+
8
+ > **Note:** Country codes reflect the country **assigned** by a **Regional Internet Registry (RIR)** to each IP block, not where the block is being used. RIR data agrees with MaxMind for **~95%** of IPv4 addresses and has minimal discrepancies for IPv6 ([Zander, 2012](https://figshare.swinburne.edu.au/articles/report/On_the_accuracy_of_IP_geolocation_based_on_IP_allocation_data/26254751)).
4
9
 
5
10
  ## Features
6
11
 
@@ -8,8 +13,8 @@ Fast, offline IPv4/IPv6 to ISO 3166-1 alpha-2 country code lookup for JavaScript
8
13
  - IPv4 and IPv6 in one call
9
14
  - Single string OR batch (array of strings)
10
15
  - Multi-target output: Node, bundlers, browser, Deno, no-modules
11
- - `iptocc` CLI installed alongside the library
12
- - Database refreshed nightly from the five Regional Internet Registries
16
+ - `iptocc` CLI installed with `npm install -g @roniemartinez/iptocc` (or use `npx`)
17
+ - Data refreshed nightly from the five Regional Internet Registries
13
18
 
14
19
  ## Install
15
20
 
@@ -37,3 +42,9 @@ $ npx @roniemartinez/iptocc 8.8.8.8 1.0.16.1
37
42
  ```
38
43
 
39
44
  Or install the package and the `iptocc` bin is on your `PATH`.
45
+
46
+ ## See also
47
+
48
+ - [iptocc](https://crates.io/crates/iptocc) — the Rust crate this binding is built on
49
+ - [iptocc on PyPI](https://pypi.org/project/iptocc/) — Python bindings
50
+ - [GitHub repo](https://github.com/roniemartinez/IPToCC)
Binary file
@@ -4,7 +4,7 @@
4
4
  "Ronie Martinez <ronmarti18@gmail.com>"
5
5
  ],
6
6
  "description": "WASM bindings for iptocc, a fast IP-to-country lookup library written in Rust",
7
- "version": "1.2.3",
7
+ "version": "1.3.0",
8
8
  "license": "MIT OR Apache-2.0",
9
9
  "repository": {
10
10
  "type": "git",
package/pkg-web/README.md CHANGED
@@ -1,6 +1,11 @@
1
1
  # @roniemartinez/iptocc
2
2
 
3
- Fast, offline IPv4/IPv6 to ISO 3166-1 alpha-2 country code lookup for JavaScript.
3
+ [![npm](https://img.shields.io/npm/v/@roniemartinez/iptocc.svg?logo=npm&label=npm&style=for-the-badge)](https://www.npmjs.com/package/@roniemartinez/iptocc)
4
+ ![License](https://img.shields.io/badge/license-MIT%20OR%20Apache--2.0-blue.svg?style=for-the-badge)
5
+
6
+ WASM bindings for the [`iptocc`](https://crates.io/crates/iptocc) Rust crate. Offline IPv4 and IPv6 to ISO 3166-1 alpha-2 country code lookup.
7
+
8
+ > **Note:** Country codes reflect the country **assigned** by a **Regional Internet Registry (RIR)** to each IP block, not where the block is being used. RIR data agrees with MaxMind for **~95%** of IPv4 addresses and has minimal discrepancies for IPv6 ([Zander, 2012](https://figshare.swinburne.edu.au/articles/report/On_the_accuracy_of_IP_geolocation_based_on_IP_allocation_data/26254751)).
4
9
 
5
10
  ## Features
6
11
 
@@ -8,8 +13,8 @@ Fast, offline IPv4/IPv6 to ISO 3166-1 alpha-2 country code lookup for JavaScript
8
13
  - IPv4 and IPv6 in one call
9
14
  - Single string OR batch (array of strings)
10
15
  - Multi-target output: Node, bundlers, browser, Deno, no-modules
11
- - `iptocc` CLI installed alongside the library
12
- - Database refreshed nightly from the five Regional Internet Registries
16
+ - `iptocc` CLI installed with `npm install -g @roniemartinez/iptocc` (or use `npx`)
17
+ - Data refreshed nightly from the five Regional Internet Registries
13
18
 
14
19
  ## Install
15
20
 
@@ -37,3 +42,9 @@ $ npx @roniemartinez/iptocc 8.8.8.8 1.0.16.1
37
42
  ```
38
43
 
39
44
  Or install the package and the `iptocc` bin is on your `PATH`.
45
+
46
+ ## See also
47
+
48
+ - [iptocc](https://crates.io/crates/iptocc) — the Rust crate this binding is built on
49
+ - [iptocc on PyPI](https://pypi.org/project/iptocc/) — Python bindings
50
+ - [GitHub repo](https://github.com/roniemartinez/IPToCC)
Binary file
@@ -5,7 +5,7 @@
5
5
  "Ronie Martinez <ronmarti18@gmail.com>"
6
6
  ],
7
7
  "description": "WASM bindings for iptocc, a fast IP-to-country lookup library written in Rust",
8
- "version": "1.2.3",
8
+ "version": "1.3.0",
9
9
  "license": "MIT OR Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",