DEPRECATED Use https://www.val.town/x/jxnblk/val-town-badge instead

Render a Val Town badge

Fork it on Val Town

import valTownBadge from "https://esm.town/v/jxnblk/valTownBadge02"; export default async function(req: Request): Promise<Response> { const badge = valTownBadge(import.meta.url); const html = ` <h1>Hello, world</h1> ${badge} `; return new Response(html, { headers: { "Content-Type": "text/html; charset=utf-8", }, }); }

Migrated from folder: _LEAVE_AS_IS/badge_LEAVE_AS_IS/valTownBadge02