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=2130&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 22662 results for "function"(1742ms)

valTownStyleGuideUpdatedmain.tsx1 match

@stevekrouse•Updated 1 year ago
2import { hasValTownStyleGuideUpdated } from "https://esm.town/v/stevekrouse/hasValTownStyleGuideUpdated";
3
4export async function valTownStyleGuideUpdated({ lastRunAt }) {
5 if (await hasValTownStyleGuideUpdated(lastRunAt))
6 email({

myApimain.tsx1 match

@raymondcamden•Updated 1 year ago
1export function myApi(name, color = "blue") {
2 return `Hello ${name}, your favorite color is ${color}.`;
3}

myApimain.tsx1 match

@ianjkaplan•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}
1let { familyhistorycounter } = await import("https://esm.town/v/politelyinvinciblepointer/familyhistorycounter");
2
3export function increasefamilyhistorycounter() {
4 familyhistorycounter++;
5}

fetchWeatherPredictionmain.tsx1 match

@jamiedubs•Updated 1 year ago
14 };
15 }
16 async function fetchForecast(
17 latitude: number,
18 longitude: number,

myApimain.tsx1 match

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

sendDailyValenceEmailmain.tsx1 match

@kognise•Updated 1 year ago
1import { mail } from "https://esm.town/v/kognise/mail";
2
3export async function sendDailyValenceEmail() {
4 await mail({
5 to: "Lexi Mattick <lexi.mattick@gmail.com>",

myApimain.tsx1 match

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

myApimain.tsx1 match

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

myApimain.tsx1 match

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

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.