UNPKG

pwa-asset-generator

Version:

A JavaScript library that automates PWA asset generation and image declaration. It automatically generates icon and splash screen images, guided by Web App Manifest specs and Apple Human Interface guidelines. It also updates manifest.json and index.html f

19 lines (17 loc) 557 B
import { CLIOptions } from './options'; export interface LoggerFunction { raw(...args: string[]): void; log(...args: string[]): void; warn(...args: string[]): void; trace(...args: string[]): void; error(...args: string[]): 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; }