You can access search results via JSON API by adding format=json
to your query:
https://codesearch.val.run/$%7BsvgDataUrl%7D?q=fetch&page=6&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 14423 results for "fetch"(2902ms)
25}
2627const response = await fetch(linkObject.homepage);
28// console.log(response);
29const html = await response.text();
10});
1112export default app.fetch;