3import { getEmails } from "https://esm.town/v/eric/getEmails";
4
5export let asyncSubscribe = async function() {
6 const s = await getEmails()
7 Array.from(arguments).forEach(x => s.add(x))
1import { emails } from "https://esm.town/v/eric/emails";
2
3export let getEmails = function() {
4 return new Set(emails)
5}
1export function myApi(name) {
2 return "hi " + name;
3}
1export function myApi(name) {
2 return "hi " + name;
3}
2import { set } from "https://esm.town/v/std/set?v=11";
3
4export async function deleteTask(id) {
5 await set(
6 "tasks",
5import { currentDateValues } from "https://esm.town/v/tal/currentDateValues";
6
7export async function doeMenuCalendar(req: Request) {
8 const url = new URL(req.url);
9 const menuType = url.pathname.substring(1);
1export function testHTML(req: express.Request, res: express.Response) {
2 res.send(
3 "<html lang='en'>" +
3
4export const untitled_silverGoose = (async () => {
5 async function saveTickerToSupabase(request) {
6 const { createClient } = await import(
7 "https://esm.sh/@supabase/supabase-js@2"
1export function myApi(name) {
2 return "hi " + name;
3}
1export async function myApi(name) {
2 const got = await import("got");
3 const res = await got.post("http://34.87.31.113:3000/infer", {
A helper function to build a file's email
Simple functional CSS library for Val Town
LangChain (https://langchain.com) Ambassador, KubeSphere (https://kubesphere.io) Ambassador, CNCF OpenFunction (https://openfunction.dev) TOC Member.
import { OpenAI } from "https://esm.town/v/std/openai";
export default async function(req: Request): Promise<Response> {
if (req.method === "OPTIONS") {
return new Response(null, {
headers: {
"Access-Control-Allow-Origin": "*",