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=205&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 2732 results for "fetch"(464ms)

newjxnredirects1 match

@charmaine•Updated 1 month ago
1export default async function(req: Request): Promise<Response> {
2 const url = new URL(req.url);
3 return fetch(new URL(url.pathname + url.search, "https://charmaine--c805d178-05c3-11f0-a611-569c3dd06744.web.val.run/"), {
4 method: req.method,
5 headers: req.headers,

newjxnrss1 match

@charmaine•Updated 1 month ago
1export default async function(req: Request): Promise<Response> {
2 const url = new URL(req.url);
3 return fetch(new URL(url.pathname + url.search, "https://charmaine--c805d178-05c3-11f0-a611-569c3dd06744.web.val.run/"), {
4 method: req.method,
5 headers: req.headers,

newjxndotcom1 match

@charmaine•Updated 1 month ago
1export default async function(req: Request): Promise<Response> {
2 const url = new URL(req.url);
3 return fetch(new URL(url.pathname + url.search, "https://charmaine--c814a23405c311f0a611569c3dd06744.web.val.run/"), {
4 method: req.method,
5 headers: req.headers,

dateme_homemain.tsx1 match

@charmaine•Updated 1 month ago
1export default async function(req: Request): Promise<Response> {
2 const url = new URL(req.url);
3 return fetch(new URL(url.pathname + url.search, "https://charmaine--f8c51cd405db11f0b6fc569c3dd06744.web.val.run"), {
4 method: req.method,
5 headers: req.headers,

dateMeRSSmain.tsx1 match

@charmaine•Updated 1 month ago
1export default async function(req: Request): Promise<Response> {
2 const url = new URL(req.url);
3 return fetch(new URL(url.pathname + url.search, "https://charmaine--f8c51cd405db11f0b6fc569c3dd06744.web.val.run"), {
4 method: req.method,
5 headers: req.headers,

datememain.tsx1 match

@charmaine•Updated 1 month ago
1export default async function(req: Request): Promise<Response> {
2 const url = new URL(req.url);
3 return fetch(new URL(url.pathname + url.search, "https://charmaine--f8c51cd405db11f0b6fc569c3dd06744.web.val.run"), {
4 method: req.method,
5 headers: req.headers,

datemenewdateme_home1 match

@charmaine•Updated 1 month ago
1export default async function(req: Request): Promise<Response> {
2 const url = new URL(req.url);
3 return fetch(new URL(url.pathname + url.search, "https://sdfsdfhi--charmaine.web.val.run/"), {
4 method: req.method,
5 headers: req.headers,

datemenewdateMeRSS1 match

@charmaine•Updated 1 month ago
1export default async function(req: Request): Promise<Response> {
2 const url = new URL(req.url);
3 return fetch(new URL(url.pathname + url.search, "https://sdfsdfhi--charmaine.web.val.run/"), {
4 method: req.method,
5 headers: req.headers,

datemenewdateme1 match

@charmaine•Updated 1 month ago
1export default async function(req: Request): Promise<Response> {
2 const url = new URL(req.url);
3 return fetch(new URL(url.pathname + url.search, "https://sdfsdfhi--charmaine.web.val.run/"), {
4 method: req.method,
5 headers: req.headers,

sdfsdfsdfsdfscholarlyLimeSlug1 match

@charmaine•Updated 1 month ago
1export default async function(req: Request): Promise<Response> {
2 const response = await fetch("https://api.thecatapi.com/v1/images/search");
3 const [catData] = await response.json();
4 return Response.json({ url: catData.url });

fetchPaginatedData2 file matches

@nbbaier•Updated 6 days ago

tweetFetcher2 file matches

@nbbaier•Updated 1 week ago