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/$1?q=function&page=2366&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 31307 results for "function"(8346ms)

daringBlushLimpetmain.tsx3 matches

@LewisMcC•Updated 4 months ago
8];
9
10function App() {
11 const [noClicks, setNoClicks] = useState(0);
12 const [isValentine, setIsValentine] = useState(false);
129}
130
131function client() {
132 createRoot(document.getElementById("root")).render(<App />);
133}
136}
137
138export default async function server(request: Request): Promise<Response> {
139 return new Response(
140 `

livelyPeachSlothmain.tsx3 matches

@Chasmish•Updated 4 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 `

reverentBrownPandamain.tsx3 matches

@tahoor•Updated 4 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

@kdilsook•Updated 4 months ago
31];
32
33function App() {
34 const [noClicks, setNoClicks] = useState(0);
35 const [isValentine, setIsValentine] = useState(false);
126}
127
128function client() {
129 createRoot(document.getElementById("root")).render(<App />);
130}
131if (typeof document !== "undefined") { client(); }
132
133export default async function server(request: Request): Promise<Response> {
134 return new Response(
135 `

valentinemain.tsx3 matches

@iLegacyy•Updated 4 months ago
8];
9
10function App() {
11 const [noClicks, setNoClicks] = useState(0);
12 const [isValentine, setIsValentine] = useState(false);
135}
136
137function client() {
138 createRoot(document.getElementById("root")).render(<App />);
139}
142}
143
144export default async function server(request: Request): Promise<Response> {
145 return new Response(
146 `

valentinemain.tsx3 matches

@radubotchway•Updated 4 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

@tahoor•Updated 4 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

@enochyaw•Updated 4 months ago
25];
26
27function App() {
28 const [noClicks, setNoClicks] = useState(0);
29 const [isValentine, setIsValentine] = useState(false);
130}
131
132function client() {
133 createRoot(document.getElementById("root")).render(<App />);
134}
135if (typeof document !== "undefined") { client(); }
136
137export default async function server(request: Request): Promise<Response> {
138 return new Response(
139 `

valuableBeigeAlpacamain.tsx3 matches

@wajeeh•Updated 4 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

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

tuna9 file matches

@jxnblk•Updated 1 week ago
Simple functional CSS library for Val Town

getFileEmail4 file matches

@shouser•Updated 1 month ago
A helper function to build a file's email
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.