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=2148&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 22399 results for "function"(2555ms)

redditAlertBackupmain.tsx1 match

@bnorick•Updated 1 year ago
2import { redditNotifierState } from "https://esm.town/v/bnorick/redditNotifierState";
3
4export async function redditAlertBackup({ lastRunAt }) {
5 let subreddit_matches = {};
6

myApimain.tsx1 match

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

ghOrgReposmain.tsx1 match

@augustohp•Updated 1 year ago
1export async function ghOrgRepos(
2 owner: string,
3 token: string,
1import { miraclechildcounter } from "https://esm.town/v/politelyinvinciblepointer/miraclechildcounter";
2
3export function getmiraclechildcounter() {
4 return miraclechildcounter;
5}

myApimain.tsx1 match

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

aqiNotifiermain.tsx1 match

@realog•Updated 1 year ago
2import { easyAQI } from "https://esm.town/v/stevekrouse/easyAQI?v=3";
3
4export async function aqiNotifier(location) {
5 // The realtime Air Quality Index (AQI) for any location
6 const myAQI = await easyAQI({

myApimain.tsx1 match

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

myApimain.tsx1 match

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

generateColormain.tsx1 match

@rodrigotello•Updated 1 year ago
1import { convertRGBToHex } from "https://esm.town/v/rodrigotello/convertRGBToHex";
2
3export function generateColor(cssColorObject) {
4 return `#${
5 Object.values(cssColorObject)

myApimain.tsx1 match

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

getFileEmail4 file matches

@shouser•Updated 4 weeks 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.