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=1795&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 18127 results for "function"(1997ms)

effectormain.tsx1 match

@effector•Updated 1 year ago
1export async function effector() {
2 const effector = await import("https://esm.sh/effector@22.8.6");
3 return effector;

myApimain.tsx1 match

@wfortin•Updated 1 year ago
1export function myApi(name) {
2 const lastUsedName = name;
3 return "hi " + name;

referencesmain.tsx1 match

@mgruel•Updated 1 year ago
17 "referencedAt": string;
18};
19export async function references({ token, since, until, offset, limit }: {
20 token: string;
21 since?: Date;

editTaskmain.tsx1 match

@ju2l0r•Updated 1 year ago
2import { set } from "https://esm.town/v/std/set?v=11";
3
4export async function editTask(id, taskParial) {
5 await set(
6 "tasks",

parseMenuDatemain.tsx1 match

@tal•Updated 1 year ago
1type LineType = "header" | "Daily Offerings" | "date";
2export async function parseMenuDate(text: string) {
3 const dateFns = await import("npm:date-fns");
4 let type: LineType;

myApimain.tsx1 match

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

myApimain.tsx1 match

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

searchManifoldMarketsmain.tsx1 match

@piotr•Updated 1 year ago
5 url: string;
6};
7export async function searchManifoldMarkets(query: string) {
8 const result = await fetch(
9 `https://manifold.markets/api/v0/search-markets?${query}`,

myApimain.tsx1 match

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

myApimain.tsx1 match

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

getFileEmail4 file matches

@shouser•Updated 1 week 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": "*",