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=api&page=1687&format=json

For typeahead suggestions, use the /typeahead endpoint:

https://codesearch.val.run/typeahead?q=api

Returns an array of strings in format "username" or "username/projectName"

Found 18012 results for "api"(1479ms)

myApimain.tsx1 match

@xiaogenban•Updated 1 year ago
1import { imgMin } from "https://esm.town/v/xiaogenban/imgMin";
2
3export async function myApi(name) {
4 return imgMin(name);
5 // return `hi ${name}`;

myApimain.tsx1 match

@taowen•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}

myApimain.tsx1 match

@ddpopbb3•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}

myApimain.tsx1 match

@gbeaver•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}

myApimain.tsx1 match

@britzdm•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}

myApimain.tsx1 match

@danielraffel•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}

myApimain.tsx1 match

@R3D01NG1T•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}

myApimain.tsx1 match

@jqxu•Updated 1 year ago
1export function myApi(name) {
2 return "hello " + name;
3}

myApimain.tsx1 match

@ndom91•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}

googleProxymain.tsx1 match

@omgwtfbrblolttyl•Updated 1 year ago
8 return res.status(401).end();
9 }
10 const actualKey = process.env["googleAPIKey"];
11 const rewritten = req.originalUrl.replace(
12 `key=${proxyKey}`,

Apiify7 file matches

@wolf•Updated 52 mins ago

dailyQuoteAPI

@Souky•Updated 2 days ago
Kapil01
apiv1