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", {
44 let dest = new Array(26);
45
46 function encode(ulid) {
47 dest[0] = BASE32[ulid[0] >> 5];
48 dest[1] = BASE32[(ulid[0] >> 0) & 0x1f];
64 }
65
66 return function () {
67 let now = Date.now();
68 if (now === last) {
1export let testHtml = function (req, res) {
2 res.send("<html><h1>hi!</h1></html>");
3};
1import { interactiveBrokersMargins2Table } from "https://esm.town/v/simone/interactiveBrokersMargins2Table";
2
3export async function interactiveBrokersMargins2Rendered(req, res) {
4 res.send(await interactiveBrokersMargins2Table());
5}
3import { hnLatestPosts } from "https://esm.town/v/stevekrouse/hnLatestPosts?v=18";
4
5export async function hnFollowPollJobTest(interval: Interval) {
6 let posts = await hnLatestPosts({
7 authors: hackerNewsAuthors,
1import { fetchJSON } from "https://esm.town/v/stevekrouse/fetchJSON?v=41";
2
3export async function fetchTwitterUser({ id, accessToken, query = "" }: {
4 id: string;
5 accessToken: string;
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": "*",