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/image-url.jpg%20%22Optional%20title%22?q=function&page=2124&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 22565 results for "function"(4939ms)

uuidmain.tsx1 match

@yieldrayUpdated 1 year ago
1export async function uuid(req: express.Request, res: express.Response) {
2 res.set({
3 "Access-Control-Allow-Origin": "*",

myApimain.tsx1 match

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

friendOfAFriendmain.tsx1 match

@lukasUpdated 1 year ago
21 cursor?: string;
22};
23export async function friendOfAFriend(req: express.Request, res: express.Response) {
24 return (await feedGenerator({
25 feed: {

thememain.tsx3 matches

@shanbergUpdated 1 year ago
714 transitionProperty: "common",
715 transitionDuration: "fast",
716 transitionTimingFunction: "ease-out",
717 cursor: "pointer",
718 textDecoration: "none",
1232 transitionProperty: "common",
1233 transitionDuration: "fast",
1234 transitionTimingFunction: "ease-out",
1235 cursor: "pointer",
1236 textDecoration: "none",
1283 transitionProperty: "background",
1284 transitionDuration: "ultra-fast",
1285 transitionTimingFunction: "ease-in",
1286 _focus: {
1287 "--menu-bg": "colors.gray.100",

myApimain.tsx1 match

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

myApimain.tsx1 match

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

myApimain.tsx1 match

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

chatSampleSystemRoleExpertmain.tsx1 match

@webupUpdated 1 year ago
29 `;
30 const prompt =
31 "张海立,驭势科技 UISEE 云脑研发总监。KubeSphere Ambassador,CNCF OpenFunction TOC Member,信通院“汽车云工作组”首批技术专家";
32 return await chat([
33 { role: "system", content: system },

myApimain.tsx1 match

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

myApimain.tsx1 match

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

getFileEmail4 file matches

@shouserUpdated 1 month ago
A helper function to build a file's email
tuna

tuna8 file matches

@jxnblkUpdated 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.