Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ip2location/src/ip2location.d.ts>IPTools#ipV6ToCIDR

Deno module for IP2Location to lookup the geolocation information
Latest
method IPTools.prototype.ipV6ToCIDR
import { IPTools } from "https://deno.land/x/ip2location@8.3.0/src/ip2location.d.ts";

Returns an array of the CIDR addresses.

Parameters

ipFrom: string

The starting IP address for the CIDR.

ipTo: string

The ending IP address for the CIDR.

Returns

string[]

The array of CIDR addresses.