Val Town Code SearchReturn to Val Town

API Access

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)

nicoFunctionScript2 file matches

@stevekrouse•Updated 1 year ago

functionZilla1 file match

@sdan•Updated 1 year ago

chatSampleFunctionExtraction2 file matches

@webup•Updated 1 year ago

chatSampleFunctionMultiple2 file matches

@webup•Updated 1 year ago

chatSampleFunctionSingle2 file matches

@webup•Updated 1 year ago

multiplicationFunctionTest1 file match

@rodrigotello•Updated 1 year ago

chatSampleFunctionTagging2 file matches

@webup•Updated 1 year ago

FunctionToHTMLForm1 file match

@rodrigotello•Updated 1 year ago

untitled-4861main.tsx3 matches

@josephmarks•Updated 45 mins ago
32}));
33
34function FlashcardApp() {
35 const audioRef = useRef(new Audio("/audio/hungarian-alphabet.mp3"));
36 const [currentIndex, setCurrentIndex] = useState(0);
119}
120
121function client() {
122 createRoot(document.getElementById('root')).render(<FlashcardApp />);
123}
124if (typeof document !== 'undefined') client();
125
126export default async function server(request) {
127 return new Response(
128`<html>

LockerDesignerLockerDesigner.tsx6 matches

@lemu•Updated 57 mins ago
1export default async function(req: Request) {
2 return new Response(
3 renderToString(
462 let currentColorName = "Blanco Sucio";
463
464 // Update functions
465 function updateValue(slider, valueElement) {
466 valueElement.textContent = slider.value;
467 }
468
469 function updateLocker() {
470 const height = parseInt(heightSlider.value);
471 const width = parseInt(widthSlider.value);
873 });
874
875 function getColorName(hex) {
876 // This function is now replaced by the color picker logic using data-name
877 return currentColorName;
878 }
webup
LangChain (https://langchain.com) Ambassador, KubeSphere (https://kubesphere.io) Ambassador, CNCF OpenFunction (https://openfunction.dev) TOC Member.
lost1991
import { OpenAI } from "https://esm.town/v/std/openai"; export default async function(req: Request): Promise<Response> { if (req.method === "OPTIONS") { return new Response(null, { headers: { "Access-Control-Allow-Origin": "*",