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=1775&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 18616 results for "function"(7089ms)

ruleAndroidAppsCheckmain.tsx1 match

@xuangong•Updated 1 year ago
1export function ruleAndroidAppsCheck(response) {
2 const requiredApps = [
3 "55a54008ad1ba589aa210d2629c1df41",

newendpointmain.tsx1 match

@endingwithali•Updated 1 year ago
1export function newendpoint() {
2 return "hello";
3}

myApimain.tsx1 match

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

myApimain.tsx1 match

@M3RCYAJ•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}
1import { vonnegutlettercounter } from "https://esm.town/v/politelyinvinciblepointer/vonnegutlettercounter";
2
3export function getvonnegutlettercounter() {
4 return vonnegutlettercounter;
5}

myApimain.tsx1 match

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

pingReplitmain.tsx1 match

@dr0•Updated 1 year ago
1import { fetch } from "https://esm.town/v/std/fetch";
2
3export async function pingReplit() {
4 fetch("https://lookup.icxk.top/imgs/36x36.png");
5}

myApimain.tsx1 match

@cescyang•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}
1import { dinoGameScoreboard } from "https://esm.town/v/rodrigotello/dinoGameScoreboard";
2
3export function denoGameCurrentScoreboardLeader() {
4 let currentLeader = dinoGameScoreboard.reduce(
5 (highest, current) => {

myApimain.tsx1 match

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

getFileEmail4 file matches

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

tuna8 file matches

@jxnblk•Updated 2 weeks 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": "*",