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=4&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"(1248ms)

ios_AppStoreFetcher1 file match

@arfan•Updated 5 months ago

FetchBasic1 file match

@BunsDev•Updated 5 months ago

fetchBinance1 file match

@svbasi•Updated 5 months ago

gistFetcher1 file match

@tgrecojs•Updated 5 months ago

FetchBasic1 file match

@thesagrotan•Updated 6 months ago

FetchBasic1 file match

@stevekrouse•Updated 6 months ago

cfetch2 file matches

@temptemp•Updated 7 months ago

brooklynWeatherFetcher1 file match

@jjoak3•Updated 7 months ago

fetchNewPublicGitHubRepos1 file match

@toowired•Updated 7 months ago

fetchXML2 file matches

@g000m•Updated 7 months ago

cardamomparse.ts3 matches

@connnolly•Updated 33 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 33 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:**