MCPcopy Create free account

hub / github.com/vercel/examples / functions

Functions2,748 in github.com/vercel/examples

↓ 1 callersFunctiondrawVercelTriangle
drawVercelTriangle draws a black, upward-pointing triangle centered in the image. To match the Vercel branding it is drawn directly over the center (n
container-images/demo/apps/qr/generate.go:75
↓ 1 callersFunctione
()
framework-boilerplates/hexo/themes/landscape/source/fancybox/jquery.fancybox.pack.js:251
↓ 1 callersFunctionencode
(query: Record<string, string>)
edge-middleware/ip-blocking-datadome/lib/datadome.ts:137
↓ 1 callersFunctionencode
(query: Record<string, string>)
edge-middleware/bot-protection-datadome/lib/datadome.ts:156
↓ 1 callersFunctionensureDirFor
(filePath)
python/vibe-coding-ide/frontend/scripts/build-templates.js:207
↓ 1 callersFunctionensure_go_tooling
( ctx: RunContextWrapper[IDEContext], sandbox: Sandbox, safe_cwd: str, env: dict[str, str] | N
python/vibe-coding-ide/backend/src/sandbox/command.py:378
↓ 1 callersFunctionensure_python_tooling
( ctx: RunContextWrapper[IDEContext], sandbox: Sandbox, safe_cwd: str, env: dict[str, str] | N
python/vibe-coding-ide/backend/src/sandbox/command.py:93
↓ 1 callersFunctionensure_ruby_tooling
( ctx: RunContextWrapper[IDEContext], sandbox: Sandbox, safe_cwd: str, env: dict[str, str] | N
python/vibe-coding-ide/backend/src/sandbox/command.py:278
↓ 1 callersMethodenter
* Update game state based on a guess of a five-letter word. Returns * true if the guess was valid, false otherwise
framework-boilerplates/sveltekit-1/src/routes/sverdle/game.ts:32
↓ 1 callersFunctionescapeRegex
(s: string)
python/vibe-coding-ide/frontend/src/context/ProjectsContext.tsx:631
↓ 1 callersFunctionexpireUserCookie
(res: NextResponse)
edge-middleware/jwt-authentication/lib/auth.ts:54
↓ 1 callersFunctionfetchApi
()
python/vibe-coding-ide/frontend/templates/react-fastapi/frontend/src/app/page.tsx:3
↓ 1 callersFunctionfetchContentfulRedirects
()
cdn/cms-bulk-redirects/vercel.ts:32
↓ 1 callersFunctionfetchDatafile
()
edge-middleware/feature-flag-optimizely/scripts/fetch_optimizely_datafile.js:6
↓ 1 callersFunctionfetchItems
()
python/vibe-coding-ide/frontend/templates/react-fastapi/frontend/src/app/page.tsx:11
↓ 1 callersFunctionfetchPredictiveSearchResults
({ params, request, context, }: Pick<LoaderArgs, 'params' | 'context' | 'request'>)
framework-boilerplates/hydrogen-2/app/routes/api.predictive-search.tsx:56
↓ 1 callersFunctionfilterTagList
(tags)
framework-boilerplates/eleventy/.eleventy.js:48
↓ 1 callersFunctionfindDoomWindow
findDoomWindow searches for the chocolate-doom window by class/name.
container-images/demo/apps/doom/engine.go:94
↓ 1 callersFunctionfirstLine
(s string)
container-images/demo/apps/doom/engine.go:126
↓ 1 callersFunctionformat
(url, rez, params)
framework-boilerplates/hexo/themes/landscape/source/fancybox/helpers/jquery.fancybox-media.js:70
↓ 1 callersFunctionformatSlug
(fallback: string)
starter/cms-payload/payload/utilities/formatSlug.ts:10
↓ 1 callersFunctiongenerateFiles
({ writer, modelId }: Params)
apps/vibe-coding-platform/ai/tools/generate-files.ts:16
↓ 1 callersFunctiongeneratePromptFromThread
({ messages, }: ConversationsRepliesResponse)
solutions/slackbot/api/_openai.ts:14
↓ 1 callersFunctiongenerateRandomActivity
()
solutions/saas-microservices/apps/api-dashboard/server/routes/activity.get.ts:119
↓ 1 callersFunctiongenerateRandomActivity
()
microfrontends/saas-microservices/apps/api/src/index.ts:171
↓ 1 callersFunctiongenerateSitemap
({ data, baseUrl, }: { data: SitemapQuery; baseUrl: string; })
framework-boilerplates/hydrogen-2/app/routes/[sitemap.xml].tsx:49
↓ 1 callersFunctiongenerateTests
()
internal/packages/playwright/scripts/generate-tests.ts:11
↓ 1 callersFunctionget
(key: keyof FeatureFlags)
edge-middleware/feature-flag-apple-store/lib/feature-flags.ts:10
↓ 1 callersMethodget
({ fallback, shouldReturnUnrecognizedValues = false, }: { fallback: ProceedToCheckout should
flags-sdk/hypertune/generated/hypertune.ts:131
↓ 1 callersFunctiongetAddressFirstCharacters
(address: string)
solutions/mint-nft/helpers/address.helpers.ts:1
↓ 1 callersFunctiongetAddressLateCharacters
(address: string)
solutions/mint-nft/helpers/address.helpers.ts:3
↓ 1 callersFunctiongetAllRules
()
edge-middleware/ip-blocking-datadome/lib/datadome-ip.ts:51
↓ 1 callersFunctiongetAuthorizationLength
(req: NextRequest)
edge-middleware/ip-blocking-datadome/lib/datadome.ts:182
↓ 1 callersFunctiongetAuthorizationLength
(req: NextRequest)
edge-middleware/bot-protection-datadome/lib/datadome.ts:201
↓ 1 callersFunctiongetBackgroundCommandErrorLines
(commands: Command[])
apps/vibe-coding-platform/app/state.ts:28
↓ 1 callersFunctiongetBarColorForPercentage
(p)
edge-middleware/clerk-authentication/components/statelessDoneRightSection/TokenCard.jsx:7
↓ 1 callersFunctiongetBucket
(buckets: readonly string[])
edge-middleware/ab-testing-simple/lib/ab-testing.ts:1
↓ 1 callersFunctiongetClient
()
toolbar/toolbar-launchdarkly/app/launchdarkly.ts:9
↓ 1 callersFunctiongetCollection
(slug: string)
cdn/cms-webhook-update-redirects/lib/collections.ts:117
↓ 1 callersFunctiongetCollection
(slug: string)
cdn/cms-bulk-redirects/lib/collections.ts:117
↓ 1 callersFunctiongetCollectionParams
()
cdn/cms-webhook-update-redirects/lib/collections.ts:121
↓ 1 callersFunctiongetCollectionParams
()
cdn/cms-bulk-redirects/lib/collections.ts:121
↓ 1 callersFunctiongetCommand
(sandboxId: string, cmdId: string)
apps/vibe-coding-platform/components/commands-logs/command-logs.tsx:100
↓ 1 callersFunctiongetCommand
(sandboxId: string, cmdId: string)
apps/vibe-coding-platform/components/commands-logs/commands-logs-stream.tsx:94
↓ 1 callersFunctiongetCommandLogs
(sandboxId: string, cmdId: string)
apps/vibe-coding-platform/components/commands-logs/command-logs.tsx:68
↓ 1 callersFunctiongetCommandLogs
(sandboxId: string, cmdId: string)
apps/vibe-coding-platform/components/commands-logs/commands-logs-stream.tsx:57
↓ 1 callersFunctiongetConnectionSpeed
()
framework-boilerplates/create-react-app/src/vitals.js:3
↓ 1 callersFunctiongetConnectionSpeed
()
framework-boilerplates/sveltekit-1/src/lib/vitals.ts:5
↓ 1 callersFunctiongetConnectionSpeed
()
framework-boilerplates/sveltekit/src/lib/vitals.js:5
↓ 1 callersFunctiongetContents
( params: Params )
apps/vibe-coding-platform/ai/tools/generate-files/get-contents.ts:33
↓ 1 callersFunctiongetCookieData
* Returns the client ID from the `datadome` cookie. * @param {NextRequest['cookies']} cookies - Incoming client request cookie header * @returns {{
edge-middleware/bot-protection-datadome/lib/datadome.ts:281
↓ 1 callersFunctiongetCookiesLength
(cookies: NextRequest['cookies'])
edge-middleware/ip-blocking-datadome/lib/datadome.ts:205
↓ 1 callersFunctiongetErrorFields
(error: unknown)
apps/vibe-coding-platform/ai/tools/get-rich-error.ts:25
↓ 1 callersFunctiongetExt
()
python/vibe-coding-ide/frontend/src/components/Editor/EditorPane.tsx:296
↓ 1 callersFunctiongetFeatureFlagVariant
( distinctUserId: string, featureName: Flags )
edge-middleware/feature-flag-posthog/lib/posthog-api.ts:22
↓ 1 callersFunctiongetFlags
* A function which respects overrides set by the Toolbar, and returns feature flags.
toolbar/toolbar-statsig/app/page.tsx:11
↓ 1 callersFunctiongetFlags
* A function which respects overrides set by the Toolbar, and returns feature flags.
toolbar/toolbar-launchdarkly/app/page.tsx:17
↓ 1 callersFunctiongetFlags
* A function which respects overrides set by the Toolbar, and returns feature flags.
toolbar/toolbar-split/app/page.tsx:16
↓ 1 callersFunctiongetFlags
* A function which respects overrides set by the Toolbar, and returns feature flags.
toolbar/toolbar-optimizely/app/page.tsx:16
↓ 1 callersFunctiongetGPTResponse
(messages: ChatCompletionMessageParam[])
solutions/slackbot/api/_openai.ts:7
↓ 1 callersFunctiongetHeadersDict
(headers: Headers)
edge-middleware/bot-protection-botd/lib/botd/index.ts:221
↓ 1 callersFunctiongetHeadersList
(req: NextRequest)
edge-middleware/ip-blocking-datadome/lib/datadome.ts:177
↓ 1 callersFunctiongetHeadersList
(req: NextRequest)
edge-middleware/bot-protection-datadome/lib/datadome.ts:196
↓ 1 callersFunctiongetHeroPlaceholder
(heros: any[])
framework-boilerplates/hydrogen/src/lib/placeholders.ts:176
↓ 1 callersFunctiongetHostnameDataOrDefault
( subdomainOrCustomDomain?: string )
edge-middleware/hostname-rewrites/lib/db.ts:29
↓ 1 callersFunctiongetInitialMotionPreference
()
framework-boilerplates/sveltekit-1/src/routes/sverdle/reduced-motion.ts:6
↓ 1 callersFunctiongetMDXData
(dir)
solutions/blog/app/blog/utils.ts:38
↓ 1 callersFunctiongetMDXFiles
(dir)
solutions/blog/app/blog/utils.ts:29
↓ 1 callersFunctiongetMultipleRandom
(arr: any[], infos: number)
framework-boilerplates/hydrogen/src/lib/placeholders.ts:217
↓ 1 callersFunctiongetParityPrice
(price: number, parity: number)
edge-middleware/power-parity-pricing/utils.ts:1
↓ 1 callersFunctiongetPassword
(form: FormData)
framework-boilerplates/hydrogen-2/app/routes/account.profile.tsx:227
↓ 1 callersFunctiongetPostHogInstance
()
edge-middleware/feature-flag-posthog/lib/posthog.ts:47
↓ 1 callersFunctiongetProductPlaceholder
()
framework-boilerplates/hydrogen/src/lib/placeholders.ts:224
↓ 1 callersFunctiongetReadme
(path: string)
internal/scripts/lib/get-readme.ts:3
↓ 1 callersFunctiongetReferencedTweets
(mainTweet)
solutions/platforms-slate-supabase/lib/twitter.js:32
↓ 1 callersFunctiongetRelatedTemplates
(slug: string[])
internal/scripts/lib/contentful/get-related-templates.ts:4
↓ 1 callersMethodgetRootArgs
()
edge-middleware/feature-flag-hypertune/generated/hypertune.ts:83
↓ 1 callersFunctiongetRuntimeIcon
(runtime: string)
python/vibe-coding-ide/frontend/src/components/Chat/ChatTimeline/RuntimePill.tsx:5
↓ 1 callersFunctiongetSandboxTokenSource
(appConfig: AppConfig)
guides/sandbox-voice-agent/lib/utils.ts:104
↓ 1 callersFunctiongetSandboxURL
({ writer }: Params)
apps/vibe-coding-platform/ai/tools/get-sandbox-url.ts:12
↓ 1 callersFunctiongetSourceIcon
(source: Track.Source, enabled: boolean, pending = false)
guides/sandbox-voice-agent/components/livekit/agent-control-bar/track-toggle.tsx:17
↓ 1 callersFunctiongetStyles
(appConfig: AppConfig)
guides/sandbox-voice-agent/lib/utils.ts:84
↓ 1 callersFunctiongetSummary
(lines: Line[], previous: Line[])
apps/vibe-coding-platform/components/error-monitor/get-summary.ts:3
↓ 1 callersFunctiongetTemplate
(readme: string)
internal/scripts/lib/contentful/get-template.ts:21
↓ 1 callersFunctiongetTest
(demoUrl: string)
internal/packages/playwright/scripts/lib/get-test.ts:1
↓ 1 callersFunctiongetTextColorForPercentage
(p)
edge-middleware/clerk-authentication/components/statelessDoneRightSection/TokenCard.jsx:21
↓ 1 callersMethodgetTodosList
()
solutions/testing/packages/playwright/shared/pages/todo-page.ts:21
↓ 1 callersFunctiongetTwitterMedia
(id)
solutions/platforms-slate-supabase/lib/twitter-media.js:1
↓ 1 callersFunctiongetValue
(key: K)
edge-middleware/feature-flag-configcat/lib/configcat.ts:28
↓ 1 callersFunctiongetVercelOverride
()
edge-middleware/feature-flag-hypertune/generated/hypertune.vercel.tsx:10
↓ 1 callersFunctiongetVercelRegion
(header)
edge-middleware/clerk-authentication/utils/vercelRegion.js:23
↓ 1 callersFunctiongetVercelSandboxTokenSource
(sandboxId: string, roomName: string)
guides/sandbox-voice-agent/lib/utils.ts:139
↓ 1 callersFunctiongetWriteFiles
({ sandbox, toolCallId, writer }: Params)
apps/vibe-coding-platform/ai/tools/generate-files/get-write-files.ts:13
↓ 1 callersFunctionget_sandbox_by_name
Get or create a sandbox by name (multi-sandbox only).
python/vibe-coding-ide/backend/src/sandbox/utils.py:65
↓ 1 callersFunctionhandle
(msg: ServerMessage)
websockets/nitro/app/hooks/use-realtime.ts:92
↓ 1 callersFunctionhandle
(msg: ServerMessage)
websockets/nuxt/app/composables/useRealtime.ts:79
↓ 1 callersMethodhandleClose
(ws: WebSocket, conn: ConnState)
websockets/next-chat/lib/chat/index.ts:235
↓ 1 callersFunctionhandleErrors
(errors: Line[], prev: Line[])
apps/vibe-coding-platform/components/error-monitor/error-monitor.tsx:58
↓ 1 callersMethodhandleMessage
( ws: WebSocket, conn: ConnState, data: WebSocket.RawData )
websockets/next-chat/lib/chat/index.ts:221
↓ 1 callersFunctionhandleRemove
(ruleId: string)
edge-middleware/ip-blocking-datadome/pages/index.tsx:20
← previousnext →401–500 of 2,748, ranked by callers