MCPcopy Create free account

hub / github.com/Nutlope/napkins / functions

Functions33 in github.com/Nutlope/napkins

↓ 14 callersFunctioncn
(...inputs: ClassValue[])
lib/utils.ts:4
↓ 5 callersFunctionstripFences
(code: string)
lib/code-utils.ts:1
↓ 2 callersFunctioncheckLeak
(code: string)
scripts/repro-postamble.ts:178
↓ 2 callersFunctiongetCodingPrompt
(shadcn: boolean)
lib/prompt.ts:56
↓ 1 callersFunctionanalyze
(label: string, code: string)
scripts/repro-postamble.ts:151
↓ 1 callersFunctioncountDelimiters
(code: string)
lib/code-utils.ts:12
↓ 1 callersFunctiongetImages
()
scripts/eval-fireworks.ts:16
↓ 1 callersFunctiongetImages
()
scripts/eval-focused.ts:17
↓ 1 callersFunctionmain
()
scripts/eval-fireworks.ts:212
↓ 1 callersFunctionmain
()
scripts/eval-fences.ts:138
↓ 1 callersFunctionmain
()
scripts/eval-focused.ts:178
↓ 1 callersFunctionmain
()
scripts/eval-single.ts:103
↓ 1 callersFunctionmain
()
scripts/repro-postamble.ts:174
↓ 1 callersFunctionreadStream
(response: ReadableStream)
lib/utils.ts:8
↓ 1 callersFunctionrun
(image: { name: string; base64: string }, idx: number)
scripts/eval-fireworks.ts:126
↓ 1 callersFunctionrun
(image: { name: string; base64: string }, idx: number)
scripts/eval-focused.ts:126
↓ 1 callersFunctionrunFireworks
()
scripts/repro-postamble.ts:119
↓ 1 callersFunctionrunOnce
(model: string, runIdx: number)
scripts/eval-fences.ts:48
↓ 1 callersFunctionrunTogether
()
scripts/repro-postamble.ts:99
↓ 1 callersFunctionstripPostamble
(code: string)
lib/code-utils.ts:29
↓ 1 callersFunctionvalidateCode
(code: string)
scripts/eval-focused.ts:107
↓ 1 callersFunctionvalidateCode
(code: string)
scripts/eval-single.ts:161
↓ 1 callersFunctionvalidateRaw
(code: string)
scripts/eval-fireworks.ts:107
FunctionCodeViewer
({ code, showEditor = false, }: { code: string; showEditor?: boolean; })
components/code-viewer.tsx:16
FunctionLoadingDots
({ color = "#000", style = "small", }: { color: string; style: string; })
components/loading-dots.tsx:3
FunctionPOST
(req: Request)
app/api/generateCode/route.ts:8
FunctionRootLayout
({ children, }: Readonly<{ children: React.ReactNode; }>)
app/layout.tsx:50
FunctionUploadComponent
()
app/page.tsx:23
FunctionautoClose
(code: string)
lib/code-utils.ts:59
FunctioncreateApp
()
app/page.tsx:65
FunctionhandleFileChange
(file: File)
app/page.tsx:56
FunctionhandleSampleImage
()
app/page.tsx:128
Functiontransform
(chunk, controller)
app/api/generateCode/route.ts:54