You can access search results via JSON API by adding format=json
to your query:
https://codesearch.val.run/$1?q=fetch&page=2&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 10932 results for "fetch"(1910ms)
181182try {
183const response = await fetch("/", {
184method: "POST",
185body: JSON.stringify({
26};
2728const response = await fetch("https://<your-val-id>.web.val.run/", {
29method: "POST",
30headers: {