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/$%7BsvgDataUrl%7D?q=function&page=47&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 31480 results for "function"(3591ms)

thirdTimerButton.tsx1 match

@charmaine•Updated 2 days ago
19}
20
21export function Button({
22 children,
23 onClick,

thirdTimerBreakFractionSettings.tsx1 match

@charmaine•Updated 2 days ago
19}
20
21export const BreakFractionSettings = React.memo(function BreakFractionSettings({
22 currentBreakFraction,
23 onBreakFractionChange,

thirdTimerActionButtons.tsx1 match

@charmaine•Updated 2 days ago
12}
13
14export function ActionButtons({
15 state,
16 onStartWork,

untitled-113main.tsx2 matches

@paulsun•Updated 2 days ago
4const calendar = await pipeDreamGoogle("calendar", accountId);
5
6// Function to get free/busy information
7async function getFreeBusyTimes(calendarId: string) {
8 const now = new Date();
9 const startOfWeek = new Date(now);

sdfmain.tsx1 match

@wolf•Updated 2 days ago
1export default async function (req: Request): Promise<Response> {
2 return Response.json({ ok: true })
3}

untitled-9048main.tsx1 match

@wolf•Updated 2 days ago
1export default async function (req: Request): Promise<Response> {
2 return Response.json({ ok: true })
3}

Glancertest.tsx1 match

@lightweight•Updated 2 days ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2
3export function Test() {
4 console.log("test");
5 return (

Glancerpdf.tsx1 match

@lightweight•Updated 2 days ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2
3export function PdfContent({ data, content }) {
4 // const { content, contentURL, docsURL } = config;
5 // console.log("content: ", content);

Glanceriframe.tsx1 match

@lightweight•Updated 2 days ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2
3export function IframeContent({ data, content }) {
4 // const { content, contentURL, docsURL } = config;
5 // console.log("content: ", content);

GlancergettingStarted.tsx1 match

@lightweight•Updated 2 days ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2
3export function GettingStartedContent({ data, title }) {
4 // const { content, contentURL, docsURL } = config;
5 // console.log("data: ", data);
tuna

tuna9 file matches

@jxnblk•Updated 2 weeks ago
Simple functional CSS library for Val Town

getFileEmail4 file matches

@shouser•Updated 1 month ago
A helper function to build a file's email
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": "*",
webup
LangChain (https://langchain.com) Ambassador, KubeSphere (https://kubesphere.io) Ambassador, CNCF OpenFunction (https://openfunction.dev) TOC Member.