3import { verifyAPIAuth } from "https://esm.town/v/stevekrouse/verifyAPIAuth";
4
5export async function exampleAuthApi(arg1, arg2, auth) {
6 let { handle } = await verifyAPIAuth(auth);
7 if (handle) {
1import { wikidata } from "https://esm.town/v/stevekrouse/wikidata";
2
3export async function alive(name) {
4 let data = await wikidata(
5 `SELECT ?person ?personLabel ?birth_date ?death_date WHERE {
1import { valTownInspirationEmail } from "https://esm.town/v/rodrigotello/valTownInspirationEmail?v=79";
2
3export async function valTownDailyInspo() {
4 return await valTownInspirationEmail();
5}
2
3export let duckdbExample = (async () => {
4 async function createWorker(url: string) {
5 const workerScript = await fetch(url);
6 const workerURL = URL.createObjectURL(await workerScript.blob());
1export async function exampleExpressHandler(
2 req: express.Request,
3 res: express.Response
1export function runOnPageLoad(name) {
2 console.email("page loaded!");
3 return `hi ${name} from val town!`;
1let { pollRSSInkAndSwitch } = await import("https://esm.town/v/stevekrouse/pollRSSInkAndSwitch");
2
3export function setPollRSSInkAndSwitch(newVal) {
4 pollRSSInkAndSwitch = newVal;
5}
1import { h } from "https://esm.town/v/tmcw/h";
2
3export function t(tag: string, args: any = {}, children: any[] = []) {
4 const func = (...argsOrChildren: any) => {
5 if (Array.isArray(argsOrChildren[0]))
47
48
49 function render() {
50 const width = window.innerWidth;
51 const output = Plot.plot({
1export function cloudmailin(req, res) {}