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/image-url.jpg%20%22Optional%20title%22?q=fetch&page=17&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 9124 results for "fetch"(730ms)

fetchJSON1 file match

@dvergin•Updated 1 year ago

fetchBcycleCounts1 file match

@jonbo•Updated 1 year ago

mini-remix-soundrender-client.tsx1 match

@probablycorey•Updated 1 hour ago
31 e.preventDefault()
32 const form = e.currentTarget as HTMLFormElement
33 const res = await fetch(form.action || window.location.href, {
34 method: unwrap(props.method) || "POST",
35 body: new FormData(form),

KidCmigrations.ts1 match

@Zoe13•Updated 2 hours ago
119 }
120
121 console.log("Lessons fetched:", lessonsResult.rows); // Debug log to check the fetched lessons
122
123 const lessonMap = lessonsResult.rows.reduce((map, lesson) => {