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/$%7Burl%7D?q=function&page=2396&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 28772 results for "function"(1931ms)

val_3kuijJRJiVmain.tsx1 match

@dhvanil•Updated 7 months ago
1
2 export async function val_3kuijJRJiV(req) {
3 try {
4 // Execute the code directly and capture its result

val_yG9zG92FbQmain.tsx1 match

@dhvanil•Updated 7 months ago
1
2 export async function val_yG9zG92FbQ(req) {
3 try {
4 // Execute the code directly and capture its result

val_vdb8oSzkQGmain.tsx1 match

@dhvanil•Updated 7 months ago
1
2 export async function val_vdb8oSzkQG(req) {
3 try {
4 // Execute the code directly and capture its result

val_uqeabFq23fmain.tsx1 match

@dhvanil•Updated 7 months ago
1
2 export async function val_uqeabFq23f(req) {
3 try {
4 // Execute the code directly and capture its result

val_eYhhIv3Mvdmain.tsx1 match

@dhvanil•Updated 7 months ago
1
2 export async function val_eYhhIv3Mvd(req) {
3 try {
4 // Execute the code directly and capture its result

val_3LoIzfb5xsmain.tsx1 match

@dhvanil•Updated 7 months ago
1
2 export async function val_3LoIzfb5xs(req) {
3 try {
4 // Execute the code directly and capture its result

val_48vpEOElB4main.tsx1 match

@dhvanil•Updated 7 months ago
1
2 export async function val_48vpEOElB4(req) {
3 try {
4 // Execute the code directly and capture its result

web_XbaTV2IAS1main.tsx1 match

@dhvanil•Updated 7 months ago
1
2 export async function web_XbaTV2IAS1(req) {
3 return new Response(`<!DOCTYPE html>
4<html>

web_uecrPCN6rTmain.tsx1 match

@dhvanil•Updated 7 months ago
1
2 export async function web_uecrPCN6rT(req) {
3 return new Response(`<!DOCTYPE html>
4<html>

web_R95aGna5v9main.tsx2 matches

@dhvanil•Updated 7 months ago
1
2 export async function web_R95aGna5v9(req) {
3 return new Response(`<!DOCTYPE html>
4<html>
122 }
123
124 function animate() {
125 ctx.clearRect(0, 0, canvas.width, canvas.height);
126

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.