You can access search results via JSON API by adding format=json
to your query:
https://codesearch.val.run/$%7Burl%7D?q=api&page=30&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 11798 results for "api"(844ms)
567const method = request.method;
568569// --- API Routes ---
570571// Login (UPDATED to use employees table and add logging)
1import { blob } from "https://esm.town/v/std/blob";
23export default async function(req: Request): Promise<Response> {
4const token = req.headers.get("authorization")?.split(" ")?.at(1);
5