2import createClient2 from "npm:openapi-fetch";
3
4export default function createClient(options?: {
5 baseUrl?: string;
6 token?: string;
1import { octopusAgilePricing } from "https://esm.town/v/MattieTK/octopusAgilePricing";
2
3export async function laMetricOctopus(req: Request) {
4 const searchParams = new URL(req.url).searchParams;
5 let location = searchParams.get("location");
1import process from "node:process"
2export function pushplus(options: {
3 token: string;
4 title?: string;
1export function denoServer(handler: (req: Request) => Response | Promise<Response>, thisArg?: any) {
2 if (thisArg) {
3 handler = handler.bind(thisArg);
18);
19
20export default async function(req: Request) {
21 return new Response(
22 `
1export function denoServer(handler: (req: Request) => Response | Promise<Response>, thisArg?: any) {
2 if (thisArg) {
3 handler = handler.bind(thisArg);
32);
33
34export default async function(req: Request) {
35 return new Response(
36 `
1// View at https://lmackenzie94-htmlExample.web.val.run?name=Luke
2export default async function(req: Request): Promise<Response> {
3 const query = new URL(req.url).searchParams;
4
4const query = "\"val.town\" OR \"val town\" -_ValTown_";
5
6export async function twitterAlert({ lastRunAt }: Interval) {
7 const results = await twitterSearch({
8 query,
2import { easyAQI } from "https://esm.town/v/stevekrouse/easyAQI";
3
4export default async function(interval: Interval) {
5 const location = "Geneva"; // <-- change to place, city, or zip code
6 const data = await easyAQI({ location });
Simple functional CSS library for Val Town
A helper function to build a file's email
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.