UNPKG

@hv-kit/hexpress

Version:

facilitates typescript backend development with express

14 lines 769 B
export declare function CreateDirectoryIfNotExists(dir: string, returnErr?: boolean): Promise<boolean | void>; export declare function GetFileExtension(file: any): string; export declare function FetchImage(src: string): Promise<any>; export declare function FileToBase64(link: string): string; export declare function Base64toFile(dataurl: string, dest?: string | undefined, formatFilename?: (filename: string) => string): Promise<string>; declare const _default: { CreateDirectoryIfNotExists: typeof CreateDirectoryIfNotExists; GetFileExtension: typeof GetFileExtension; FetchImage: typeof FetchImage; FileToBase64: typeof FileToBase64; Base64toFile: typeof Base64toFile; }; export default _default; //# sourceMappingURL=file.d.ts.map