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/$%7Bart_info.art.src%7D?q=function&page=2739&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 28746 results for "function"(4359ms)

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}

myApimain.tsx1 match

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

fetchCongressTradeReportsmain.tsx2 matches

@rodrigotello•Updated 1 year ago
9
10
11export async function fetchCongressTradeReports(callback) {
12 const res = await fetchJSON(
13 "https://bff.capitoltrades.com/trades?sortBy=-pubDate"
15 const trades = res.data;
16
17 function isToday(d) {
18 const now = new Date();
19 return (

myApimain.tsx1 match

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

myApimain.tsx1 match

@jmelis•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.