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/$%7Bart_info.art.src%7D?q=fetch&page=33&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 8155 results for "fetch"(4986ms)

WillpersonalWebsitehomepage1 match

@willthereader•Updated 4 days ago
129app.get("/ImOKTheBullIsDead", ImOKTheBullIsDead);
130
131export default app.fetch;

WillpersonalWebsitepersonalWebsite1 match

@willthereader•Updated 4 days ago
44app.get("/ImOKTheBullIsDead", ImOKTheBullIsDead);
45
46export default app.fetch;
142const app = new Hono();
143app.get("/", Time_Blindness_Loud_Calendar_via_iOS_shortcuts);
144export default app.fetch;

WillpersonalWebsiteDebugging_Guide1 match

@willthereader•Updated 4 days ago
95const app = new Hono();
96app.get("/", Debugging_Guide);
97export default app.fetch;
56const app = new Hono();
57app.get("/", Bringing_My_OCD_Online);
58export default app.fetch;

WillpersonalWebsitestatusGuide1 match

@willthereader•Updated 4 days ago
273const app = new Hono();
274app.get("/", statusGuide);
275export default app.fetch;
81const app = new Hono();
82app.get("/", ImOKTheBullIsDead);
83export default app.fetch;
84
85{
172const app = new Hono();
173app.get("/", AreYouSolvingtheRightProblems);
174export default app.fetch;
175
176{

HTTP_examplesfetsExample1 match

@valdottown•Updated 4 days ago
21});
22
23export default router.fetch;

live-reload2utils.ts3 matches

@dcm31•Updated 4 days ago
93}
94/**
95 * Creates a wrapper around a fetch handler that injects an HTML string
96 * into the document. It first checks for a <body> tag; if missing,
97 * it looks for an <html> tag. If neither are present, it appends to
98 * the full text response.
99 *
100 * @param handler The original fetch handler function
101 * @param html The HTML content to inject
102 * @returns A new fetch handler with HTML rewriting
103 */
104export function injectHTML(

fetchPaginatedData2 file matches

@nbbaier•Updated 1 week ago

FetchBasic1 file match

@fredmoon•Updated 1 week ago