MCPcopy Create free account

hub / github.com/vercel/examples / functions

Functions2,748 in github.com/vercel/examples

↓ 2 callersFunctiondisplay_code_with_line_numbers
(code: str)
python/vibe-coding-ide/backend/src/agent/utils.py:94
↓ 2 callersFunctioneditAddress
(address: any)
framework-boilerplates/hydrogen/src/components/account/AccountAddressBook.client.tsx:35
↓ 2 callersFunctionendTimer
(req)
edge-middleware/clerk-authentication/utils/timer.js:9
↓ 2 callersFunctionensureFolder
(cur: TreeNode, name: string, path: string)
python/vibe-coding-ide/frontend/src/components/Editor/FileTree.tsx:125
↓ 2 callersFunctionensureGlobalUserId
()
python/vibe-coding-ide/frontend/src/lib/user.ts:17
↓ 2 callersFunctionevent_generator
()
python/vibe-coding-ide/backend/src/api/agent.py:90
↓ 2 callersFunctionfetchAPI
(path = '/', method = 'GET', body = {})
edge-middleware/ip-blocking-datadome/lib/fetch-api.ts:1
↓ 2 callersFunctionfetchAPI
( url: string, options: RequestInit & { data?: any } = {} )
edge-middleware/ip-blocking/lib/fetch-api.ts:1
↓ 2 callersFunctionformat
(val: string)
starter/cms-payload/payload/utilities/formatSlug.ts:3
↓ 2 callersFunctionformatDate
(date: string, includeRelative = false)
solutions/blog/app/blog/utils.ts:56
↓ 2 callersFunctionformatSavedTime
(time)
solutions/platforms-slate-supabase/pages/app/post/[id]/index.js:25
↓ 2 callersFunctionformatText
(input?: string | React.ReactNode)
framework-boilerplates/hydrogen/src/lib/utils.ts:36
↓ 2 callersFunctionfreshId
()
websockets/next-chat/lib/identity.ts:11
↓ 2 callersFunctionget
()
framework-boilerplates/fasthtml/main.py:7
↓ 2 callersFunctiongetAuthState
(baseURL: string)
solutions/testing/packages/playwright/shared/utils/storage-state.ts:9
↓ 2 callersFunctiongetAuthorInfo
(author_id)
solutions/platforms-slate-supabase/lib/twitter.js:28
↓ 2 callersFunctiongetDiscountedPrice
(price: number, discount: number)
edge-middleware/power-parity-pricing-strategies/utils.ts:1
↓ 2 callersFunctiongetExcerpt
(text: string)
framework-boilerplates/hydrogen/src/lib/utils.ts:65
↓ 2 callersFunctiongetExternalUrls
(tweet)
solutions/platforms-slate-supabase/lib/twitter.js:50
↓ 2 callersFunctiongetHostnameDataBySubdomain
(subdomain: string)
edge-middleware/hostname-rewrites/lib/db.ts:52
↓ 2 callersFunctiongetIP
(request: Request | NextApiRequest)
edge-middleware/ip-blocking/lib/get-ip.ts:3
↓ 2 callersFunctiongetJwtSecretKey
()
edge-middleware/jwt-authentication/lib/constants.ts:5
↓ 2 callersFunctiongetModelOptions
( modelId: string, options?: { reasoningEffort?: 'low' | 'medium' | 'high' } )
apps/vibe-coding-platform/ai/gateway.ts:21
↓ 2 callersFunctiongetPages
(length: number, inc: number = 1)
solutions/pagination-with-ssg/hooks/usePagination.ts:3
↓ 2 callersFunctiongetPortFromAddress
(address: string | any)
framework-boilerplates/hydrogen/tests/utils.ts:74
↓ 2 callersFunctiongetProducts
({ limit, page, }: { limit: number page: number })
solutions/pagination-with-ssg/lib/getProducts.ts:7
↓ 2 callersMethodgetSignupForm
()
solutions/testing/packages/playwright/shared/pages/signup-page.ts:12
↓ 2 callersFunctiongetSizes
(cookie: string)
apps/vibe-coding-platform/components/layout/sizing.ts:6
↓ 2 callersFunctiongetStackById
(id: string)
python/vibe-coding-ide/frontend/src/templates.ts:96
↓ 2 callersFunctiongetSubdomainPaths
()
edge-middleware/hostname-rewrites/lib/db.ts:60
↓ 2 callersFunctiongetTemplateAdapter
()
flags-sdk/hypertune/template-adapter.ts:38
↓ 2 callersFunctiongetTemplateFields
()
internal/scripts/lib/contentful/get-template-fields.ts:36
↓ 2 callersMethodgetUserFromReq
( req: NextRequest | NextApiRequest )
solutions/testing/apps/main-site/lib/db.ts:28
↓ 2 callersFunctiongetVariantUrl
({ handle, pathname, searchParams, selectedOptions, }: { handle: string; pathname: string; searc
framework-boilerplates/hydrogen-2/app/utils.ts:21
↓ 2 callersFunctionget_job
(job_id: str)
python/celery/worker/store.py:41
↓ 2 callersFunctionget_run_payload
Fetch the stored payload for a run id.
python/vibe-coding-ide/backend/src/run_store.py:30
↓ 2 callersFunctionhandleFileChange
(file: File)
storage/blob-starter/components/uploader.tsx:76
↓ 2 callersFunctioninitPlaywright
(options, ...paths)
solutions/testing/packages/playwright/playwright-test.mjs:36
↓ 2 callersFunctionisDiscounted
(price: MoneyV2, compareAtPrice: MoneyV2)
framework-boilerplates/hydrogen/src/lib/utils.ts:58
↓ 2 callersMethodisExpired
(sandboxId: string)
guides/sandbox-voice-agent/lib/sandbox-manager.ts:48
↓ 2 callersFunctionisFavicon
(req: NextRequest)
edge-middleware/bot-protection-botd/lib/botd/index.ts:229
↓ 2 callersFunctionisMarkActive
(editor, format)
solutions/platforms-slate-supabase/components/editor/TextEditor.js:16
↓ 2 callersFunctionisMarkActive
(editor, format)
solutions/platforms-slate-supabase/pages/app/post/[id]/index.js:36
↓ 2 callersFunctionlinkGroup
({ overrides = {}, appearances } = {})
starter/cms-payload/payload/fields/linkGroup.ts:11
↓ 2 callersFunctionloggedIn
(email)
solutions/auth-with-ory/cypress/integration/pages.spec.js:13
↓ 2 callersFunctionmake_stream_token
Create a signed JWT used by the SSE stream for resuming agent runs. The token embeds the provided payload and standard claims (iat/exp).
python/vibe-coding-ide/backend/src/auth.py:15
↓ 2 callersFunctionmissing_generator
()
python/vibe-coding-ide/backend/src/api/agent.py:83
↓ 2 callersFunctionnormalize
(p: string | undefined | null)
python/vibe-coding-ide/frontend/src/lib/sandbox.ts:20
↓ 2 callersFunctionnormalizePath
(path: string)
cdn/cms-bulk-redirects/vercel.ts:30
↓ 2 callersFunctionnormalizeSource
(source: string)
app-directory/redirect-with-fallback/app/[...slug]/route.ts:40
↓ 2 callersFunctiononClick
()
flags-sdk/hypertune/components/banners/summer-sale-banner.tsx:7
↓ 2 callersFunctiononMessage
(event, ws)
websockets/hono/src/server.ts:22
↓ 2 callersFunctionopen
(peer)
websockets/nuxt/server/api/ws.ts:22
↓ 2 callersFunctionparseFrame
(raw: unknown)
websockets/next-chat/lib/protocol.ts:52
↓ 2 callersFunctionparseMenu
(menu: Menu, customPrefixes = {})
framework-boilerplates/hydrogen/src/lib/utils.ts:199
↓ 2 callersFunctionparse_env_list
Parse a list of strings like ["KEY=VALUE", ...] into a mapping. Invalid entries or empty keys are ignored. First occurrence of a key wins.
python/vibe-coding-ide/backend/src/sandbox/utils.py:122
↓ 2 callersFunctionprefixKey
(key: string)
edge-middleware/feature-flag-apple-store/lib/feature-flags.ts:8
↓ 2 callersMethodpresenceTouch
Mark the given clients online "now" (single client on join, all of this * instance's clients on each heartbeat).
websockets/next-chat/lib/chat/store/types.ts:15
↓ 2 callersFunctionread_stream_token
Decode and validate a previously issued resume token. Removes standard claims before returning the decoded payload. Raises HTTP 400 on expire
python/vibe-coding-ide/backend/src/auth.py:29
↓ 2 callersFunctionremoveCookie
(name: string)
edge-middleware/feature-flag-configcat/pages/index.tsx:13
↓ 2 callersFunctionrenderNode
(node: TreeNode, depth = 0)
python/vibe-coding-ide/frontend/src/components/Editor/FileTree.tsx:404
↓ 2 callersMethodroot
({ args }: { args: RootArgs })
edge-middleware/feature-flag-hypertune/generated/hypertune.ts:154
↓ 2 callersFunctionrun
run executes a command on the Doom display, ignoring stdout.
container-images/demo/apps/doom/engine.go:112
↓ 2 callersFunctionsaveChanges
(data)
solutions/platforms-slate-supabase/pages/app/post/[id]/index.js:139
↓ 2 callersFunctionscaleImageSize
(size: { width: number; height: number }, desiredHeight: number)
guides/sandbox-voice-agent/app/(app)/opengraph-image.tsx:85
↓ 2 callersFunctionsend
(peer: { send: (data: string) => void }, msg: ServerMessage)
websockets/nitro/server/api/ws.ts:17
↓ 2 callersFunctionserialize
(node)
solutions/platforms-slate-supabase/pages/_sites/[site]/[slug].js:11
↓ 2 callersFunctionset
()
framework-boilerplates/hexo/themes/landscape/source/fancybox/jquery.fancybox.js:453
↓ 2 callersFunctionsetDefaultAddress
( queryShop: HydrogenApiRouteOptions['queryShop'], addressId: string, customerAccessToken: string, )
framework-boilerplates/hydrogen/src/routes/account/address/[addressId].server.ts:131
↓ 2 callersFunctionsnapshot_file_changes
Compute filesystem changes since last snapshot and optionally sample small files. Returns a dict with keys: files, created, updated, deleted, dat
python/vibe-coding-ide/backend/src/sandbox/utils.py:144
↓ 2 callersFunctionstartSearchAnim
()
framework-boilerplates/hexo/themes/landscape/source/js/script.js:7
↓ 2 callersFunctionstatusAction
statusAction emits a status message as part of a chromedp task sequence.
container-images/demo/apps/browser/main.go:175
↓ 2 callersFunctionstatusMessage
(status: string)
framework-boilerplates/hydrogen/src/lib/utils.ts:224
↓ 2 callersFunctionstop
()
edge-middleware/clerk-authentication/utils/forceRender.jsx:7
↓ 2 callersFunctionstopSearchAnim
(callback)
framework-boilerplates/hexo/themes/landscape/source/js/script.js:11
↓ 2 callersFunctiontimeAgo
(time: number)
solutions/cron/components/post.tsx:78
↓ 2 callersFunctiontimerResult
(req)
edge-middleware/clerk-authentication/utils/timer.js:13
↓ 2 callersFunctiontoNormalized
(event: { clientX: number; clientY: number })
websockets/nitro/app/components/live-canvas.tsx:15
↓ 2 callersFunctiontoggleMark
(editor, format)
solutions/platforms-slate-supabase/components/editor/TextEditor.js:35
↓ 2 callersFunctiontrackLDEvent
(eventKey: string, ldClient?: LDClient)
flags-sdk/launchdarkly/launchdarkly/launchdarkly-flag-exposure.tsx:21
↓ 2 callersFunctiontryName
(n: number)
python/vibe-coding-ide/frontend/src/context/ProjectsContext.tsx:1119
↓ 2 callersFunctionupdate
()
python/vibe-coding-ide/frontend/src/components/Editor/EditorPane.tsx:715
↓ 2 callersFunctionupdate_run_project
Update only the project map for the stored run payload if present.
python/vibe-coding-ide/backend/src/run_store.py:36
↓ 2 callersFunctionupstash
(args)
edge-middleware/redirects-upstash/scripts/upstash.js:5
↓ 2 callersFunctionupstash
* Upstash REST and Edge API utils. * Note: We use this lib in multiple demos, feel free to * use it in your own projects.
edge-middleware/ip-blocking/lib/upstash.ts:6
↓ 2 callersFunctionuseCommandErrorsLogs
()
apps/vibe-coding-platform/app/state.ts:37
↓ 2 callersFunctionuseCounter
()
app-directory/share-state/app/demo/providers.tsx:19
↓ 2 callersFunctionuseDrawer
(openDefault = false)
framework-boilerplates/hydrogen/src/components/global/Drawer.client.tsx:101
↓ 2 callersFunctionuseFixErrors
()
apps/vibe-coding-platform/components/settings/use-settings.ts:27
↓ 2 callersFunctionuseHypertuneSource
()
edge-middleware/feature-flag-hypertune/generated/hypertune.react.tsx:98
↓ 2 callersFunctionuseLayoutQuery
()
framework-boilerplates/hydrogen/src/components/global/Layout.server.tsx:50
↓ 2 callersFunctionuseReasoningEffort
()
apps/vibe-coding-platform/components/settings/use-settings.ts:20
↓ 2 callersFunctionuseSettings
()
apps/vibe-coding-platform/components/settings/use-settings.ts:4
↓ 2 callersFunctionuseSharedChatContext
()
apps/vibe-coding-platform/lib/chat-context.tsx:42
↓ 2 callersFunctionuseTabState
()
apps/vibe-coding-platform/components/tabs/use-tab-state.ts:3
↓ 2 callersFunctionuseVariantUrl
( handle: string, selectedOptions: SelectedOption[], )
framework-boilerplates/hydrogen-2/app/utils.ts:5
↓ 2 callersFunctionvalidateId
* Validate ID parameter from query string
solutions/aws-neptune-analytics/app/api/edge/route.ts:42
↓ 2 callersFunctionvalidateId
* Validate ID parameter from query string
solutions/aws-neptune-analytics/app/api/node/route.ts:42
↓ 2 callersFunctionvalidateTemplate
(template: Template)
internal/scripts/lib/contentful/validate-template.ts:4
↓ 2 callersFunctionwithTimer
(next)
edge-middleware/clerk-authentication/utils/timer.js:2
← previousnext →201–300 of 2,748, ranked by callers