1
2
3
4
5
6
7
8
import { fetch } from "https://esm.town/v/std/fetch";
export let valTownApiExampleUser = (async () => {
const handle = "tmcw";
const response = await fetch(`https://api.val.town/v1/alias/${handle}`);
const json = await response.json();
return json;
})();