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%22Optional%20title%22?q=function&page=2388&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 28783 results for "function"(2002ms)

val_vfbeq6V7yCmain.tsx1 match

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

val_070RHpl6iOmain.tsx1 match

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

val_W5ttahHJFbmain.tsx1 match

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

val_PmJtq5HUb4main.tsx1 match

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

web_2l64kXRF3Pmain.tsx1 match

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

val_PNwC0nefnJmain.tsx1 match

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

web_kH7d5ah6xzmain.tsx1 match

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

web_whzyD0pbS0main.tsx1 match

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

web_YeFlAqrDrRmain.tsx1 match

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

web_Zw1Asa4o7Vmain.tsx2 matches

@dhvanil•Updated 6 months ago
1
2 export async function web_Zw1Asa4o7V(req) {
3 return new Response(`<!DOCTYPE html>
4<html>
83 <script>
84 // Add some paranoid interactivity
85 document.addEventListener('mousemove', function(e) {
86 if(Math.random() < 0.01) {
87 const warning = document.createElement('div');

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.