bknd
Version:
Lightweight Firebase/Supabase alternative built to run anywhere — incl. Next.js, React Router, Astro, Cloudflare, Bun, Node, AWS Lambda & more.
13 lines (12 loc) • 663 B
TypeScript
export declare const Q: {
readonly video: readonly ["mp4", "webm"];
readonly audio: readonly ["ogg"];
readonly image: readonly ["jpeg", "png", "gif", "webp", "bmp", "tiff", "avif", "heic", "heif"];
readonly text: readonly ["html", "css", "mdx", "yaml", "vcard", "csv", "vtt"];
readonly application: readonly ["zip", "xml", "toml", "json", "json5"];
readonly font: readonly ["woff", "woff2", "ttf", "otf"];
};
export declare const M: Map<string, string>;
export declare function guess(f: string): string;
export declare function isMimeType(_mime: any, exclude?: string[]): boolean;
export declare function extension(_mime: string): string;