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=446&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 8158 results for "fetch"(3228ms)

LampBlogsmain.tsx1 match

@AppleLamps•Updated 4 months ago
68
69 try {
70 const response = await fetch("/generate-blog", {
71 method: "POST",
72 headers: {

weatherGPTmain.tsx1 match

@lisazz•Updated 4 months ago
4let location = "Asia, Taipei";
5let lang = "zh-TW";
6const weather = await fetch(
7 `https://wttr.in/${location}?lang=${lang}&format=j1`,
8).then(r => r.json());

cerebras_codermain.tsx1 match

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

cerebras_codermain.tsx1 match

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

cerebras_codermain.tsx1 match

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

LampChatmain.tsx1 match

@AppleLamps•Updated 4 months ago
194 try {
195 const filesBase64 = await Promise.all(files.map(fileToBase64));
196 const response = await fetch("/chat", {
197 method: "POST",
198 headers: { "Content-Type": "application/json" },

GROKPROMPTmain.tsx2 matches

@AppleLamps•Updated 4 months ago
52 }
53
54 const response = await fetch("/generate-prompts", {
55 method: "POST",
56 body: formData,
86 setIsLoading(true);
87 try {
88 const response = await fetch("/clarify-prompts", {
89 method: "POST",
90 headers: {

cerebras_codermain.tsx1 match

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

VEOPROMPTERmain.tsx2 matches

@AppleLamps•Updated 4 months ago
34
35 try {
36 const response = await fetch("/generate-prompts", {
37 method: "POST",
38 headers: {
71 setIsLoading(true);
72 try {
73 const response = await fetch("/clarify-prompts", {
74 method: "POST",
75 headers: {

intelligentMagentaDeermain.tsx1 match

@arhamm•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