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/?q=fetch&page=416&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 7881 results for "fetch"(1476ms)

spotlessBrownBobolinkmain.tsx1 match

@stevekrouse•Updated 4 months ago
14 setError("");
15 try {
16 const response = await fetch("/scrape", {
17 method: "POST",
18 headers: { "Content-Type": "application/json" },

cerebras_codermain.tsx1 match

@aximinds•Updated 4 months ago
182
183 try {
184 const response = await fetch("/", {
185 method: "POST",
186 body: JSON.stringify({

EnkakuAuthenticatedAPImain.tsx1 match

@paul_lecam•Updated 4 months ago
49});
50
51export default transport.fetch;

EnkakuStatelessHTTPExamplemain.tsx1 match

@paul_lecam•Updated 4 months ago
18});
19
20export default transport.fetch;

EnkakuStatefulHTTPExamplemain.tsx1 match

@paul_lecam•Updated 4 months ago
31});
32
33export default transport.fetch;

dreamInterpreterAppmain.tsx1 match

@Bilelghrsalli•Updated 4 months ago
15
16 try {
17 const response = await fetch("/interpret", {
18 method: "POST",
19 body: JSON.stringify({ dream }),

sqliteExplorerAppmain.tsx4 matches

@seflless•Updated 4 months ago
1/** @jsxImportSource https://esm.sh/hono@latest/jsx **/
2
3import { modifyFetchHandler } from "https://esm.town/v/andreterron/codeOnValTown?v=50";
4import { iframeHandler } from "https://esm.town/v/nbbaier/iframeHandler";
5import { resetStyle } from "https://esm.town/v/nbbaier/resetStyle";
16import { verifyToken } from "https://esm.town/v/pomdtr/verifyToken";
17import { ResultSet, sqlite } from "https://esm.town/v/std/sqlite";
18import { reloadOnSaveFetchMiddleware } from "https://esm.town/v/stevekrouse/reloadOnSave";
19import { Hono } from "npm:hono";
20import type { FC } from "npm:hono/jsx";
175});
176
177export const handler = app.fetch;
178export default iframeHandler(modifyFetchHandler(passwordAuth(handler, { verifyPassword: verifyToken })));

cerebras_codermain.tsx1 match

@innove08•Updated 4 months ago
182
183 try {
184 const response = await fetch("/", {
185 method: "POST",
186 body: JSON.stringify({

affableCyanBeemain.tsx1 match

@artificialryan•Updated 4 months ago
182
183 try {
184 const response = await fetch("/", {
185 method: "POST",
186 body: JSON.stringify({

cerebras_codermain.tsx1 match

@haekwan•Updated 4 months ago
182
183 try {
184 const response = await fetch("/", {
185 method: "POST",
186 body: JSON.stringify({

fetchPaginatedData2 file matches

@nbbaier•Updated 1 week ago

FetchBasic1 file match

@fredmoon•Updated 1 week ago