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

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

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

Returns the starting and ending IPv4 addresses for the CIDR.

Parameters

cidr: string

The CIDR address.

Returns

string[]

The array with the starting and ending IPv4 addresses.