@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 +14 -3
- package/package.json +1 -1
- package/pkg-bundler/README.md +14 -3
- package/pkg-bundler/iptocc_wasm_bg.wasm +0 -0
- package/pkg-bundler/package.json +1 -1
- package/pkg-deno/README.md +14 -3
- package/pkg-deno/iptocc_wasm_bg.wasm +0 -0
- package/pkg-no-modules/README.md +14 -3
- package/pkg-no-modules/iptocc_wasm_bg.wasm +0 -0
- package/pkg-no-modules/package.json +1 -1
- package/pkg-nodejs/README.md +14 -3
- package/pkg-nodejs/iptocc_wasm_bg.wasm +0 -0
- package/pkg-nodejs/package.json +1 -1
- package/pkg-web/README.md +14 -3
- package/pkg-web/iptocc_wasm_bg.wasm +0 -0
- package/pkg-web/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
# @roniemartinez/iptocc
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/@roniemartinez/iptocc)
|
|
4
|
+

|
|
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
|
|
12
|
-
-
|
|
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
package/pkg-bundler/README.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
# @roniemartinez/iptocc
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/@roniemartinez/iptocc)
|
|
4
|
+

|
|
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
|
|
12
|
-
-
|
|
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
|
package/pkg-bundler/package.json
CHANGED
package/pkg-deno/README.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
# @roniemartinez/iptocc
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/@roniemartinez/iptocc)
|
|
4
|
+

|
|
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
|
|
12
|
-
-
|
|
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
|
package/pkg-no-modules/README.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
# @roniemartinez/iptocc
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/@roniemartinez/iptocc)
|
|
4
|
+

|
|
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
|
|
12
|
-
-
|
|
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
|
package/pkg-nodejs/README.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
# @roniemartinez/iptocc
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/@roniemartinez/iptocc)
|
|
4
|
+

|
|
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
|
|
12
|
-
-
|
|
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
|
package/pkg-nodejs/package.json
CHANGED
package/pkg-web/README.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
# @roniemartinez/iptocc
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/@roniemartinez/iptocc)
|
|
4
|
+

|
|
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
|
|
12
|
-
-
|
|
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
|
package/pkg-web/package.json
CHANGED