1export function nakedAPIEx(req, res) {
2 res.send("my returned srting");
3}
2import { API_URL } from "https://esm.town/v/std/API_URL";
3
4export function runVal(name, ...args) {
5 return fetch(`${API_URL}/v1/run/${name.replace("@", "")}`, {
6 method: "POST",
1export function formatFeedDate(dateString: string): string {
2 const options: Intl.DateTimeFormatOptions = {
3 year: "numeric",
1export function myApi(name) {
2 return "hi " + name;
3}
1export function api2(req, res) {
2 res.send("<script>alert('hellow')</script>");
3}
1export function myApi(name) {
2 return "hi " + name;
3}
1let { innerfeelingscounter } = await import("https://esm.town/v/politelyinvinciblepointer/innerfeelingscounter");
2
3export function increaseinnerfeelingscounter() {
4 innerfeelingscounter++;
5}
1import { fetch } from "https://esm.town/v/std/fetch";
2
3export async function hnFollowPollJob({ lastRunAt }) {
4 untitled6313446 = fetch(
5 "https://market-backend.api.2gis.ru/5.0/product/items?q=water&point1=37.87550034485333,51.32652258650344&point2=37.94900977933917,51.293266520365684&locale=ru_RU&page=1&page_size=12&feature_config=categories_without_fake_first_level,range_price_type_supported,from_price_type_supported"
1export function myApi(name) {
2 console.email;
3 return "hi " + name;
1let { testKVStore } = await import("https://esm.town/v/liamdanielduffy/testKVStore");
2
3export function writeToKvStore(key, value) {
4 testKVStore = {
5 ...testKVStore,
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": "*",