7}: {
8 apikey: string,
9 function:
10 | "TIME_SERIES_INTRADAY"
11 | "TIME_SERIES_INTRADAY_EXTENDED"
2import { setCounter } from "https://esm.town/v/ae_play/setCounter";
3
4export function counterTest() {
5 setCounter(c => c + 1);
6 console.log(counter);
3import { hnLatestPosts } from "https://esm.town/v/stevekrouse/hnLatestPosts?v=18";
4
5export async function hnFollowPollJob({ lastRunAt }) {
6 let posts = await hnLatestPosts({
7 authors: hackerNewsAuthors,
1export function myApi(name) {
2 return "hi " + name;
3}
1export function myApi(name) {
2 return "hi " + name;
3}
1export async function sendTime() {
2 console.email(": nice to see you!");
3}
3import { fetchJSON } from "https://esm.town/v/stevekrouse/fetchJSON?v=41";
4
5export async function nowCastPMAQI({ location_id }) {
6 const { results } = await fetchJSON(
7 "https://api.openaq.org/v2/measurements?" +
1import { tidbytCircle } from "https://esm.town/v/andreterron/tidbytCircle";
2
3export async function tidbytX({ size = 7, bg = 0xffffff80, x: xColor = 0x9d174dff }: {
4 // b91c1c
5 // fecdd3
19 const center = Math.floor(size / 2);
20 img.setPixelColor(xColor, center, center);
21 function* radialSymmetrical(dx: number, dy: number) {
22 yield { x: dx, y: dy };
23 yield { x: -dx, y: -dy };
24 }
25 function* radialSymmetrical4(dx: number, dy: number) {
26 yield { x: dx, y: dy };
27 yield { x: dy, y: -dx };
1let { count } = await import("https://esm.town/v/wonday/count");
2
3export function Counter() {
4 count += 1;
5 return `The count is ${count}`;
1export function myApi(name) {
2 return "hi " + name;
3}
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.