UNPKG

@cylution/is-cloudflare-ip

Version:
11 lines (10 loc) 354 B
import { SubnetInfo } from 'ip'; export declare const parseList: (res: string) => string[]; export declare const getV4List: () => Promise<string>; export declare const getV6List: () => Promise<string>; declare type SubnetInfos = { v4: SubnetInfo[]; v6: SubnetInfo[]; }; export declare const getSubnetInfos: () => Promise<SubnetInfos>; export {};