mcpwn API
    Preparing search index...

    Interface BadgeSpec

    Static SVG status badge (§Phase-8/F2). A server author can embed the result of a scan — "mcpwn | 0 findings" (green) or "mcpwn | N findings" (red) — in their README, like a CI badge. Pure string-built shields-style flat SVG, ZERO deps (no network, no font metrics lib). Width is estimated from a fixed per-char advance so the two halves line up well enough without a font library.

    interface BadgeSpec {
        color: string;
        label: string;
        labelColor?: string;
        message: string;
    }
    Index
    color: string

    Right-half colour (any CSS/SVG colour; hex recommended).

    label: string
    labelColor?: string

    Left-half colour. Defaults to the shields.io grey.

    message: string