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/$%7Burl%7D?q=fetch&page=2&format=json

For typeahead suggestions, use the /typeahead endpoint:

https://codesearch.val.run/typeahead?q=fetch

Returns an array of strings in format "username" or "username/projectName"

Found 14486 results for "fetch"(1178ms)

FetchBasic1 file match

@bresnik•Updated 3 weeks ago

fetchTechNews

@josiasaurel•Updated 4 weeks ago

agentplex-deal-flow-email-fetch1 file match

@anandvc•Updated 1 month ago

proxyFetch2 file matches

@vidar•Updated 1 month ago

TAC_FetchBasic2 file matches

@A7_OMC•Updated 1 month ago

hn-fetch1 file match

@matija•Updated 1 month ago

fetchPaginatedData2 file matches

@nbbaier•Updated 1 month ago

FetchBasic1 file match

@fredmoon•Updated 2 months ago

tweetFetcher2 file matches

@nbbaier•Updated 2 months ago

fetchAndStoreOpenAiUsage22 file matches

@nbbaier•Updated 2 months ago

qkwnew02_http.tsx1 match

@fengyuan_he•Updated 1 hour ago
11 forwardedHeaders.delete("host");
12
13 const res = await fetch(targetUrl, {
14 method: req.method,
15 headers: forwardedHeaders,

valSourceindex.ts6 matches

@curtcox•Updated 3 hours ago
362
363 try {
364 // Fetch the source code
365 const response = await fetch(sourceUrl);
366 if (!response.ok) {
367 return c.text(`Failed to fetch source: ${response.status}`, 404);
368 }
369
611 async function detectBlock(code, line, column) {
612 if (blockDetectorUrl) {
613 const response = await fetch(blockDetectorUrl, {
614 method: 'POST',
615 headers: { 'Content-Type': 'application/json' },
624 async function explainBlock(code, blockInfo) {
625 if (blockExplainerUrl) {
626 const response = await fetch(blockExplainerUrl, {
627 method: 'POST',
628 headers: { 'Content-Type': 'application/json' },
770}
771
772export default app.fetch;