MCPcopy Create free account

hub / github.com/vercel/examples / functions

Functions2,748 in github.com/vercel/examples

↓ 4 callersFunctionhandleError
* Handle errors with consistent logging and response format
solutions/aws-neptune-analytics/app/api/node/route.ts:34
↓ 4 callersFunctionrandomString
()
solutions/auth-with-ory/cypress/integration/pages.spec.js:1
↓ 4 callersMethodregister
Start tracking a socket as a local delivery target (on connect).
websockets/next-chat/lib/chat/broadcast/types.ts:12
↓ 4 callersFunctionscrollToBottom
()
guides/sandbox-voice-agent/components/livekit/scroll-area/hooks/useAutoScroll.ts:7
↓ 4 callersFunctionsnapshot_files_into_context
Snapshot filesystem and record per-sandbox state.
python/vibe-coding-ide/backend/src/sandbox/utils.py:22
↓ 4 callersFunctionstart
()
framework-boilerplates/hexo/themes/landscape/source/fancybox/jquery.fancybox.js:469
↓ 4 callersFunctionsync_project_files
Write project files to sandbox. If paths is provided, limits writes to those project-relative files; otherwise writes the entire project mapp
python/vibe-coding-ide/backend/src/sandbox/utils.py:90
↓ 4 callersFunctiontoArray
(val?: string | string[])
internal/scripts/lib/contentful/get-template.ts:18
↓ 4 callersFunctiontoUnit
Clamp an untrusted coordinate into the normalized 0..1 range, or reject it.
websockets/nitro/server/api/ws.ts:11
↓ 4 callersFunctiontoUnit
Clamp an untrusted coordinate into the normalized 0..1 range, or reject it.
websockets/nuxt/server/api/ws.ts:11
↓ 4 callersMethodunset
(key: string)
framework-boilerplates/hydrogen-2/server.ts:139
↓ 4 callersFunctionupstashRest
( args: any[], options?: { pipeline: boolean } )
edge-middleware/ip-blocking/lib/upstash.ts:34
↓ 4 callersFunctionuseProductDetailPageContext
()
flags-sdk/openfeature/components/utils/product-detail-page-context.tsx:12
↓ 4 callersFunctionuseProductDetailPageContext
()
flags-sdk/experimentation-statsig/components/utils/product-detail-page-context.tsx:12
↓ 4 callersFunctionuseProductDetailPageContext
()
flags-sdk/launchdarkly/components/utils/product-detail-page-context.tsx:12
↓ 4 callersFunctionuseProductDetailPageContext
()
flags-sdk/growthbook/components/utils/product-detail-page-context.tsx:12
↓ 4 callersFunctionuseProductDetailPageContext
()
flags-sdk/flagsmith/components/utils/product-detail-page-context.tsx:12
↓ 4 callersFunctionuseProductDetailPageContext
()
flags-sdk/hypertune/components/utils/product-detail-page-context.tsx:12
↓ 4 callersFunctionuseProductDetailPageContext
()
flags-sdk/posthog/components/utils/product-detail-page-context.tsx:12
↓ 4 callersFunctionuseProductDetailPageContext
()
flags-sdk/reflag/components/utils/product-detail-page-context.tsx:12
↓ 4 callersFunctionuseProductDetailPageContext
()
flags-sdk/vercel/components/utils/product-detail-page-context.tsx:12
↓ 4 callersFunctionuseSidebar
()
solutions/saas-microservices/apps/dashboard/src/components/ui/sidebar.tsx:41
↓ 4 callersFunctionuseSidebar
()
microfrontends/saas-microservices/apps/dashboard/src/components/ui/sidebar.tsx:41
↓ 4 callersFunctionuseTheme
()
solutions/saas-microservices/apps/dashboard/src/components/theme-provider.tsx:79
↓ 4 callersFunctionxmlEncode
(string: string)
framework-boilerplates/hydrogen-2/app/routes/[sitemap.xml].tsx:45
↓ 3 callersFunction_parse_ignore_lines
(text: str)
python/vibe-coding-ide/backend/src/agent/utils.py:126
↓ 3 callersFunction_sh_quote
(p: str)
python/vibe-coding-ide/backend/src/sandbox/utils.py:288
↓ 3 callersFunction_user_project_sbx_key
(user_id: str, project_id: str)
python/vibe-coding-ide/backend/src/run_store.py:75
↓ 3 callersFunction_user_sbx_key
(user_id: str)
python/vibe-coding-ide/backend/src/run_store.py:51
↓ 3 callersFunctionbackgroundColor
({ overrides = {} }: Args)
starter/cms-payload/payload/fields/backgroundColor.ts:8
↓ 3 callersFunctioncanPublishSource
(source: Track.Source)
guides/sandbox-voice-agent/components/livekit/agent-control-bar/hooks/use-publish-permissions.ts:28
↓ 3 callersFunctioncancelRename
()
python/vibe-coding-ide/frontend/src/components/ProjectTabs.tsx:86
↓ 3 callersFunctionclose
()
framework-boilerplates/hydrogen/src/components/account/AccountDetails.client.tsx:19
↓ 3 callersMethoddeliverLocal
Deliver to every local socket, optionally excluding the sender.
websockets/next-chat/lib/chat/broadcast/local.ts:33
↓ 3 callersFunctionemailValidation
(email: HTMLInputElement)
framework-boilerplates/hydrogen/src/lib/utils.ts:258
↓ 3 callersFunctiongeneralDisallowRules
* This function generates disallow rules that generally follow what Shopify's * Online Store has as defaults for their robots.txt
framework-boilerplates/hydrogen-2/app/routes/[robots.txt].tsx:92
↓ 3 callersMethodgetAll
()
guides/sandbox-voice-agent/lib/sandbox-manager.ts:44
↓ 3 callersFunctiongetCart
()
flags-sdk/openfeature/lib/actions.ts:17
↓ 3 callersFunctiongetCart
()
flags-sdk/experimentation-statsig/lib/actions.ts:17
↓ 3 callersFunctiongetCart
()
flags-sdk/launchdarkly/lib/actions.ts:17
↓ 3 callersFunctiongetCart
()
flags-sdk/growthbook/lib/actions.ts:17
↓ 3 callersFunctiongetCart
()
flags-sdk/flagsmith/lib/actions.ts:16
↓ 3 callersFunctiongetCart
()
flags-sdk/posthog/lib/actions.ts:16
↓ 3 callersFunctiongetCart
()
flags-sdk/reflag/lib/actions.ts:16
↓ 3 callersFunctiongetCart
()
flags-sdk/vercel/lib/actions.ts:16
↓ 3 callersFunctiongetImageLoadingPriority
( index: number, maxEagerLoadCount = DEFAULT_GRID_IMG_LOAD_EAGER_COUNT, )
framework-boilerplates/hydrogen/src/lib/const.ts:5
↓ 3 callersFunctiongetPayloadClient
()
starter/cms-payload/payload/payloadClient.ts:25
↓ 3 callersFunctionget_user_project_sandboxes
(user_id: str, project_id: str)
python/vibe-coding-ide/backend/src/run_store.py:79
↓ 3 callersFunctionget_user_sandboxes
(user_id: str)
python/vibe-coding-ide/backend/src/run_store.py:55
↓ 3 callersFunctioninitContentful
(accessToken: string)
internal/scripts/lib/contentful/index.ts:3
↓ 3 callersFunctionisObject
(item: unknown)
starter/cms-payload/payload/utilities/deepMerge.ts:6
↓ 3 callersFunctionlink
({ appearances, disableLabel = false, overrides = {}, } = {})
starter/cms-payload/payload/fields/link.ts:27
↓ 3 callersFunctionloadFileData
(filePath: string)
guides/sandbox-voice-agent/app/(app)/opengraph-image.tsx:37
↓ 3 callersFunctionlogin
(email, password)
solutions/auth-with-ory/cypress/integration/pages.spec.js:5
↓ 3 callersFunctionmergeThreadIntoRuns
( projectId: string, thread: PersistedChatThread )
python/vibe-coding-ide/frontend/src/lib/persistence.ts:254
↓ 3 callersFunctiononChange
()
solutions/saas-microservices/apps/dashboard/src/hooks/use-mobile.tsx:12
↓ 3 callersFunctionpasswordValidation
(password: HTMLInputElement)
framework-boilerplates/hydrogen/src/lib/utils.ts:266
↓ 3 callersFunctionrewrites
()
python/vibe-coding-ide/frontend/next.config.ts:4
↓ 3 callersFunctionrichText
( overrides, additions = { elements: [], leaves: [], } )
starter/cms-payload/payload/fields/richText/index.ts:19
↓ 3 callersFunctionselectTargetedOption
* Selects a value from an array of options based on the targeting key using xxHash32 * @param targetingKey The key to use for targeting * @param opt
flags-sdk/openfeature/your-custom-provider.ts:16
↓ 3 callersFunctionsend
(msg: ClientMessage)
websockets/nitro/app/hooks/use-realtime.ts:78
↓ 3 callersFunctionsend
(msg: ClientMessage)
websockets/nuxt/app/composables/useRealtime.ts:65
↓ 3 callersFunctionsendMessage
(e)
websockets/flask-ai-chat/frontend/app/page.js:95
↓ 3 callersMethodsetTodos
(username: string, todos: Todo[], res: NextApiResponse)
solutions/testing/apps/main-site/lib/db.ts:46
↓ 3 callersFunctionstopHeartbeat
()
websockets/nitro/app/hooks/use-realtime.ts:142
↓ 3 callersFunctionstopHeartbeat
()
websockets/nuxt/app/composables/useRealtime.ts:130
↓ 3 callersFunctiontool_completed_sse
( task_id: str, ev: dict[str, Any], base_payload: dict[str, Any], project: dict[str, str], )
python/vibe-coding-ide/backend/src/sse.py:53
↓ 3 callersFunctiontool_started_sse
(task_id: str, ev: dict[str, Any])
python/vibe-coding-ide/backend/src/sse.py:33
↓ 3 callersFunctionupdateChangedTemplates
(changedFiles: string[])
internal/scripts/lib/update-changed-templates.ts:16
↓ 3 callersFunctionuseLDFlagExposure
(flagKey: string, ldClient?: LDClient)
flags-sdk/launchdarkly/launchdarkly/launchdarkly-flag-exposure.tsx:10
↓ 3 callersFunctionuseModelId
()
apps/vibe-coding-platform/components/settings/use-settings.ts:11
↓ 3 callersFunctionuseRenderServerComponents
()
framework-boilerplates/hydrogen/src/lib/utils.ts:19
↓ 3 callersFunctionuseRuns
()
python/vibe-coding-ide/frontend/src/context/RunContext.tsx:327
↓ 3 callersFunctionwithOpacityValue
(variable)
framework-boilerplates/hydrogen/tailwind.config.js:4
↓ 2 callersFunctionA
({ href, children, className, ...props }: React.AnchorHTMLAttributes<HTMLAnchorElement>)
internal/packages/ui/src/link.tsx:46
↓ 2 callersFunction_stream_logs
()
python/vibe-coding-ide/backend/src/agent/tools/sandbox.py:446
↓ 2 callersFunction_wait_for_exit
()
python/vibe-coding-ide/backend/src/agent/tools/sandbox.py:493
↓ 2 callersFunctionaddReaction
(emoji: string, x: number, y: number, color: string)
websockets/nitro/app/hooks/use-realtime.ts:84
↓ 2 callersFunctionaddReaction
(emoji: string, x: number, y: number, color: string)
websockets/nuxt/app/composables/useRealtime.ts:71
↓ 2 callersFunctionbotdEdge
( req: NextRequest, options: { useRequestId?: boolean } = defaultOptions )
edge-middleware/bot-protection-botd/lib/botd/index.ts:27
↓ 2 callersMethodbroadcastPresence
()
websockets/next-chat/lib/chat/index.ts:87
↓ 2 callersFunctionbuild_project_input
Render a multi-file project into a single prompt-friendly string. The format lists all file paths first, then prints each file's contents with li
python/vibe-coding-ide/backend/src/agent/utils.py:5
↓ 2 callersFunctioncallLoginApi
({ email, password, }: { email: string; password: string; })
framework-boilerplates/hydrogen/src/components/account/AccountLoginForm.client.tsx:111
↓ 2 callersFunctionclear
()
framework-boilerplates/hexo/themes/landscape/source/fancybox/jquery.fancybox.js:450
↓ 2 callersFunctionclearPong
()
websockets/nitro/app/hooks/use-realtime.ts:135
↓ 2 callersFunctionclearPong
()
websockets/nuxt/app/composables/useRealtime.ts:123
↓ 2 callersFunctioncolorFor
(id: string | null | undefined)
websockets/next-chat/lib/avatar.ts:19
↓ 2 callersFunctioncomputeContentHash
(text: string)
python/vibe-coding-ide/frontend/src/lib/hash.ts:2
↓ 2 callersFunctionconnect
()
websockets/nitro/app/hooks/use-realtime.ts:150
↓ 2 callersFunctionconsiderRun
(r: Run | undefined)
python/vibe-coding-ide/frontend/src/lib/persistence.ts:156
↓ 2 callersFunctioncreateApiMockFn
(page: Page)
solutions/testing/packages/playwright/integration/utils/create-mock-api.ts:13
↓ 2 callersFunctioncreateApiMocks
(createMockFn: CreateMockFn)
solutions/testing/packages/playwright/integration/apis/index.ts:5
↓ 2 callersFunctioncreateParticipantToken
( userInfo: AccessTokenOptions, roomName: string, agentName?: string )
guides/sandbox-voice-agent/app/api/connection-details/route.ts:118
↓ 2 callersFunctioncreateSandbox
({ writer }: Params)
apps/vibe-coding-platform/ai/tools/create-sandbox.ts:13
↓ 2 callersFunctioncreateSource
({ token, variableValues = {}, override, ...options }: CreateSourceOptions)
edge-middleware/feature-flag-hypertune/generated/hypertune.ts:180
↓ 2 callersFunctioncreateSplitClient
(userKey: string)
edge-middleware/feature-flag-split/lib/split.ts:11
↓ 2 callersFunctioncreateUtils
(page: Page)
solutions/testing/packages/playwright/shared/fixtures/utils.ts:4
↓ 2 callersFunctioncreate_ide_agent
Factory to construct the IDE Agent with an optional model override. If model is provided, attempt to set it on the Agent. If the underlying A
python/vibe-coding-ide/backend/src/agent/agent.py:47
↓ 2 callersFunctiond
()
framework-boilerplates/hexo/themes/landscape/source/fancybox/jquery.fancybox.pack.js:248
↓ 2 callersMethoddestroy
()
framework-boilerplates/hydrogen-2/server.ts:131
← previousnext →101–200 of 2,748, ranked by callers