Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

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

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

Converts an IPv4 address to IP number.

Parameters

myIP: string

The IP address to convert.

Returns

number

The IP number.