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

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

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

Converts IPv6 into binary string representation.

Parameters

myIP: string

The IPv6 address to convert.

Returns

string

The binary string representation.