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
↓ 265 callers
Method
get
({ fallback = rootFallback as Root }: { fallback?: Root } = {})
flags-sdk/hypertune/generated/hypertune.ts:180
↓ 161 callers
Function
fetch
( request: Request, env: Env, executionContext: ExecutionContext, )
framework-boilerplates/hydrogen-2/server.ts:22
↓ 125 callers
Method
set
(key: string, value: any)
framework-boilerplates/hydrogen-2/server.ts:143
↓ 116 callers
Method
get
({ fallback = rootFallback as Root }: { fallback?: Root } = {})
edge-middleware/feature-flag-hypertune/generated/hypertune.ts:90
↓ 77 callers
Method
get
(key: string)
framework-boilerplates/hydrogen-2/server.ts:127
↓ 54 callers
Method
toString
* Serialize game state so it can be set as a cookie
framework-boilerplates/sveltekit-1/src/routes/sverdle/game.ts:72
↓ 44 callers
Function
cn
(...inputs: ClassValue[])
solutions/saas-microservices/apps/dashboard/src/lib/utils.ts:4
↓ 43 callers
Function
getLayout
( Component: any )
internal/packages/ui/src/layout.tsx:11
↓ 41 callers
Function
cn
(...inputs: ClassValue[])
microfrontends/saas-microservices/apps/dashboard/src/lib/utils.ts:4
↓ 41 callers
Function
cn
(...inputs: ClassValue[])
guides/sandbox-voice-agent/lib/utils.ts:19
↓ 40 callers
Function
cn
(...inputs: ClassValue[])
apps/vibe-coding-platform/lib/utils.ts:4
↓ 36 callers
Method
remove
(sandboxId: string)
guides/sandbox-voice-agent/lib/sandbox-manager.ts:38
↓ 32 callers
Method
has
(key: string)
framework-boilerplates/hydrogen-2/server.ts:123
↓ 31 callers
Function
getScalar
(orig, dim)
framework-boilerplates/hexo/themes/landscape/source/fancybox/jquery.fancybox.js:42
↓ 31 callers
Function
m
(a, d)
framework-boilerplates/hexo/themes/landscape/source/fancybox/jquery.fancybox.pack.js:21
↓ 31 callers
Function
send
(peer: { send: (data: string) => void }, msg: ServerMessage)
websockets/nuxt/server/api/ws.ts:17
↓ 30 callers
Method
send
Send a frame to a single local socket (e.g. login/history to the joiner).
websockets/next-chat/lib/chat/broadcast/types.ts:16
↓ 27 callers
Method
resolve
(value: T | PromiseLike<T>)
apps/vibe-coding-platform/lib/deferred.ts:17
↓ 26 callers
Function
headers
()
starter/personalization-builder-io/next.config.js:5
↓ 21 callers
Function
val
(name: string, fallback: string)
python/vibe-coding-ide/frontend/src/components/Editor/EditorPane.tsx:248
↓ 20 callers
Function
emit_event
( task_id: str, event_type: str, data: Any = None, error: Any = None )
python/vibe-coding-ide/backend/src/sse.py:21
↓ 20 callers
Function
sse_format
(event: dict[str, Any])
python/vibe-coding-ide/backend/src/sse.py:17
↓ 17 callers
Function
set
(key: keyof FeatureFlags, value: boolean)
edge-middleware/feature-flag-apple-store/lib/feature-flags.ts:17
↓ 12 callers
Method
get
(sandboxId: string)
guides/sandbox-voice-agent/lib/sandbox-manager.ts:14
↓ 12 callers
Method
goto
()
solutions/testing/packages/playwright/shared/pages/todo-page.ts:9
↓ 12 callers
Function
log
(...args: any[])
internal/scripts/lib/log.ts:1
↓ 11 callers
Function
cn
(...inputs: ClassValue[])
websockets/nitro/app/lib/utils.ts:4
↓ 11 callers
Function
getValue
(value, dim)
framework-boilerplates/hexo/themes/landscape/source/fancybox/jquery.fancybox.js:51
↓ 11 callers
Function
hasMatchingParams
( mockSearchParams: Record<string, SearchParamsProperties>, requestSearchParams: URLSearchParams )
solutions/testing/packages/playwright/integration/utils/has-matching-params.ts:3
↓ 11 callers
Method
publish
(frame: ServerFrame)
websockets/next-chat/lib/chat/broadcast/redis.ts:30
↓ 11 callers
Function
x
(a, b)
framework-boilerplates/hexo/themes/landscape/source/fancybox/jquery.fancybox.pack.js:26
↓ 10 callers
Function
getMetadata
({ title, description, }: { title?: string description?: string } = {})
internal/packages/ui/src/index.tsx:13
↓ 10 callers
Function
isString
(str)
framework-boilerplates/hexo/themes/landscape/source/fancybox/jquery.fancybox.js:28
↓ 10 callers
Function
is_ignored
(path: str)
python/vibe-coding-ide/backend/src/agent/utils.py:233
↓ 10 callers
Function
r
(a)
framework-boilerplates/hexo/themes/landscape/source/fancybox/jquery.fancybox.pack.js:15
↓ 10 callers
Function
update_job
(job_id: str, **updates: Any)
python/celery/worker/store.py:56
↓ 9 callers
Method
commit
()
framework-boilerplates/hydrogen-2/server.ts:147
↓ 9 callers
Function
computeProjectHashes
( files: Record<string, string>, isIgnored?: (p: string) => boolean )
python/vibe-coding-ide/frontend/src/lib/hash.ts:17
↓ 9 callers
Function
getApiErrorMessage
( field: string, data: Record<string, any>, errors: UserError[], )
framework-boilerplates/hydrogen/src/lib/utils.ts:213
↓ 9 callers
Function
missingClass
(string?: string, prefix?: string)
framework-boilerplates/hydrogen/src/lib/utils.ts:27
↓ 8 callers
Method
Error
()
container-images/demo/apps/browser/main.go:203
↓ 8 callers
Function
addLog
(state: ChatState, text: string)
websockets/next-chat/lib/chatReducer.ts:42
↓ 7 callers
Function
F
(a)
framework-boilerplates/hexo/themes/landscape/source/fancybox/jquery.fancybox.pack.js:18
↓ 7 callers
Function
getRichError
({ action, args, error }: Params)
apps/vibe-coding-platform/ai/tools/get-rich-error.ts:13
↓ 7 callers
Function
isPercentage
(str)
framework-boilerplates/hexo/themes/landscape/source/fancybox/jquery.fancybox.js:31
↓ 7 callers
Method
render
()
framework-boilerplates/blitzjs/src/pages/_document.tsx:9
↓ 7 callers
Function
saveChatState
(state: PersistedChatsState)
python/vibe-coding-ide/frontend/src/lib/persistence.ts:100
↓ 6 callers
Function
_run_all
()
python/vibe-coding-ide/backend/src/agent/tools/sandbox.py:182
↓ 6 callers
Function
autosync_after_fs_change
Synchronize recent project changes to any existing sandboxes. This function does not create new sandboxes. It only syncs to sandboxes already
python/vibe-coding-ide/backend/src/sandbox/utils.py:244
↓ 6 callers
Method
broadcast
* Deliver a frame to every client everywhere. `exceptWs` skips the sender, * which only matters on the instance that owns that socket — peer instan
websockets/next-chat/lib/chat/broadcast/types.ts:22
↓ 6 callers
Function
createHeading
(level)
solutions/blog/app/components/mdx.tsx:67
↓ 6 callers
Function
error
(peer, error)
websockets/nuxt/server/api/ws.ts:75
↓ 6 callers
Function
getBlogPosts
()
solutions/blog/app/blog/utils.ts:52
↓ 6 callers
Method
getNewTodoForm
()
solutions/testing/packages/playwright/shared/pages/todo-page.ts:13
↓ 6 callers
Method
getTodos
()
solutions/testing/packages/playwright/shared/pages/todo-page.ts:25
↓ 6 callers
Function
isQuery
(obj)
framework-boilerplates/hexo/themes/landscape/source/fancybox/jquery.fancybox.js:25
↓ 6 callers
Function
jsonResponse
(status: number, data: any, init?: ResponseInit)
edge-middleware/jwt-authentication/lib/utils.ts:6
↓ 6 callers
Function
loadChatState
()
python/vibe-coding-ide/frontend/src/lib/persistence.ts:78
↓ 6 callers
Method
normalize
(name: string)
framework-boilerplates/stencil/src/components/app-profile/app-profile.tsx:12
↓ 6 callers
Function
run
(cmd: string, args: string[], opts: Record<string, unknown> = {})
guides/sandbox-voice-agent/app/api/sandbox/create/route.ts:136
↓ 6 callers
Function
u
(a)
framework-boilerplates/hexo/themes/landscape/source/fancybox/jquery.fancybox.pack.js:12
↓ 6 callers
Function
updateStatus
(status: string, msg: string)
guides/sandbox-voice-agent/app/api/sandbox/create/route.ts:139
↓ 6 callers
Method
updateStatus
( sandboxId: string, status: SandboxStatus, error?: string, progressMessage?: string )
guides/sandbox-voice-agent/lib/sandbox-manager.ts:23
↓ 5 callers
Function
applyTrackingParams
( resource: PredictiveSearchResultItem | PredictiveQueryFragment, params?: string, )
framework-boilerplates/hydrogen-2/app/routes/api.predictive-search.tsx:126
↓ 5 callers
Function
deepMerge
( target: T, source: R )
starter/cms-payload/payload/utilities/deepMerge.ts:15
↓ 5 callers
Method
exampleFlag
* An example flag. * [Open in Hypertune UI]({@link https://app.hypertune.com/projects/2583/main/draft/logic?selected_field_path=root%3EexampleFlag}
edge-middleware/feature-flag-hypertune/generated/hypertune.ts:99
↓ 5 callers
Function
fetchModels
()
python/vibe-coding-ide/frontend/src/components/Chat/ModelPicker.tsx:24
↓ 5 callers
Function
getClient
()
storage/kv-redis-sveltekit/src/routes/+page.server.ts:6
↓ 5 callers
Function
getHypertune
(params?: { headers: ReadonlyHeaders cookies: Omit<RequestCookies, 'set' | 'clear' | 'delete'> })
edge-middleware/feature-flag-hypertune/lib/getHypertune.ts:21
↓ 5 callers
Function
getProjectChatThreads
( projectId: string )
python/vibe-coding-ide/frontend/src/lib/persistence.ts:109
↓ 5 callers
Function
getTemplateById
(id: string)
python/vibe-coding-ide/frontend/src/templates.ts:30
↓ 5 callers
Method
getTodoButtons
(todo: Locator = this.getTodos().first())
solutions/testing/packages/playwright/shared/pages/todo-page.ts:29
↓ 5 callers
Method
init
(request: Request, secrets: string[])
framework-boilerplates/hydrogen-2/server.ts:107
↓ 5 callers
Function
make_ignore_predicate
Create a simple ignore predicate based on `.agentignore`, `.gitignore`, and defaults. Supported patterns (subset): - Trailing-slash directory
python/vibe-coding-ide/backend/src/agent/utils.py:138
↓ 5 callers
Function
normalize_sandbox_name
Resolve the effective sandbox name. Prefers the provided name; otherwise uses the active name if set; otherwise "default". Also sets the acti
python/vibe-coding-ide/backend/src/sandbox/utils.py:10
↓ 5 callers
Function
sendToAnalytics
(metric: Metric, options: { params: { [s: string]: any; } | ArrayLike<any>; path: string; analyticsId: string;
framework-boilerplates/sveltekit-1/src/lib/vitals.ts:10
↓ 5 callers
Function
sendToAnalytics
* @param {import("web-vitals").Metric} metric * @param {{ params: { [s: string]: any; } | ArrayLike<any>; path: string; analyticsId: string; debug: b
framework-boilerplates/sveltekit/src/lib/vitals.js:18
↓ 5 callers
Function
syncOthers
()
websockets/nitro/app/hooks/use-realtime.ts:74
↓ 5 callers
Function
useChat
({ userId, input, cancelling, project, proposals, projectId, threadId, setInput, setLoading,
python/vibe-coding-ide/frontend/src/hooks/useChat.tsx:29
↓ 5 callers
Function
useProjects
()
python/vibe-coding-ide/frontend/src/context/ProjectsContext.tsx:1264
↓ 4 callers
Function
Path
({ page, }: InferGetStaticPropsType<typeof getStaticProps>)
starter/personalization-builder-io/pages/[[...path]].tsx:55
↓ 4 callers
Function
_cache_key
(run_id: str)
python/vibe-coding-ide/backend/src/run_store.py:17
↓ 4 callers
Function
api
(method, resource, data)
framework-boilerplates/sveltekit/src/routes/todos/api.js:17
↓ 4 callers
Function
callWeatherAPI
( city: string, units: 'metric' | 'imperial' = 'metric' )
guides/express-weather-mcp-server/src/index.ts:99
↓ 4 callers
Function
cn
( ...classes: Array<string | false | null | undefined> )
websockets/next-chat/lib/cn.ts:3
↓ 4 callers
Function
commitRename
(id: string)
python/vibe-coding-ide/frontend/src/components/ProjectTabs.tsx:78
↓ 4 callers
Function
computeLastHumanAt
( runs: Record<string, Run>, order: string[] )
python/vibe-coding-ide/frontend/src/lib/persistence.ts:151
↓ 4 callers
Function
deriveTitleFromRuns
( runs: Record<string, Run>, order: string[], createdAtISO: string )
python/vibe-coding-ide/frontend/src/lib/persistence.ts:127
↓ 4 callers
Function
executeQuery
* Execute Neptune Analytics query with parameters
solutions/aws-neptune-analytics/app/api/edge/route.ts:14
↓ 4 callers
Function
executeQuery
* Execute Neptune Analytics query with parameters
solutions/aws-neptune-analytics/app/api/node/route.ts:14
↓ 4 callers
Function
generateUsername
()
solutions/testing/packages/playwright/shared/utils/generate-username.ts:8
↓ 4 callers
Function
getCart
()
flags-sdk/hypertune/lib/actions.ts:19
↓ 4 callers
Function
getFiles
(folder: string)
internal/packages/playwright/scripts/generate-tests.ts:19
↓ 4 callers
Function
getImageData
(uri: string, fallbackUri?: string)
guides/sandbox-voice-agent/app/(app)/opengraph-image.tsx:67
↓ 4 callers
Function
getRandomHasStock
()
solutions/on-demand-isr/api.ts:7
↓ 4 callers
Function
getRandomPrice
()
solutions/on-demand-isr/api.ts:3
↓ 4 callers
Method
getTodos
(username: string, req: NextApiRequest)
solutions/testing/apps/main-site/lib/db.ts:38
↓ 4 callers
Function
getToken
()
edge-middleware/bot-protection-botd/lib/botd/index.ts:206
↓ 4 callers
Function
getUserId
()
python/vibe-coding-ide/frontend/src/lib/user.ts:1
↓ 4 callers
Function
handleError
* Handle errors with consistent logging and response format
solutions/aws-neptune-analytics/app/api/edge/route.ts:34
next →
1–100 of 2,748, ranked by callers