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/image-url.jpg%20%22Image%20title%22?q=function&page=21&format=json

For typeahead suggestions, use the /typeahead endpoint:

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

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

Found 18846 results for "function"(963ms)

subdomainsgov.tsx1 match

@rayyan•Updated 17 hours ago
1export default async function (req: Request): Promise<Response> {
2 return Response.json({ ok: true })
3}

subdomainstunnel.tsx1 match

@rayyan•Updated 17 hours ago
1export default async function (req: Request): Promise<Response> {
2 return Response.json({ ok: true })
3}

subdomainsresume.tsx1 match

@rayyan•Updated 17 hours ago
1export default async function (req: Request): Promise<Response> {
2 return Response.json({ ok: true })
3}
GitHub-Release-Notes

GitHub-Release-Notesindex.tsx1 match

@charmaine•Updated 17 hours ago
15}
16
17export function App() {
18 const [token, setToken] = useState("");
19 const [owner, setOwner] = useState("");

subdomainsplay.tsx1 match

@rayyan•Updated 17 hours ago
1export default async function (req: Request): Promise<Response> {
2 return Response.json({ ok: true })
3}

subdomainsfilesend.tsx1 match

@rayyan•Updated 17 hours ago
1export default async function (req: Request): Promise<Response> {
2 return Response.json({ ok: true })
3}

subdomainsport.tsx1 match

@rayyan•Updated 17 hours ago
1export default async function (req: Request): Promise<Response> {
2 return Response.json({ ok: true })
3}

subdomainssocket.tsx1 match

@rayyan•Updated 17 hours ago
1export default async function (req: Request): Promise<Response> {
2 return Response.json({ ok: true })
3}

subdomainsjwt.tsx1 match

@rayyan•Updated 17 hours ago
1export default async function (req: Request): Promise<Response> {
2 return Response.json({ ok: true })
3}

subdomainsher.tsx1 match

@rayyan•Updated 17 hours ago
1export default async function (req: Request): Promise<Response> {
2 return Response.json({ ok: true })
3}

getFileEmail4 file matches

@shouser•Updated 2 weeks ago
A helper function to build a file's email
tuna

tuna8 file matches

@jxnblk•Updated 2 weeks ago
Simple functional CSS library for Val Town
webup
LangChain (https://langchain.com) Ambassador, KubeSphere (https://kubesphere.io) Ambassador, CNCF OpenFunction (https://openfunction.dev) TOC Member.
lost1991
import { OpenAI } from "https://esm.town/v/std/openai"; export default async function(req: Request): Promise<Response> { if (req.method === "OPTIONS") { return new Response(null, { headers: { "Access-Control-Allow-Origin": "*",