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/$%7Bsuccess?q=function&page=2473&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 31553 results for "function"(13574ms)

APIBuilderTemplatespectacularBlushFelidae1 match

@dcm31•Updated 4 months ago
1export default async function (req: Request): Promise<Response> {
2 return Response.json({ ok: true })
3}

APIBuilderTemplatehappyIvoryPorcupine1 match

@dcm31•Updated 4 months ago
1export default async function (req: Request): Promise<Response> {
2 return Response.json({ ok: true })
3}

APIBuilderTemplateeagerBeigePerch1 match

@dcm31•Updated 4 months ago
1export default async function (req: Request): Promise<Response> {
2 return Response.json({ ok: true })
3}

APIBuilderTemplateinnovativeAquaSpider1 match

@dcm31•Updated 4 months ago
1export default async function (req: Request): Promise<Response> {
2 return Response.json({ ok: true })
3}

APIBuilderTemplateinstinctiveChocolateSheep1 match

@dcm31•Updated 4 months ago
1export default async function (req: Request): Promise<Response> {
2 return Response.json({ ok: true })
3}

APIBuilderTemplatecharmingVioletMackerel1 match

@dcm31•Updated 4 months ago
1export default async function (req: Request): Promise<Response> {
2 return Response.json({ ok: true })
3}

APIBuilderTemplatedelicateAquamarineBobolink1 match

@dcm31•Updated 4 months ago
1export default async function (req: Request): Promise<Response> {
2 return Response.json({ ok: true })
3}

APIBuilderTemplatechivalrousCyanWarbler1 match

@dcm31•Updated 4 months ago
1export default async function (req: Request): Promise<Response> {
2 return Response.json({ ok: true })
3}

caloriesmain.tsx2 matches

@AIWB•Updated 4 months ago
5import { Hono } from "npm:hono@3";
6
7function esmTown(url) {
8 return fetch(url, {
9 headers: {
92});
93
94export async function calorieEstimate(file: File) {
95 const dataURL = await fileToDataURL(file);
96 try {

APIBuilderTemplatewondrousBrownManatee1 match

@dcm31•Updated 4 months ago
1export default async function (req: Request): Promise<Response> {
2 return Response.json({ ok: true })
3}
tuna

tuna9 file matches

@jxnblk•Updated 2 weeks ago
Simple functional CSS library for Val Town

getFileEmail4 file matches

@shouser•Updated 2 months ago
A helper function to build a file's email
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.