1export function myApi(name) {
2 return "hi " + name;
3}
1export function myApi(name) {
2 return "hi " + name;
3}
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) {}
1export function devNull(...args: any[]) {
2 return null;
3}
2import { testEmails } from "https://esm.town/v/stevekrouse/testEmails";
3
4export function testEmail(e: {
5 from: string;
6 to: string[];
3import { newRSSItems } from "https://esm.town/v/stevekrouse/newRSSItems";
4
5export async function rssDemo1(interval) {
6 const items = await newRSSItems({
7 url: inkAndSwitchRssUrl,
3import { newRSSItems } from "https://esm.town/v/stevekrouse/newRSSItems";
4
5export async function rssDemo10(interval) {
6 let items = await newRSSItems({
7 url: inkAndSwitchRssUrl,
1export function eval(num) {
2 if (num < 0) return -1;
3 else if (num == 0) return 1;
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": "*",