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
Function
generateStaticParams
()
starter/cms-payload/app/(site)/[slug]/page.tsx:42
Function
generateTestId
* Generates a test id that can be used in `data-testid` attributes. * * @param scopes - descriptions of the scopes that'll form the test id * @retu
solutions/testing/apps/main-site/lib/data-testid.ts:30
Function
generateTestId
* Generates a test id that can be used in `data-testid` attributes. * * @param scopes - descriptions of the scopes that'll form the test id * @retu
internal/packages/playwright/src/shared/utils/data-testid.ts:30
Function
generated
()
framework-boilerplates/redwoodjs/web/src/pages/HomePage/HomePage.stories.js:3
Function
generator
(plop: PlopTypes.NodePlopAPI)
ci-cd/turborepo-github-actions/packages/ui/turbo/generators/config.ts:5
Function
get
(req, res)
framework-boilerplates/sapper/src/routes/blog/index.json.js:12
Function
get
(req, res, next)
framework-boilerplates/sapper/src/routes/blog/[slug].json.js:8
Method
get
({ args, fallback = sourceFallback as Source, }: { args: GetQueryArgs fallback?: Source })
flags-sdk/hypertune/generated/hypertune.ts:345
Method
get
({ args, fallback = sourceFallback as Source, }: { args: Rec4 fallback?: Source })
edge-middleware/feature-flag-hypertune/generated/hypertune.ts:139
Function
getBuckets
(experiment: string)
edge-middleware/ab-testing-statsig/lib/statsig-api.ts:46
Method
getByRoom
(roomName: string)
guides/sandbox-voice-agent/lib/sandbox-manager.ts:18
Function
getData
(c *gin.Context)
go/gin/main.go:77
Function
getErrorKey
(error: Line)
apps/vibe-coding-platform/components/error-monitor/error-monitor.tsx:51
Function
getItem
(c *gin.Context)
go/gin/main.go:91
Function
getProductInfoPlaceholder
()
framework-boilerplates/hydrogen/src/lib/placeholders.ts:216
Method
getRootArgs
()
flags-sdk/hypertune/generated/hypertune.ts:173
Function
getServerSideProps
({ req })
edge-middleware/power-parity-pricing-strategies/pages/ssr.tsx:18
Function
getServerSideProps
({ query })
edge-middleware/geolocation/pages/index.tsx:8
Function
getServerSideProps
(ctx: any)
edge-middleware/modify-request-header/pages/index.tsx:13
Function
getShortenedAddress
(address: string)
solutions/mint-nft/helpers/address.helpers.ts:6
Function
getStaticPaths
()
solutions/reuse-responses/pages/[id].tsx:19
Function
getStaticPaths
()
solutions/pagination-with-ssg/pages/category/[page].tsx:71
Function
getStaticPaths
()
solutions/platforms-slate-supabase/pages/_sites/[site]/[slug].js:142
Function
getStaticPaths
()
edge-middleware/rewrites-upstash/pages/product/[id]/no-stock.tsx:18
Function
getStaticPaths
()
edge-middleware/rewrites-upstash/pages/product/[id]/index.tsx:38
Function
getStaticPaths
()
edge-middleware/power-parity-pricing/pages/[country].tsx:18
Function
getStaticPaths
()
edge-middleware/power-parity-pricing-strategies/pages/edge/[country].tsx:23
Function
getStaticPaths
()
edge-middleware/i18n/pages/[locale]/[country].tsx:19
Function
getStaticPaths
()
edge-middleware/hostname-rewrites/pages/_sites/[site]/about.tsx:45
Function
getStaticPaths
()
edge-middleware/hostname-rewrites/pages/_sites/[site]/index.tsx:63
Function
getStaticPaths
()
edge-middleware/ab-testing-simple/pages/home/[bucket].tsx:49
Function
getStaticPaths
()
edge-middleware/ab-testing-simple/pages/marketing/[bucket].tsx:49
Function
getStaticPaths
()
edge-middleware/redirects-upstash/pages/posts/[slug].tsx:43
Function
getStaticPaths
()
edge-middleware/ab-testing-statsig/pages/[bucket].tsx:31
Function
getStaticPaths
()
edge-middleware/geolocation-country-block/pages/[country].tsx:12
Function
getStaticPaths
()
starter/personalization-builder-io/pages/[[...path]].tsx:42
Function
getStaticProps
()
solutions/combining-data-fetching-strategies/pages/index.tsx:25
Function
getStaticProps
()
solutions/on-demand-isr/pages/index.tsx:57
Function
getStaticProps
()
solutions/reuse-responses/pages/index.tsx:27
Function
getStaticProps
({ params, })
solutions/reuse-responses/pages/[id].tsx:36
Function
getStaticProps
({ params, }: GetStaticPropsContext)
solutions/pagination-with-ssg/pages/category/[page].tsx:39
Function
getStaticProps
()
solutions/pagination-with-ssg/pages/category/index.tsx:20
Function
getStaticProps
({ params: { site, slug } })
solutions/platforms-slate-supabase/pages/_sites/[site]/[slug].js:171
Function
getStaticProps
()
solutions/web3-data-fetching/pages/index.tsx:158
Function
getStaticProps
()
edge-middleware/feature-flag-configcat/pages/index.tsx:82
Function
getStaticProps
()
edge-middleware/rewrites-upstash/pages/index.tsx:25
Function
getStaticProps
({ params, })
edge-middleware/rewrites-upstash/pages/product/[id]/no-stock.tsx:31
Function
getStaticProps
({ params, })
edge-middleware/rewrites-upstash/pages/product/[id]/index.tsx:19
Function
getStaticProps
({ params, })
edge-middleware/power-parity-pricing/pages/[country].tsx:32
Function
getStaticProps
()
edge-middleware/power-parity-pricing-strategies/pages/static.tsx:14
Function
getStaticProps
({ params: { country }, })
edge-middleware/power-parity-pricing-strategies/pages/edge/[country].tsx:37
Function
getStaticProps
({ params: { country, locale }, })
edge-middleware/i18n/pages/[locale]/[country].tsx:27
Function
getStaticProps
({ params: { site } })
edge-middleware/hostname-rewrites/pages/_sites/[site]/about.tsx:52
Function
getStaticProps
({ params: { site } })
edge-middleware/hostname-rewrites/pages/_sites/[site]/index.tsx:70
Function
getStaticProps
()
edge-middleware/ab-testing-simple/pages/home/[bucket].tsx:56
Function
getStaticProps
()
edge-middleware/ab-testing-simple/pages/marketing/[bucket].tsx:64
Function
getStaticProps
()
edge-middleware/redirects-upstash/pages/posts/[slug].tsx:51
Function
getStaticProps
({ params })
edge-middleware/ab-testing-statsig/pages/[bucket].tsx:23
Function
getStaticProps
({ params: { country }, })
edge-middleware/geolocation-country-block/pages/[country].tsx:19
Function
getStaticProps
({ params, }: GetStaticPropsContext<{ path: string[] }>)
starter/personalization-builder-io/pages/[[...path]].tsx:11
Function
getTweets
(id)
solutions/platforms-slate-supabase/lib/twitter.js:5
Function
getWsUrl
()
websockets/next-chat/lib/useChatSocket.ts:26
Function
get_item
(request)
python/starlette/api/routes.py:19
Function
get_item
(item_id: int)
python/vibe-coding-ide/frontend/templates/react-fastapi/backend/routes/items.py:32
Function
get_item
(item_id: int)
python/vibe-coding-ide/frontend/templates/fastapi/routes/items.py:32
Function
get_item
(item_id: int)
python/flask/endpoints/routes.py:23
Function
get_item
(item_id: int)
python/fastapi/main.py:26
Function
get_item
(item_id: int)
services/nextjs-fastapi/backend/main.py:47
Function
get_item
(item_id: int)
services/nextjs-fastapi-bindings/backend/main.py:44
Function
get_item
(item_id: int)
services/vite-fastapi/backend/main.py:47
Function
get_items
()
services/nextjs-fastapi/backend/main.py:39
Function
get_items
()
services/nextjs-fastapi-bindings/backend/main.py:36
Function
get_items
()
services/vite-fastapi/backend/main.py:39
Function
get_job_status
(job_id: str)
python/celery/main.py:75
Function
get_jobs
()
python/celery/main.py:70
Function
get_sample_data
(request)
python/starlette/api/routes.py:5
Function
get_sample_data
()
python/flask/endpoints/routes.py:8
Function
get_sample_data
()
python/fastapi/main.py:13
Function
get_status
()
services/nextjs-fastapi/backend/main.py:29
Function
get_status
()
services/nextjs-fastapi-bindings/backend/main.py:27
Function
get_status
()
services/vite-fastapi/backend/main.py:29
Function
get_user
(user_id: int)
python/vibe-coding-ide/frontend/templates/react-fastapi/backend/routes/users.py:30
Function
get_user
(user_id: int)
python/vibe-coding-ide/frontend/templates/fastapi/routes/users.py:30
Function
globalSetup
()
solutions/testing/packages/playwright/shared/global-setup.ts:3
Function
goToSearchResult
(event: React.MouseEvent<HTMLAnchorElement>)
framework-boilerplates/hydrogen-2/app/components/Search.tsx:297
Method
goto
()
solutions/testing/packages/playwright/shared/pages/signup-page.ts:8
Function
greet
({ name }: InferSchema<typeof schema>)
framework-boilerplates/xmcp/src/tools/greet.ts:22
Function
handle
({ event, resolve })
framework-boilerplates/sveltekit/src/hooks.js:4
Function
handleActiveDeviceChange
(deviceId: string)
guides/sandbox-voice-agent/components/livekit/agent-control-bar/track-device-select.tsx:74
Function
handleAddStock
()
edge-middleware/rewrites-upstash/pages/product/[id]/no-stock.tsx:52
Function
handleBlock
()
edge-middleware/ip-blocking-datadome/pages/index.tsx:13
Function
handleBuy
()
edge-middleware/rewrites-upstash/pages/product/[id]/index.tsx:54
Function
handleCancelTask
()
python/vibe-coding-ide/frontend/src/app/App.tsx:327
Function
handleClick
()
apps/vibe-coding-platform/components/chat/message-part/reasoning.tsx:25
Function
handleConnect
()
solutions/mint-nft/components/ConnectWallet.tsx:7
Function
handleDismiss
()
apps/vibe-coding-platform/components/modals/welcome.tsx:33
Function
handleDocMouseDown
(e: MouseEvent)
python/vibe-coding-ide/frontend/src/app/App.tsx:109
Method
handleFavicon
(w http.ResponseWriter, r *http.Request)
go/api/internal/handler/handler.go:46
Function
handleGenerate
handleGenerate renders a QR code for the given data with an optional Vercel triangle drawn in the center. GET /qr/generate?data=<text>&size=<px>&log
container-images/demo/apps/qr/generate.go:24
Method
handleGetData
(w http.ResponseWriter, r *http.Request)
go/api/internal/handler/handler.go:56
← previous
next →
2,301–2,400 of 2,748, ranked by callers