UNPKG

outers

Version:

outers - a all in one package for your day to day use

11 lines (10 loc) 586 B
import { IGetIPDetails } from "../Config/Interfaces/Functions/Get IP Details.interface"; /** * Retrieves details for a given IP address using an API. * * @param {string} IP_INFO_API_KEY The API key for accessing IP information. * @readonly login to https://https://ipinfo.io and get your API key. * @param {string} ClientIP The IP address for which to retrieve details. * @returns {Promise<IGetIPDetails>} A Promise that resolves to an object containing the IP details. */ export default function getIPDetails(IP_INFO_API_KEY: string, ClientIP: string): Promise<IGetIPDetails>;