@flexis/favicons
Version:
A tool for generating icons for the modern web.
23 lines • 646 B
TypeScript
export declare const extensions: {
png: RegExp;
svg: RegExp;
};
/**
* Check image type
* @param type - Image extension without dot.
* @returns Image type is supported or not.
*/
export declare function isSupportedType(type: string): boolean;
/**
* Check is "ico" or not.
* @param filename - File name to check.
* @returns Result of checking.
*/
export declare function isIco(filename: string): boolean;
/**
* Check is "svg" or not.
* @param filename - File name to check.
* @returns Result of checking.
*/
export declare function isSvg(filename: string): boolean;
//# sourceMappingURL=extensions.d.ts.map