You can access search results via JSON API by adding format=json
to your query:
https://codesearch.val.run/$%7Burl%7D?q=function&page=2&format=json
For typeahead suggestions, use the /typeahead
endpoint:
https://codesearch.val.run/typeahead?q=function
Returns an array of strings in format "username" or "username/projectName"
Found 18150 results for "function"(608ms)
32}));
3334function FlashcardApp() {
35const audioRef = useRef(new Audio("/audio/hungarian-alphabet.mp3"));
36const [currentIndex, setCurrentIndex] = useState(0);
119}
120121function client() {
122createRoot(document.getElementById('root')).render(<FlashcardApp />);
123}
124if (typeof document !== 'undefined') client();
125126export default async function server(request) {
127return new Response(
128`<html>
1export default async function(req: Request) {
2return new Response(
3renderToString(
462let currentColorName = "Blanco Sucio";
463464// Update functions
465function updateValue(slider, valueElement) {
466valueElement.textContent = slider.value;
467}
468469function updateLocker() {
470const height = parseInt(heightSlider.value);
471const width = parseInt(widthSlider.value);
873});
874875function getColorName(hex) {
876// This function is now replaced by the color picker logic using data-name
877return currentColorName;
878}