You can access search results via JSON API by adding format=json
to your query:
https://codesearch.val.run/image-url.jpg?q=react&page=21&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 12379 results for "react"(834ms)
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
23import React from "https://esm.sh/react@18.2.0";
45export default function Footer() {
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
23import React from "https://esm.sh/react@18.2.0";
45export default function Campus() {