@micrio/tiler-base
Version:
The base Micrio client-side tiler package used by the Micrio CLI and GUI tools
8 lines (7 loc) • 436 B
TypeScript
export declare const sanitize: (f: string, outDir: string) => string;
/** Check if a file exists */
export declare const fsExists: (filePath: string) => Promise<boolean>;
/** Walk through a directory and all of its recursive subdirectories and return all files in it */
export declare function walkSync(name: string): Promise<string[]>;
/** Convert a julian date to a timestamp */
export declare const jdToTime: (jd: number) => number;