Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Nutlope/napkins
/ functions
Functions
33 in github.com/Nutlope/napkins
⨍
Functions
33
◇
Types & classes
3
↓ 14 callers
Function
cn
(...inputs: ClassValue[])
lib/utils.ts:4
↓ 5 callers
Function
stripFences
(code: string)
lib/code-utils.ts:1
↓ 2 callers
Function
checkLeak
(code: string)
scripts/repro-postamble.ts:178
↓ 2 callers
Function
getCodingPrompt
(shadcn: boolean)
lib/prompt.ts:56
↓ 1 callers
Function
analyze
(label: string, code: string)
scripts/repro-postamble.ts:151
↓ 1 callers
Function
countDelimiters
(code: string)
lib/code-utils.ts:12
↓ 1 callers
Function
getImages
()
scripts/eval-fireworks.ts:16
↓ 1 callers
Function
getImages
()
scripts/eval-focused.ts:17
↓ 1 callers
Function
main
()
scripts/eval-fireworks.ts:212
↓ 1 callers
Function
main
()
scripts/eval-fences.ts:138
↓ 1 callers
Function
main
()
scripts/eval-focused.ts:178
↓ 1 callers
Function
main
()
scripts/eval-single.ts:103
↓ 1 callers
Function
main
()
scripts/repro-postamble.ts:174
↓ 1 callers
Function
readStream
(response: ReadableStream)
lib/utils.ts:8
↓ 1 callers
Function
run
(image: { name: string; base64: string }, idx: number)
scripts/eval-fireworks.ts:126
↓ 1 callers
Function
run
(image: { name: string; base64: string }, idx: number)
scripts/eval-focused.ts:126
↓ 1 callers
Function
runFireworks
()
scripts/repro-postamble.ts:119
↓ 1 callers
Function
runOnce
(model: string, runIdx: number)
scripts/eval-fences.ts:48
↓ 1 callers
Function
runTogether
()
scripts/repro-postamble.ts:99
↓ 1 callers
Function
stripPostamble
(code: string)
lib/code-utils.ts:29
↓ 1 callers
Function
validateCode
(code: string)
scripts/eval-focused.ts:107
↓ 1 callers
Function
validateCode
(code: string)
scripts/eval-single.ts:161
↓ 1 callers
Function
validateRaw
(code: string)
scripts/eval-fireworks.ts:107
Function
CodeViewer
({ code, showEditor = false, }: { code: string; showEditor?: boolean; })
components/code-viewer.tsx:16
Function
LoadingDots
({ color = "#000", style = "small", }: { color: string; style: string; })
components/loading-dots.tsx:3
Function
POST
(req: Request)
app/api/generateCode/route.ts:8
Function
RootLayout
({ children, }: Readonly<{ children: React.ReactNode; }>)
app/layout.tsx:50
Function
UploadComponent
()
app/page.tsx:23
Function
autoClose
(code: string)
lib/code-utils.ts:59
Function
createApp
()
app/page.tsx:65
Function
handleFileChange
(file: File)
app/page.tsx:56
Function
handleSampleImage
()
app/page.tsx:128
Function
transform
(chunk, controller)
app/api/generateCode/route.ts:54