You can access search results via JSON API by adding format=json
to your query:
https://codesearch.val.run/$%7BsvgDataUrl%7D?q=react&page=14&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 17034 results for "react"(2331ms)
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
3import React, { useState } from "https://esm.sh/react@18.2.0";
45const NO_PHRASES = [
1/** @jsx h */
2import { renderToString } from "https://esm.sh/preact-render-to-string@6.3.1";
3import { h } from "https://esm.sh/preact@10.19.2";
45const RedirectHTML = () => {