Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/vercel/examples
/ functions
Functions
2,748 in github.com/vercel/examples
⨍
Functions
2,748
◇
Types & classes
418
↳
Endpoints
58
↓ 2 callers
Function
display_code_with_line_numbers
(code: str)
python/vibe-coding-ide/backend/src/agent/utils.py:94
↓ 2 callers
Function
editAddress
(address: any)
framework-boilerplates/hydrogen/src/components/account/AccountAddressBook.client.tsx:35
↓ 2 callers
Function
endTimer
(req)
edge-middleware/clerk-authentication/utils/timer.js:9
↓ 2 callers
Function
ensureFolder
(cur: TreeNode, name: string, path: string)
python/vibe-coding-ide/frontend/src/components/Editor/FileTree.tsx:125
↓ 2 callers
Function
ensureGlobalUserId
()
python/vibe-coding-ide/frontend/src/lib/user.ts:17
↓ 2 callers
Function
event_generator
()
python/vibe-coding-ide/backend/src/api/agent.py:90
↓ 2 callers
Function
fetchAPI
(path = '/', method = 'GET', body = {})
edge-middleware/ip-blocking-datadome/lib/fetch-api.ts:1
↓ 2 callers
Function
fetchAPI
( url: string, options: RequestInit & { data?: any } = {} )
edge-middleware/ip-blocking/lib/fetch-api.ts:1
↓ 2 callers
Function
format
(val: string)
starter/cms-payload/payload/utilities/formatSlug.ts:3
↓ 2 callers
Function
formatDate
(date: string, includeRelative = false)
solutions/blog/app/blog/utils.ts:56
↓ 2 callers
Function
formatSavedTime
(time)
solutions/platforms-slate-supabase/pages/app/post/[id]/index.js:25
↓ 2 callers
Function
formatText
(input?: string | React.ReactNode)
framework-boilerplates/hydrogen/src/lib/utils.ts:36
↓ 2 callers
Function
freshId
()
websockets/next-chat/lib/identity.ts:11
↓ 2 callers
Function
get
()
framework-boilerplates/fasthtml/main.py:7
↓ 2 callers
Function
getAuthState
(baseURL: string)
solutions/testing/packages/playwright/shared/utils/storage-state.ts:9
↓ 2 callers
Function
getAuthorInfo
(author_id)
solutions/platforms-slate-supabase/lib/twitter.js:28
↓ 2 callers
Function
getDiscountedPrice
(price: number, discount: number)
edge-middleware/power-parity-pricing-strategies/utils.ts:1
↓ 2 callers
Function
getExcerpt
(text: string)
framework-boilerplates/hydrogen/src/lib/utils.ts:65
↓ 2 callers
Function
getExternalUrls
(tweet)
solutions/platforms-slate-supabase/lib/twitter.js:50
↓ 2 callers
Function
getHostnameDataBySubdomain
(subdomain: string)
edge-middleware/hostname-rewrites/lib/db.ts:52
↓ 2 callers
Function
getIP
(request: Request | NextApiRequest)
edge-middleware/ip-blocking/lib/get-ip.ts:3
↓ 2 callers
Function
getJwtSecretKey
()
edge-middleware/jwt-authentication/lib/constants.ts:5
↓ 2 callers
Function
getModelOptions
( modelId: string, options?: { reasoningEffort?: 'low' | 'medium' | 'high' } )
apps/vibe-coding-platform/ai/gateway.ts:21
↓ 2 callers
Function
getPages
(length: number, inc: number = 1)
solutions/pagination-with-ssg/hooks/usePagination.ts:3
↓ 2 callers
Function
getPortFromAddress
(address: string | any)
framework-boilerplates/hydrogen/tests/utils.ts:74
↓ 2 callers
Function
getProducts
({ limit, page, }: { limit: number page: number })
solutions/pagination-with-ssg/lib/getProducts.ts:7
↓ 2 callers
Method
getSignupForm
()
solutions/testing/packages/playwright/shared/pages/signup-page.ts:12
↓ 2 callers
Function
getSizes
(cookie: string)
apps/vibe-coding-platform/components/layout/sizing.ts:6
↓ 2 callers
Function
getStackById
(id: string)
python/vibe-coding-ide/frontend/src/templates.ts:96
↓ 2 callers
Function
getSubdomainPaths
()
edge-middleware/hostname-rewrites/lib/db.ts:60
↓ 2 callers
Function
getTemplateAdapter
()
flags-sdk/hypertune/template-adapter.ts:38
↓ 2 callers
Function
getTemplateFields
()
internal/scripts/lib/contentful/get-template-fields.ts:36
↓ 2 callers
Method
getUserFromReq
( req: NextRequest | NextApiRequest )
solutions/testing/apps/main-site/lib/db.ts:28
↓ 2 callers
Function
getVariantUrl
({ handle, pathname, searchParams, selectedOptions, }: { handle: string; pathname: string; searc
framework-boilerplates/hydrogen-2/app/utils.ts:21
↓ 2 callers
Function
get_job
(job_id: str)
python/celery/worker/store.py:41
↓ 2 callers
Function
get_run_payload
Fetch the stored payload for a run id.
python/vibe-coding-ide/backend/src/run_store.py:30
↓ 2 callers
Function
handleFileChange
(file: File)
storage/blob-starter/components/uploader.tsx:76
↓ 2 callers
Function
initPlaywright
(options, ...paths)
solutions/testing/packages/playwright/playwright-test.mjs:36
↓ 2 callers
Function
isDiscounted
(price: MoneyV2, compareAtPrice: MoneyV2)
framework-boilerplates/hydrogen/src/lib/utils.ts:58
↓ 2 callers
Method
isExpired
(sandboxId: string)
guides/sandbox-voice-agent/lib/sandbox-manager.ts:48
↓ 2 callers
Function
isFavicon
(req: NextRequest)
edge-middleware/bot-protection-botd/lib/botd/index.ts:229
↓ 2 callers
Function
isMarkActive
(editor, format)
solutions/platforms-slate-supabase/components/editor/TextEditor.js:16
↓ 2 callers
Function
isMarkActive
(editor, format)
solutions/platforms-slate-supabase/pages/app/post/[id]/index.js:36
↓ 2 callers
Function
linkGroup
({ overrides = {}, appearances } = {})
starter/cms-payload/payload/fields/linkGroup.ts:11
↓ 2 callers
Function
loggedIn
(email)
solutions/auth-with-ory/cypress/integration/pages.spec.js:13
↓ 2 callers
Function
make_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 callers
Function
missing_generator
()
python/vibe-coding-ide/backend/src/api/agent.py:83
↓ 2 callers
Function
normalize
(p: string | undefined | null)
python/vibe-coding-ide/frontend/src/lib/sandbox.ts:20
↓ 2 callers
Function
normalizePath
(path: string)
cdn/cms-bulk-redirects/vercel.ts:30
↓ 2 callers
Function
normalizeSource
(source: string)
app-directory/redirect-with-fallback/app/[...slug]/route.ts:40
↓ 2 callers
Function
onClick
()
flags-sdk/hypertune/components/banners/summer-sale-banner.tsx:7
↓ 2 callers
Function
onMessage
(event, ws)
websockets/hono/src/server.ts:22
↓ 2 callers
Function
open
(peer)
websockets/nuxt/server/api/ws.ts:22
↓ 2 callers
Function
parseFrame
(raw: unknown)
websockets/next-chat/lib/protocol.ts:52
↓ 2 callers
Function
parseMenu
(menu: Menu, customPrefixes = {})
framework-boilerplates/hydrogen/src/lib/utils.ts:199
↓ 2 callers
Function
parse_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 callers
Function
prefixKey
(key: string)
edge-middleware/feature-flag-apple-store/lib/feature-flags.ts:8
↓ 2 callers
Method
presenceTouch
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 callers
Function
read_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 callers
Function
removeCookie
(name: string)
edge-middleware/feature-flag-configcat/pages/index.tsx:13
↓ 2 callers
Function
renderNode
(node: TreeNode, depth = 0)
python/vibe-coding-ide/frontend/src/components/Editor/FileTree.tsx:404
↓ 2 callers
Method
root
({ args }: { args: RootArgs })
edge-middleware/feature-flag-hypertune/generated/hypertune.ts:154
↓ 2 callers
Function
run
run executes a command on the Doom display, ignoring stdout.
container-images/demo/apps/doom/engine.go:112
↓ 2 callers
Function
saveChanges
(data)
solutions/platforms-slate-supabase/pages/app/post/[id]/index.js:139
↓ 2 callers
Function
scaleImageSize
(size: { width: number; height: number }, desiredHeight: number)
guides/sandbox-voice-agent/app/(app)/opengraph-image.tsx:85
↓ 2 callers
Function
send
(peer: { send: (data: string) => void }, msg: ServerMessage)
websockets/nitro/server/api/ws.ts:17
↓ 2 callers
Function
serialize
(node)
solutions/platforms-slate-supabase/pages/_sites/[site]/[slug].js:11
↓ 2 callers
Function
set
()
framework-boilerplates/hexo/themes/landscape/source/fancybox/jquery.fancybox.js:453
↓ 2 callers
Function
setDefaultAddress
( queryShop: HydrogenApiRouteOptions['queryShop'], addressId: string, customerAccessToken: string, )
framework-boilerplates/hydrogen/src/routes/account/address/[addressId].server.ts:131
↓ 2 callers
Function
snapshot_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 callers
Function
startSearchAnim
()
framework-boilerplates/hexo/themes/landscape/source/js/script.js:7
↓ 2 callers
Function
statusAction
statusAction emits a status message as part of a chromedp task sequence.
container-images/demo/apps/browser/main.go:175
↓ 2 callers
Function
statusMessage
(status: string)
framework-boilerplates/hydrogen/src/lib/utils.ts:224
↓ 2 callers
Function
stop
()
edge-middleware/clerk-authentication/utils/forceRender.jsx:7
↓ 2 callers
Function
stopSearchAnim
(callback)
framework-boilerplates/hexo/themes/landscape/source/js/script.js:11
↓ 2 callers
Function
timeAgo
(time: number)
solutions/cron/components/post.tsx:78
↓ 2 callers
Function
timerResult
(req)
edge-middleware/clerk-authentication/utils/timer.js:13
↓ 2 callers
Function
toNormalized
(event: { clientX: number; clientY: number })
websockets/nitro/app/components/live-canvas.tsx:15
↓ 2 callers
Function
toggleMark
(editor, format)
solutions/platforms-slate-supabase/components/editor/TextEditor.js:35
↓ 2 callers
Function
trackLDEvent
(eventKey: string, ldClient?: LDClient)
flags-sdk/launchdarkly/launchdarkly/launchdarkly-flag-exposure.tsx:21
↓ 2 callers
Function
tryName
(n: number)
python/vibe-coding-ide/frontend/src/context/ProjectsContext.tsx:1119
↓ 2 callers
Function
update
()
python/vibe-coding-ide/frontend/src/components/Editor/EditorPane.tsx:715
↓ 2 callers
Function
update_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 callers
Function
upstash
(args)
edge-middleware/redirects-upstash/scripts/upstash.js:5
↓ 2 callers
Function
upstash
* 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 callers
Function
useCommandErrorsLogs
()
apps/vibe-coding-platform/app/state.ts:37
↓ 2 callers
Function
useCounter
()
app-directory/share-state/app/demo/providers.tsx:19
↓ 2 callers
Function
useDrawer
(openDefault = false)
framework-boilerplates/hydrogen/src/components/global/Drawer.client.tsx:101
↓ 2 callers
Function
useFixErrors
()
apps/vibe-coding-platform/components/settings/use-settings.ts:27
↓ 2 callers
Function
useHypertuneSource
()
edge-middleware/feature-flag-hypertune/generated/hypertune.react.tsx:98
↓ 2 callers
Function
useLayoutQuery
()
framework-boilerplates/hydrogen/src/components/global/Layout.server.tsx:50
↓ 2 callers
Function
useReasoningEffort
()
apps/vibe-coding-platform/components/settings/use-settings.ts:20
↓ 2 callers
Function
useSettings
()
apps/vibe-coding-platform/components/settings/use-settings.ts:4
↓ 2 callers
Function
useSharedChatContext
()
apps/vibe-coding-platform/lib/chat-context.tsx:42
↓ 2 callers
Function
useTabState
()
apps/vibe-coding-platform/components/tabs/use-tab-state.ts:3
↓ 2 callers
Function
useVariantUrl
( handle: string, selectedOptions: SelectedOption[], )
framework-boilerplates/hydrogen-2/app/utils.ts:5
↓ 2 callers
Function
validateId
* Validate ID parameter from query string
solutions/aws-neptune-analytics/app/api/edge/route.ts:42
↓ 2 callers
Function
validateId
* Validate ID parameter from query string
solutions/aws-neptune-analytics/app/api/node/route.ts:42
↓ 2 callers
Function
validateTemplate
(template: Template)
internal/scripts/lib/contentful/validate-template.ts:4
↓ 2 callers
Function
withTimer
(next)
edge-middleware/clerk-authentication/utils/timer.js:2
← previous
next →
201–300 of 2,748, ranked by callers