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/$2?q=fetch&page=1089&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 12794 results for "fetch"(1317ms)

basicAuthButtonmain.tsx1 match

@jdan•Updated 1 year ago
33});
34
35export default app.fetch;

safeMessageBoardmain.tsx1 match

@stevekrouse•Updated 1 year ago
55});
56
57export default valTownBadge(app.fetch, import.meta.url);

aquamarinePiranhamain.tsx1 match

@maxm•Updated 1 year ago
1import { wasmHandler } from "https://esm.town/v/maxm/tinygoHttp";
2const resp = await fetch("https://maxm-wasmblobhost.web.val.run/e5vpzt253pv5jxqfmygo7nytl5uvyn5c.wasm");
3const handler = await wasmHandler(new Uint8Array(await resp.arrayBuffer()));
4export default async function(req: Request): Promise<Response> {

compileAndUploadTinygoWasmmain.tsx2 matches

@maxm•Updated 1 year ago
42})();
43
44let resp = await fetch("https://maxm-wasmBlobHost.web.val.run", {
45 method: "POST",
46 headers: {
57
58import { wasmHandler } from "https://esm.town/v/maxm/tinygoHttp";
59const resp = await fetch("${url}");
60const handler = await wasmHandler(new Uint8Array(await resp.arrayBuffer()));
61export default async function(req: Request): Promise<Response> {

translatormain.tsx4 matches

@stevekrouse•Updated 1 year ago
246 const formData = new FormData();
247 formData.append("audio", blob, "recording.wav");
248 const response = await fetch("/transcribe", { method: "POST", body: formData });
249 if (response.ok) {
250 const result = await response.text();
286 const language2Value = document.getElementById("language2").value;
287
288 const response = await fetch("/translate", {
289 method: "POST",
290 headers: { "Content-Type": "application/json" },
328
329 if (text && voice) {
330 const response = await fetch('/generate-speech', {
331 method: 'POST',
332 headers: { 'Content-Type': 'application/json' },
455});
456
457export default app.fetch;

homelessmain.tsx1 match

@cameronpak•Updated 1 year ago
243});
244
245export default app.fetch;

tinygoWasmHelloWorldmain.tsx1 match

@maxm•Updated 1 year ago
1import { wasmHandler } from "https://esm.town/v/maxm/tinygoHttp";
2const resp = await fetch("https://maxm-wasmBlobHost.web.val.run/jpxqvyy5tphiwehzklmioklpkpz4gpzs.wasm");
3const handler = await wasmHandler(new Uint8Array(await resp.arrayBuffer()));
4export default async function(req: Request): Promise<Response> {

compileAndUploadTinygoWasmREADME.md1 match

@maxm•Updated 1 year ago
34
35import { wasmHandler } from "https://esm.town/v/maxm/tinygoHttp";
36const resp = await fetch("https://maxm-wasmBlobHost.web.val.run/jpxqvyy5tphiwehzklmioklpkpz4gpzs.wasm");
37const handler = await wasmHandler(new Uint8Array(await resp.arrayBuffer()));
38export default async function(req: Request): Promise<Response> {

QuillEditormain.tsx1 match

@stevekrouse•Updated 1 year ago
64
65 function save() {
66 return fetch('${thisWebURL()}/${name}', {
67 method: 'POST',
68 headers: {

tinybase_example_servermain.tsx1 match

@pomdtr•Updated 1 year ago
34});
35
36export default app.fetch;

fetch-socials4 file matches

@welson•Updated 2 days ago
fetch and archive my social posts

fetchRssForSubcurrent2 file matches

@ashryanio•Updated 2 days ago