UNPKG

gip

Version:

Dependency-free, TypeScript-friendly module and CLI tool that uses the Fetch API to retrieve your real public IPv4 address.

10 lines (9 loc) 209 B
declare module "gip" { interface Options { services?: string[]; ensure?: number; timeout?: number; verbose?: boolean; } export default function gip(options?: Options): Promise<string>; }