badge-maker
Version:
Shields.io badge library
15 lines (12 loc) • 349 B
TypeScript
interface Format {
label?: string
message: string
labelColor?: string
color?: string
style?: 'plastic' | 'flat' | 'flat-square' | 'for-the-badge' | 'social'
logoBase64?: string
links?: Array<string>
idSuffix?: string
}
export declare class ValidationError extends Error {}
export declare function makeBadge(format: Format): string