Val Town Code SearchReturn to Val Town

API Access

You can access search results via JSON API by adding format=json to your query:

https://codesearch.val.run/image-url.jpg%20%22Image%20title%22?q=function&page=2156&format=json

For typeahead suggestions, use the /typeahead endpoint:

https://codesearch.val.run/typeahead?q=function

Returns an array of strings in format "username" or "username/projectName"

Found 22749 results for "function"(1985ms)

myApimain.tsx1 match

@spurushottam13•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}

myApimain.tsx1 match

@treblegni•Updated 1 year ago
1export function myApi(name) {
2 const random = Math.random(100);
3 return {
1import { familyhistorycounter } from "https://esm.town/v/politelyinvinciblepointer/familyhistorycounter";
2
3export function getfamilyhistorycounter() {
4 return familyhistorycounter;
5}

myApimain.tsx1 match

@nifei•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}

myApimain.tsx1 match

@jmcallister•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}

myApimain.tsx1 match

@hieptuanle•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}

workBusesGuimain.tsx1 match

@kognise•Updated 1 year ago
2import { stopIds } from "https://esm.town/v/kognise/stopIds";
3
4export async function workBusesGui(
5 req: express.Request,
6 res: express.Response,

myApimain.tsx1 match

@chrisco•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}

myApiDeleteAllmain.tsx1 match

@acmu•Updated 1 year ago
2let { nameList } = await import("https://esm.town/v/acmu/nameList");
3
4export async function myApiDeleteAll() {
5 nameList = [];
6 await set("nameList", nameList);

FigmaFrameToHTMLmain.tsx1 match

@rodrigotello•Updated 1 year ago
1import { FigmaFrameObjectToHTMLTest } from "https://esm.town/v/rodrigotello/FigmaFrameObjectToHTMLTest";
2
3export async function FigmaFrameToHTML(
4 req: express.Request,
5 res: express.Response,

getFileEmail4 file matches

@shouser•Updated 1 month ago
A helper function to build a file's email
tuna

tuna8 file matches

@jxnblk•Updated 1 month ago
Simple functional CSS library for Val Town
lost1991
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": "*",
webup
LangChain (https://langchain.com) Ambassador, KubeSphere (https://kubesphere.io) Ambassador, CNCF OpenFunction (https://openfunction.dev) TOC Member.