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=3&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"(3645ms)

fetchRss2 file matches

@pierremenard•Updated 2 months ago

fetchAndConvertToWebP1 file match

@AIWB•Updated 2 months ago

FetchBasic1 file match

@consitini•Updated 2 months ago

fetchCongressTradeReports1 file match

@Mustakim12•Updated 3 months ago

cookieFetch2 file matches

@gwoods22•Updated 4 months ago

FetchBasic1 file match

@charmaine•Updated 4 months ago

FetchBasic2 file matches

@dtecho•Updated 4 months ago

FetchBasic2 file matches

@gdm•Updated 4 months ago

fetchEvents1 file match

@richardwu9•Updated 5 months ago

cardamomparse.ts3 matches

@connnolly•Updated 3 mins ago
166 const { content: url } = await c.req.json() as ParseRequest;
167
168 // Fetch the webpage content
169 const response = await fetch(url);
170 if (!response.ok) {
171 return c.json({ success: false, error: "Failed to fetch URL" } as ParseResponse);
172 }
173

cardamomval-town.mdc3 matches

@connnolly•Updated 3 mins ago
221
222 // Inject data to avoid extra round-trips
223 const initialData = await fetchInitialData();
224 const dataScript = `<script>
225 window.__INITIAL_DATA__ = ${JSON.stringify(initialData)};
268
2695. **API Design:**
270 - `fetch` handler is the entry point for HTTP vals
271 - Run the Hono app with `export default app.fetch // This is the entry point for HTTP vals`
272
2736. **Hono Peculiarities:**