Readme

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", }, }); }
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
jxnblk-valtownbadge02.web.val.run
Updated: May 24, 2024