@loaders.gl/core
Version:
The core API for working with loaders.gl loaders and writers
10 lines • 466 B
TypeScript
export declare function isNodePath(url: string): boolean;
export declare function isRequestURL(url: string): boolean;
export declare function isDataURL(url: string): boolean;
/**
* fetch API compatible function
* - Supports fetching from Node.js local file system paths
* - Respects pathPrefix and file aliases
*/
export declare function fetchFile(urlOrData: string | Blob, fetchOptions?: RequestInit): Promise<Response>;
//# sourceMappingURL=fetch-file.d.ts.map