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=46&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 31479 results for "function"(1913ms)

thirdTimerSessionStats.tsx1 match

@charmaineโ€ขUpdated 2 days ago
10}
11
12export function SessionStatsDisplay({ stats, formatMinutes }: SessionStatsProps) {
13 const statsData = [
14 {

thirdTimerREADME.md2 matches

@charmaineโ€ขUpdated 2 days ago
40โ”‚ โ”œโ”€โ”€ index.tsx # React app entry point
41โ”‚ โ”œโ”€โ”€ style.css # Styling
42โ”‚ โ””โ”€โ”€ utils/ # Utility functions
43โ”‚ โ””โ”€โ”€ timer-actions.ts # Timer actions
44โ””โ”€โ”€ shared/
45 โ”œโ”€โ”€ types.ts # Shared TypeScript types
46 โ””โ”€โ”€ utils.tsx # Shared utility functions
47```
48

thirdTimerNotification.tsx1 match

@charmaineโ€ขUpdated 2 days ago
10}
11
12export function Notification({ message, type, onClose }: NotificationProps) {
13 const [isClosing, setIsClosing] = useState(false);
14 const notificationRef = useRef<HTMLDivElement>(null);

thirdTimerindex.tsx1 match

@charmaineโ€ขUpdated 2 days ago
12import * as TimerActions from "./utils/timer-actions.ts";
13
14function App() {
15 const [state, setState] = useState<TimerState>(() => {
16 return {

thirdTimerHelpText.tsx1 match

@charmaineโ€ขUpdated 2 days ago
9);
10
11export const HelpText = React.memo(function HelpText() {
12 return (
13 <Card>

thirdTimerFooter.tsx1 match

@charmaineโ€ขUpdated 2 days ago
6export const SOURCE_URL = "https://val.town/x/nbbaier/thirdTimer";
7
8export const Footer = React.memo(function Footer() {
9 return (
10 <footer className="flex gap-2 items-center p-4 mx-auto my-0 max-w-5xl text-xs">

thirdTimerfavicon.http.tsx1 match

@charmaineโ€ขUpdated 2 days ago
3import { renderToString } from "npm:react-dom@18.2.0/server";
4
5export default function () {
6 const svg = renderToString(
7 <svg

thirdTimerCard.tsx2 matches

@charmaineโ€ขUpdated 2 days ago
6}
7
8export function CardHeader({ children, className = "" }: CardProps) {
9 return <div className={`mb-3 text-lg font-semibold ${className}`}>{children}</div>;
10}
11
12export function Card({ children, className = "" }: CardProps) {
13 return (
14 <div

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,
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.