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

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

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

Returns the starting and ending IPv6 addresses for the CIDR.

Parameters

cidr: string

The CIDR address.

Returns

string[]

The array with the starting and ending IPv6 addresses.