import { fetchText } from "https://esm.town/v/stevekrouse/fetchText";
const browserUserAgent: string =
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.142.86 Safari/537.36";
const exampleJSX = <p>Hello, World!</p>;
console.log(
await fetchText(import.meta.url, {
headers: {
"User-Agent": browserUserAgent,
},
}),
);