MCPcopy Create free account

hub / github.com/vercel/examples / functions

Functions2,748 in github.com/vercel/examples

Methodconstructor
(private readonly pub: Redis, sub: Redis)
websockets/next-chat/lib/chat/broadcast/redis.ts:18
Methodconstructor
()
apps/vibe-coding-platform/lib/deferred.ts:6
Methodconstructor
(message: string, status: number)
internal/scripts/lib/contentful/index.ts:41
Methodconstructor
()
framework-boilerplates/ionic-angular/src/app/app.component.ts:10
Methodconstructor
()
framework-boilerplates/ionic-angular/src/app/tab2/tab2.page.ts:11
Methodconstructor
()
framework-boilerplates/ionic-angular/src/app/tabs/tabs.page.ts:11
Methodconstructor
()
framework-boilerplates/ionic-angular/src/app/tab3/tab3.page.ts:11
Methodconstructor
()
framework-boilerplates/ionic-angular/src/app/tab1/tab1.page.ts:11
Methodconstructor
* Create a game object from the player's cookie, or initialise a new game
framework-boilerplates/sveltekit-1/src/routes/sverdle/game.ts:12
Methodconstructor
( private sessionStorage: SessionStorage, private session: Session, )
framework-boilerplates/hydrogen-2/server.ts:102
FunctioncreateEdge
(e: React.FormEvent)
solutions/aws-neptune-analytics/app/page.tsx:88
FunctioncreateGraphQLClient
()
starter/cms-sanity-graphql-fragments/src/lib/graphql.ts:6
FunctioncreateNode
(e: React.FormEvent)
solutions/aws-neptune-analytics/app/page.tsx:36
FunctioncreateSite
(e)
solutions/platforms-slate-supabase/pages/app/index.js:48
FunctioncreateSourceForServerOnly
({ token, variableValues = {}, override, ...options }: CreateSourceOptions)
flags-sdk/hypertune/generated/hypertune.ts:417
FunctioncreateSourceForServerOnly
({ token, variableValues = {}, override, ...options }: CreateSourceOptions)
edge-middleware/feature-flag-hypertune/generated/hypertune.ts:205
Functioncreate_file
Create a new file with the provided content (for new features or rebuilds). Guidelines: - Provide the full file contents. Create siblings/mod
python/vibe-coding-ide/backend/src/agent/tools/fs_ops.py:9
Functioncreate_folder
Declare a folder in the virtual project (no files created). This is a UI-level structure; it does not write files. Fails if a file with the s
python/vibe-coding-ide/backend/src/agent/tools/fs_ops.py:175
Functioncreate_run
(request: RunRequest)
python/vibe-coding-ide/backend/src/api/agent.py:44
Functioncreate_todo
()
python/vibe-coding-ide/frontend/templates/flask/app.py:22
Functioncurrent_time
(request)
python/django-rest-framework/api/views.py:8
Functiondecide
()
flags-sdk/openfeature/flags.ts:63
Functiondecide
()
flags-sdk/experimentation-statsig/flags.ts:42
Functiondecide
()
flags-sdk/launchdarkly/flags.ts:39
Functiondecide
()
flags-sdk/growthbook/flags.ts:53
Functiondecide
({ key, entities })
flags-sdk/hypertune/template-adapter.ts:19
Functiondecide
()
solutions/flags-sdk/flags.ts:5
Functiondecide
(event)
toolbar/toolbar-feature-flags-sveltekit/src/lib/flags.ts:9
Functiondecide
(params)
edge-middleware/feature-flag-hypertune/generated/hypertune.vercel.tsx:50
FunctiondecodeFlagValues
( encodedValues: string, flagPaths: TFlagPaths[] )
flags-sdk/hypertune/generated/hypertune.ts:91
Functiondelay
(ms: number)
flags-sdk/flagsmith/lib/actions.ts:12
Functiondelay
(ms: number)
flags-sdk/posthog/lib/actions.ts:12
Functiondelay
(ms: number)
flags-sdk/reflag/lib/actions.ts:12
Functiondelay
(ms: number)
flags-sdk/vercel/lib/actions.ts:12
Methoddelay
* [Open in Hypertune UI]({@link https://app.hypertune.com/projects/4585/main/draft/logic?selected_field_path=root%3Edelay})
flags-sdk/hypertune/generated/hypertune.ts:188
FunctiondeleteCookie
()
flags-sdk/openfeature/components/dev-tools.tsx:9
FunctiondeleteCookie
()
flags-sdk/experimentation-statsig/components/dev-tools.tsx:9
FunctiondeleteCookie
()
flags-sdk/launchdarkly/components/dev-tools.tsx:6
FunctiondeleteCookie
()
flags-sdk/growthbook/components/dev-tools.tsx:9
FunctiondeleteCookie
()
flags-sdk/flagsmith/components/dev-tools.tsx:9
FunctiondeleteCookie
()
flags-sdk/posthog/components/dev-tools.tsx:9
FunctiondeleteCookie
()
flags-sdk/vercel/components/dev-tools.tsx:9
FunctiondeleteEdge
(e: React.FormEvent)
solutions/aws-neptune-analytics/app/page.tsx:118
FunctiondeleteNode
(e: React.FormEvent)
solutions/aws-neptune-analytics/app/page.tsx:66
FunctiondeletePost
(postId)
solutions/platforms-slate-supabase/pages/app/post/[id]/settings.js:69
Functiondelete_file
Delete an existing file (use sparingly; archive first when possible). Use with caution. Prefer edits or renames when appropriate. For rebuilds, c
python/vibe-coding-ide/backend/src/agent/tools/fs_ops.py:63
Functiondelete_folder
Delete a folder and all files beneath it in the project mapping (for large cleanups only). Use with caution; this removes every file under the pa
python/vibe-coding-ide/backend/src/agent/tools/fs_ops.py:220
Functiondelete_jobs
()
python/celery/main.py:83
Functiondelete_todo
(id)
python/vibe-coding-ide/frontend/templates/flask/app.py:32
Functiondestroy
()
framework-boilerplates/sveltekit/src/lib/form.js:78
Methoddo_GET
(self)
python/hello-world/api/index.py:5
FunctiondocUrl
framework-boilerplates/docusaurus/pages/en/index.js:22
FunctiondocUrl
(doc, language)
framework-boilerplates/docusaurus/core/Footer.js:11
Functionedit_code
Make a precise, in-place change within a file. Behavior: - Operates only on lines [find_start_line, find_end_line] (1-based, inclusive).
python/vibe-coding-ide/backend/src/agent/tools/core.py:71
Functionenhance
(form, { pending, error, result } = {})
framework-boilerplates/sveltekit/src/lib/form.js:31
Functionenqueue_job
(body: CreateJobRequest)
python/celery/main.py:88
Functionerror
(peer, error)
websockets/nitro/server/api/ws.ts:75
FunctionerrorBoundary
()
microfrontends/single-spa/apps/root/src/footer/index.tsx:189
FunctionerrorBoundary
()
microfrontends/single-spa/apps/root/src/header/index.tsx:51
FunctionerrorBoundary
()
microfrontends/single-spa/apps/content/src/landing.tsx:900
Functionexpire
(req: NextRequest)
edge-middleware/jwt-authentication/pages/api/expire.ts:9
Functionfallback
(blah)
services/nextjs-fastapi-bindings/backend/main.py:52
FunctionfetchApi
(path: string)
solutions/saas-microservices/apps/dashboard/src/lib/fetch-api.ts:3
FunctionfetchApi
(path: string)
microfrontends/saas-microservices/apps/dashboard/src/lib/fetch-api.ts:3
FunctionfetchEdge
(e: React.FormEvent)
solutions/aws-neptune-analytics/app/page.tsx:77
FunctionfetchNode
(e: React.FormEvent)
solutions/aws-neptune-analytics/app/page.tsx:25
FunctionfetchResults
(event: React.ChangeEvent<HTMLInputElement>)
framework-boilerplates/hydrogen-2/app/components/Search.tsx:257
Functionfetcher
(url: string)
flags-sdk/experimentation-statsig/statsig/statsig-provider.tsx:74
Functionfetcher
(url: string)
flags-sdk/launchdarkly/launchdarkly/launchdarkly-provider.tsx:68
Functionfetcher
(input: RequestInfo, init?: RequestInit)
solutions/combining-data-fetching-strategies/pages/index.tsx:22
Functionfetcher
(url)
solutions/aws-dynamodb/pages/index.js:3
Functionfetcher
(...args)
solutions/platforms-slate-supabase/components/app/DomainCard.js:2
Functionfetcher
(...args)
solutions/platforms-slate-supabase/pages/app/index.js:12
Functionfetcher
(...args)
solutions/platforms-slate-supabase/pages/app/site/[id]/drafts.js:10
Functionfetcher
(...args)
solutions/platforms-slate-supabase/pages/app/site/[id]/index.js:9
Functionfetcher
(...args)
solutions/platforms-slate-supabase/pages/app/post/[id]/index.js:16
Functionfetcher
(...args)
solutions/platforms-slate-supabase/pages/app/post/[id]/settings.js:13
Functionfetcher
(url: string)
solutions/testing/apps/main-site/pages/index.tsx:8
Methodflash
(key: string, value: any)
framework-boilerplates/hydrogen-2/server.ts:135
MethodfreeDelivery
* [Open in Hypertune UI]({@link https://app.hypertune.com/projects/4585/main/draft/logic?selected_field_path=root%3EfreeDelivery})
flags-sdk/hypertune/generated/hypertune.ts:245
FunctiongenerateMetadata
({ params })
solutions/blog/app/blog/[slug]/page.tsx:14
FunctiongenerateMetadata
({ params, }: PageProps)
starter/cms-sanity-graphql-fragments/src/app/[name]/page.tsx:35
FunctiongenerateMetadata
({ params: { slug }, })
starter/cms-payload/app/(site)/[slug]/page.tsx:9
FunctiongenerateStaticParams
()
flags-sdk/openfeature/app/[code]/layout.tsx:9
FunctiongenerateStaticParams
()
flags-sdk/experimentation-statsig/app/[code]/layout.tsx:10
FunctiongenerateStaticParams
()
flags-sdk/launchdarkly/app/[code]/layout.tsx:10
FunctiongenerateStaticParams
()
flags-sdk/growthbook/app/[code]/layout.tsx:12
FunctiongenerateStaticParams
()
flags-sdk/flagsmith/app/[code]/layout.tsx:9
FunctiongenerateStaticParams
()
flags-sdk/hypertune/app/[code]/layout.tsx:9
FunctiongenerateStaticParams
()
flags-sdk/posthog/app/[code]/layout.tsx:9
FunctiongenerateStaticParams
()
flags-sdk/reflag/app/[code]/layout.tsx:9
FunctiongenerateStaticParams
()
flags-sdk/vercel/app/[code]/layout.tsx:9
FunctiongenerateStaticParams
()
solutions/blog/app/blog/[slug]/page.tsx:6
FunctiongenerateStaticParams
()
edge-middleware/feature-flag-hypertune/app/static/[code]/page.tsx:5
FunctiongenerateStaticParams
()
cdn/cms-webhook-update-redirects/app/catalog/[collection]/page.tsx:5
FunctiongenerateStaticParams
()
cdn/cms-bulk-redirects/app/catalog/[collection]/page.tsx:5
FunctiongenerateStaticParams
()
app-directory/i18n/app/[lang]/page.tsx:12
FunctiongenerateStaticParams
()
app-directory/redirect-with-fallback/app/[...slug]/route.ts:31
FunctiongenerateStaticParams
()
starter/cms-sanity-graphql-fragments/src/app/[name]/page.tsx:62
FunctiongenerateStaticParams
()
starter/cms-sanity-graphql-fragments/src/app/posts/[slug]/page.tsx:32
← previousnext →2,201–2,300 of 2,748, ranked by callers