1export function tmpz() {
2 console.log("hello");
3 return "bobby";
1import { fetch } from "https://esm.town/v/std/fetch";
2
3export async function girafe() {
4 let venue = "girafeparis";
5 let start_date = "03-05-2023";
1import { openapi2TS } from "https://esm.town/v/pomdtr/openapi2TS";
2
3export async function valtownOpenAPI(req: Request) {
4 return new Response(
5 await openapi2TS(
1import { fetch } from "https://esm.town/v/std/fetch";
2
3export async function listVals(req: Request) {
4 if (req.method == "GET") {
5 return Response.json({
2import { runVal } from "https://esm.town/v/std/runVal";
3
4export async function telegram(message: string) {
5 return runVal(
6 "pomdtr.sendToTelegram",
1export function myApi(name) {
2 return "hi " + name;
3}
1export function myApi(name) {
2 return "hi " + name + " fobar";
3}
1export function myApi(name) {
2 return "hi " + name;
3}
1export function myApi(name) {
2 return "hi " + name;
3}
2import { tasks } from "https://esm.town/v/ju2l0r/tasks";
3
4export async function addTask(title) {
5 const newTask = {
6 id: Math.max(...tasks.map((t) => t.id)) + 1,
A helper function to build a file's email
Simple functional CSS library for Val Town
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": "*",
LangChain (https://langchain.com) Ambassador, KubeSphere (https://kubesphere.io) Ambassador, CNCF OpenFunction (https://openfunction.dev) TOC Member.