UNPKG

wpt-api-client

Version:

Unofficial Node.js client for the WebPageTest REST API

14 lines 464 B
import type { Location as Location, LocationId } from './types'; declare type Data = { [key in LocationId]: Location; }; export declare type Locations = () => Promise<Data>; declare type MakeLocations = (wptServer?: string) => Locations; /** * Create function to call the /getLocations.php endpoint. * * https://webpagetest.org/getLocations.php?f=html */ export declare const makeLocations: MakeLocations; export {}; //# sourceMappingURL=locations.d.ts.map