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/?q=function&page=1228&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 17278 results for "function"(1594ms)

val_EDJACH3UXUmain.tsx1 match

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

val_6PIQpS4uDGmain.tsx1 match

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

val_idCyDeeEA6main.tsx2 matches

@dhvanil•Updated 5 months ago
1
2 export async function val_idCyDeeEA6(req) {
3 try {
4 // Execute the code directly and capture its result
10};
11
12// Test the function with some values
13const results = [];
14for (let i = 1; i <= 10; i++) {

val_fdwLq1q5lxmain.tsx1 match

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

val_yRrm2hE8eumain.tsx1 match

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

val_tlcH2AKDA2main.tsx1 match

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

val_y3qNL6xyYEmain.tsx1 match

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

val_K1OL6VfLJsmain.tsx1 match

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

val_Gl2A5DJnermain.tsx1 match

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

val_Rb1F0hdOA9main.tsx1 match

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

getFileEmail4 file matches

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

tuna8 file matches

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