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=996&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 17976 results for "function"(1994ms)

valentinemain.tsx3 matches

@parzival•Updated 2 months ago
25];
26
27function App() {
28 const [noClicks, setNoClicks] = useState(0);
29 const [isValentine, setIsValentine] = useState(false);
110}
111
112function client() {
113 createRoot(document.getElementById("root")).render(<App />);
114}
115if (typeof document !== "undefined") { client(); }
116
117export default async function server(request: Request): Promise<Response> {
118 return new Response(
119 `

logicalPinkHawkmain.tsx3 matches

@Nawso•Updated 2 months ago
13];
14
15function App() {
16 const [noClicks, setNoClicks] = useState(0);
17 const [isValentine, setIsValentine] = useState(false);
98}
99
100function client() {
101 createRoot(document.getElementById("root")).render(<App />);
102}
103if (typeof document !== "undefined") { client(); }
104
105export default async function server(request: Request): Promise<Response> {
106 return new Response(
107 `

valentinemain.tsx3 matches

@itskunj•Updated 2 months ago
12];
13
14function App() {
15 const [noClicks, setNoClicks] = useState(0);
16 const [isValentine, setIsValentine] = useState(false);
97}
98
99function client() {
100 createRoot(document.getElementById("root")).render(<App />);
101}
102if (typeof document !== "undefined") { client(); }
103
104export default async function server(request: Request): Promise<Response> {
105 return new Response(
106 `

valentinePrashantmain.tsx3 matches

@prashant2344•Updated 2 months ago
13];
14
15function App() {
16 const [noClicks, setNoClicks] = useState(0);
17 const [isValentine, setIsValentine] = useState(false);
131}
132
133function client() {
134 createRoot(document.getElementById("root")).render(<App />);
135}
136if (typeof document !== "undefined") { client(); }
137
138export default async function server(request: Request): Promise<Response> {
139 return new Response(
140 `

modestCoralAngelfishmain.tsx3 matches

@moonlightrequiem•Updated 2 months ago
14];
15
16function App() {
17 const [noClicks, setNoClicks] = useState(0);
18 const [isValentine, setIsValentine] = useState(false);
144}
145
146function client() {
147 createRoot(document.getElementById("root")).render(<App />);
148}
150if (typeof document !== "undefined") { client(); }
151
152export default async function server(request: Request): Promise<Response> {
153 return new Response(
154 `

SValentinemain.tsx3 matches

@MaFzw•Updated 2 months ago
13];
14
15function App() {
16 const [noClicks, setNoClicks] = useState(0);
17 const [isValentine, setIsValentine] = useState(false);
108}
109
110function client() {
111 createRoot(document.getElementById("root")).render(<App />);
112}
113if (typeof document !== "undefined") { client(); }
114
115export default async function server(request: Request): Promise<Response> {
116 return new Response(
117 `

Aubreemain.tsx3 matches

@evernight•Updated 2 months ago
13];
14
15function App() {
16 const [noClicks, setNoClicks] = useState(0);
17 const [isValentine, setIsValentine] = useState(false);
98}
99
100function client() {
101 createRoot(document.getElementById("root")).render(<App />);
102}
103if (typeof document !== "undefined") { client(); }
104
105export default async function server(request: Request): Promise<Response> {
106 return new Response(
107 `

respectfulYellowAntmain.tsx3 matches

@SenethTMS•Updated 2 months ago
15];
16
17function App() {
18 const [noClicks, setNoClicks] = useState(0);
19 const [isValentine, setIsValentine] = useState(false);
102}
103
104function client() {
105 createRoot(document.getElementById("root")).render(<App />);
106}
107if (typeof document !== "undefined") { client(); }
108
109export default async function server(request: Request): Promise<Response> {
110 return new Response(
111 `

valentinemain.tsx3 matches

@tefinha•Updated 2 months ago
22];
23
24function App() {
25 const [noClicks, setNoClicks] = useState(0);
26 const [isValentine, setIsValentine] = useState(false);
107}
108
109function client() {
110 createRoot(document.getElementById("root")).render(<App />);
111}
112if (typeof document !== "undefined") { client(); }
113
114export default async function server(request: Request): Promise<Response> {
115 return new Response(
116 `

valentinemain.tsx3 matches

@Kayaa•Updated 2 months ago
13];
14
15function App() {
16 const [noClicks, setNoClicks] = useState(0);
17 const [isValentine, setIsValentine] = useState(false);
99}
100
101function client() {
102 createRoot(document.getElementById("root")).render(<App />);
103}
104if (typeof document !== "undefined") { client(); }
105
106export default async function server(request: Request): Promise<Response> {
107 return new Response(
108 `

getFileEmail4 file matches

@shouser•Updated 1 week ago
A helper function to build a file's email
tuna

tuna8 file matches

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