1export function myApi(name) {
2 return "hi " + name;
3}
3
4// Triggered when someone tells us what they want to use VT for
5export async function handleOnboardingUseCases({ auth, handle, useCases }: {
6 auth: string;
7 handle: string;
1export function myApi(name) {
2 return "hi " + name;
3}
3import { cryptoFearAndGreedIndex } from "https://esm.town/v/chrispie/cryptoFearAndGreedIndex";
4
5export async function pollCryptoFearAndGreedIndex() {
6 let index = await cryptoFearAndGreedIndex();
7 const date = Date.now();
1export function myApi(name) {
2 return "hi " + name;
3}
1export function myApi(name) {
2 return "hi " + name;
3}
1export function add(a, b) {
2 return a + b;
3}
1export function myApi(name) {
2 return "hi " + name;
3}
8// 5. When you are on any page, click the newly added bookmark
9// It should generate a QR code that you can scan and open on your mobile
10export async function generateQR(req, res) {
11 const url = req.query.url;
12 res.set("Content-Type", "text/html");
3import { hnLatestPosts } from "https://esm.town/v/stevekrouse/hnLatestPosts?v=18";
4
5export async function hnClojure({ lastRunAt }: Interval) {
6 let posts = await hnLatestPosts({
7 query: "clojure",
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.