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

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

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

Converts an IP number to IPv4 address.

Parameters

ipNum: number

The IP address to convert.

Returns

string

The IPv4 address.