/** @jsx h */ import { h, PageConfig, PageProps, useData } from "../../deps.ts"; export default function ModuleInfoPage({ params }: PageProps) { const module = params.module; if (module.includes("/")) { return
The module `{params.module}` has {versions.length} versions, with {latest} {" "} being the most recent.
); } interface ModuleInfo { latest: string; versions: string[]; } async function fetcher(url: string): Promise