tornado-scripts/dist/ip.d.ts

21 lines
686 B
TypeScript
Raw Permalink Normal View History

2025-01-21 17:34:04 +00:00
import { fetchDataOptions } from './providers';
2024-10-25 14:09:24 +00:00
export interface IPResult {
ip: string;
iso?: string;
2025-01-21 17:34:04 +00:00
country?: string;
country_iso?: string;
2024-10-25 14:09:24 +00:00
tor?: boolean;
}
2025-01-21 17:34:04 +00:00
export declare function fetchIp(ipEcho: string, fetchOptions?: fetchDataOptions): Promise<IPResult>;
export interface IPResultFuck {
YourFuckingIPAddress: string;
YourFuckingLocation: string;
YourFuckingHostname: string;
YourFuckingISP: string;
YourFuckingTorExit: boolean;
YourFuckingCity?: string;
YourFuckingCountry: string;
YourFuckingCountryCode: string;
}
export declare function fetchFuckingIp(ipFuck?: string, fetchOptions?: fetchDataOptions): Promise<IPResultFuck>;