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=10&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 15603 results for "fetch"(6104ms)

moduleFetch1 file match

@easrng•Updated 1 year ago

fetchReadable1 file match

@hvlck•Updated 1 year ago

testFetchCommentsVal2 file matches

@willthereader•Updated 1 year ago

fetchConfirmationHtml2 file matches

@petermillspaugh•Updated 1 year ago

fetchPinatsPosts1 file match

@stevedylandev•Updated 1 year ago

fetchVerificationEmailHtml2 file matches

@petermillspaugh•Updated 1 year ago

fetchText2 file matches

@stevekrouse•Updated 1 year ago

fetchTextWithCaching2 file matches

@iakovos•Updated 1 year ago

fetchAndParseFeeds2 file matches

@iakovos•Updated 1 year ago

fetchWeatherPrediction1 file match

@jamiedubs•Updated 1 year ago

gitHubReleaseTrackermain.tsx2 matches

@balloon•Updated 1 hour ago
1import { blob } from "https://esm.town/v/std/blob";
2import { email } from "https://esm.town/v/std/email";
3import { fetch } from "https://esm.town/v/std/fetch";
4import { parseXML } from "https://esm.town/v/stevekrouse/parseXML";
5
8
9export async function gitHubReleaseTracker() {
10 const response = await fetch(AtomURL);
11 const newestEntry = (await parseXML(await response.text())).feed
12 .entry[0];

orisapp.tsx6 matches

@solomonferedeezez•Updated 1 hour ago
123 useEffect(() => {
124 if (user && view === "dashboard") {
125 fetchContacts();
126 }
127 }, [user, view]);
128
129 const fetchContacts = async () => {
130 try {
131 setIsLoading(true);
132 const response = await fetch("/contacts");
133 if (response.ok) {
134 const data = await response.json();
136 }
137 } catch (error) {
138 console.error("Error fetching contacts:", error);
139 } finally {
140 setIsLoading(false);
147 setIsLoading(true);
148 setLoginError("");
149 const response = await fetch("/login", {
150 method: "POST",
151 headers: { "Content-Type": "application/json" },
206 try {
207 setIsLoading(true);
208 const response = await fetch("/contact", {
209 method: "POST",
210 headers: { "Content-Type": "application/json" },