You can access search results via JSON API by adding format=json
to your query:
https://codesearch.val.run/$2?q=react&page=12&format=json
For typeahead suggestions, use the /typeahead
endpoint:
https://codesearch.val.run/typeahead?q=react
Returns an array of strings in format "username" or "username/projectName"
Found 13206 results for "react"(2735ms)
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { Hono } from "https://esm.sh/hono@3.11.7";
3import { html } from "https://esm.sh/hono@3.11.7/html";
1/** @jsxImportSource https://esm.sh/react@18.2.0?dev */
23export function ValTownLogo () {