UNPKG

pwa-asset-generator

Version:

Automates PWA asset generation and image declaration. Automatically generates icon and splash screen images, favicons and mstile images. Updates manifest.json and index.html files with the generated images according to Web App Manifest specs and Apple Hum

19 lines (17 loc) 575 B
import type { CLIOptions } from './options.js'; export interface LoggerFunction { raw(...args: string[]): void; log(...args: string[]): void; warn(...args: string[]): void; trace(...args: string[]): void; error(...args: string[] | Error[]): void; success(...args: string[]): void; } /** Logger function to print out steps of the lib @param prefix - Shows the origin of the log, e.g. function name @param options - Option flags of the library in an object */ export interface Logger { (prefix: string, options?: CLIOptions): LoggerFunction; }