UNPKG

@docyrus/logo-asset-generator

Version:

CLI tool to generate favicon and app icons from a source logo

18 lines (16 loc) 610 B
interface AssetSize { name: string; size: number; purpose?: string; } interface GeneratorOptions { logoPath: string; htmlPath: string; outputDir?: string; sizes?: AssetSize[]; } declare function downloadImage(url: string): Promise<Buffer>; declare function loadImage(imagePath: string): Promise<Buffer>; declare function generateAssets(options: GeneratorOptions): Promise<void>; declare function updateHtmlMetaTags(htmlPath: string, sizes: AssetSize[]): Promise<void>; export { type AssetSize, type GeneratorOptions, downloadImage, generateAssets, loadImage, updateHtmlMetaTags };