Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudflare/templates
/ functions
Functions
10,210 in github.com/cloudflare/templates
⨍
Functions
10,210
◇
Types & classes
18,658
↓ 1 callers
Method
createDebugString
()
nlweb-template/public/fp-chat-interface.js:1914
↓ 1 callers
Method
createDebugString
()
nlweb-template/public/fp-chat-interface-snippet.js:1796
↓ 1 callers
Method
createEnsembleItemCard
(item)
nlweb-template/public/fp-chat-interface.js:919
↓ 1 callers
Method
createEnsembleItemCard
(item)
nlweb-template/public/fp-chat-interface-snippet.js:953
↓ 1 callers
Function
createEnv
(socket: Socket)
grpc-container-template/test/index.spec.ts:41
↓ 1 callers
Function
createEnv
(overrides: Partial<TestEnv> = {})
email-routing-template/test/index.test.ts:27
↓ 1 callers
Function
createEnv
()
containers-template/test/index.spec.ts:4
↓ 1 callers
Function
createEnv
(overrides: Partial<TestEnv> = {})
email-sending-template/test/index.test.ts:12
↓ 1 callers
Function
createEnv
()
x402-proxy-template/test/index.test.ts:12
↓ 1 callers
Function
createEphemeralPhraseRotation
()
voice-agent-template/src/voice/ephemeralSpeech.ts:31
↓ 1 callers
Method
createMap
* Create the Google Map with markers * @param {HTMLElement} mapDiv - The map container element * @param {Array} locations - Array of location obje
nlweb-template/public/display_map.js:107
↓ 1 callers
Function
createMessage
(from = "trusted@partner.example")
email-routing-template/test/index.test.ts:11
↓ 1 callers
Function
createMockEvent
( overrides: Partial<CloudflareEvent> = {}, )
workers-builds-notifications-template/test/index.spec.ts:43
↓ 1 callers
Method
createNewChat
(existingInputElementId = null, site = null)
nlweb-template/public/fp-chat-interface-snippet.js:211
↓ 1 callers
Function
createNoAccessContext
* Create an ExecutionContext without ctx.access. * This simulates a request that was NOT authenticated by Access.
internal-sites-template/test/index.spec.ts:40
↓ 1 callers
Function
createPR
({ githubToken, ...params }: CreatePRConfig)
cli/src/util.ts:313
↓ 1 callers
Function
createPermanentToken
(config)
workers-for-platforms-template/scripts/setup-quick.js:154
↓ 1 callers
Function
createProtectedRoute
(config: ProtectedRouteConfig)
x402-proxy-template/src/auth.ts:78
↓ 1 callers
Function
createQueueMessage
( event: CloudflareEvent, )
workers-builds-notifications-template/test/index.spec.ts:82
↓ 1 callers
Function
createSocket
(chunks: Uint8Array[] = [], keepOpen = false)
grpc-container-template/test/index.spec.ts:4
↓ 1 callers
Function
createSubscription
(baseUrl, apiToken, subscription)
saas-admin-template/src/lib/api.ts:122
↓ 1 callers
Function
createTask
(taskData: any)
chanfana-openapi-template/tests/integration/tasks.test.ts:5
↓ 1 callers
Method
createTitleRow
* Creates a title row for an item * * @param {Object} item - The item data * @param {HTMLElement} contentDiv - The content div
nlweb-template/public/json-renderer.js:177
↓ 1 callers
Function
createVoiceAIBinding
( binding: Ai, metricContext: VoiceMetricContext, llmModel: string, )
voice-agent-template/src/voice/voiceAIBinding.ts:42
↓ 1 callers
Function
createVoiceMetricContext
( connectionId: string, inputSource: VoiceInputSource, )
voice-agent-template/src/voice/metrics.ts:181
↓ 1 callers
Function
createVoiceTextStreamFinalizer
( context: VoiceMetricContext, llmModel: string, toolCount: number, )
voice-agent-template/src/voice/metrics.ts:348
↓ 1 callers
Function
csvE
(s: string)
ai-brand-visibility-template/workers/api.ts:395
↓ 1 callers
Function
dbLogic
(c)
react-postgres-fullstack-template/api/routes/books.js:17
↓ 1 callers
Function
decodeLlamaGuardBody
(body: string)
voice-agent-template/src/voice/checkPrompt.ts:51
↓ 1 callers
Function
decontextualizeStreaming
({ query, prev = [], ai, stream, }: { query: string; prev?: string[]; ai: Ai; stream?: StreamingWrappe
nlweb-template/src/ask/decontextualize.ts:45
↓ 1 callers
Method
delete
* Deletes a todo item * @param id - The unique identifier of the todo item to delete * @returns Promise that resolves when the deletion is complet
to-do-list-kv-template/app/to-do-manager.ts:83
↓ 1 callers
Method
deleteConversation
(conversationId)
nlweb-template/public/fp-chat-interface.js:1632
↓ 1 callers
Method
deleteConversation
(conversationId)
nlweb-template/public/nlweb-dropdown-chat.js:440
↓ 1 callers
Method
deleteConversation
(conversationId, chatInterface)
nlweb-template/public/conversation-manager.js:332
↓ 1 callers
Function
deleteOrganization
(id)
mysql-hyperdrive-template/public/js/app.js:134
↓ 1 callers
Function
deleteOrganization
(id)
postgres-hyperdrive-template/public/js/app.js:134
↓ 1 callers
Method
deleteRememberedItem
(item)
nlweb-template/public/fp-chat-interface.js:2100
↓ 1 callers
Method
deleteRememberedItem
(item)
nlweb-template/public/fp-chat-interface-snippet.js:1982
↓ 1 callers
Function
deleteUser
(id)
mysql-hyperdrive-template/public/js/app.js:122
↓ 1 callers
Function
deleteUser
(id)
postgres-hyperdrive-template/public/js/app.js:122
↓ 1 callers
Function
deploySnippetToNamespace
( opts: { namespaceName: string; scriptName: string; code: string; bindings?: Array< | { type: "pl
worker-publisher-template/src/index.ts:4
↓ 1 callers
Function
deploySnippetToNamespace
(opts: { namespaceName: string; scriptName: string; code: string; // ES module Worker code bindings?: Arra
worker-publisher-template/scripts/deploy-wfp.ts:13
↓ 1 callers
Function
deployedDirs
(calls: Call[])
cli/test/deployLiveDemos.test.ts:53
↓ 1 callers
Function
deploymentRequest
(slug: string, name = "Test Site")
internal-sites-template/test/index.spec.ts:51
↓ 1 callers
Function
depsInfo
({ prId, githubToken }: DepsInfoConfig)
cli/src/depsInfo.ts:35
↓ 1 callers
Function
depsUpdate
({ githubToken, githubActor, }: DepsUpdateConfig)
cli/src/depsUpdate.ts:22
↓ 1 callers
Function
deriveTrustSignals
(input: { signatureInputHeader: string | null; signatureHeader: string | null; webBotAuthValid?: boolean;
agent-commerce-analytics-template/src/lib/store.ts:1241
↓ 1 callers
Function
describeAction
(e: AgentEvent)
agent-commerce-analytics-template/src/lib/store.ts:859
↓ 1 callers
Method
detectZoneForDomain
()
workers-for-platforms-template/scripts/setup.js:299
↓ 1 callers
Function
detectZoneId
(config)
workers-for-platforms-template/scripts/setup-quick.js:279
↓ 1 callers
Function
directoryDocument
(keys: AgentKey[])
agent-visibility-template/src/lib/web-bot-auth.ts:190
↓ 1 callers
Method
discoverTemplates
()
playwright-tests/utils/template-server.ts:87
↓ 1 callers
Function
dispatchToSite
Dispatch a request to a deployed site Worker by slug.
internal-sites-template/src/index.ts:390
↓ 1 callers
Method
displayFinalReport
()
workers-for-platforms-template/scripts/setup.js:662
↓ 1 callers
Function
emptySummary
( period: string, merchantName: string, )
agent-commerce-analytics-template/src/lib/store.ts:1143
↓ 1 callers
Function
enrichCatalog
( products: RawProduct[], ai: AiTextGeneration, vertical = "general retail", model: string = DEFAULT_AI_MO
commerce-llms-txt-template/src/enrichment/index.ts:105
↓ 1 callers
Function
enrichProduct
( product: RawProduct, ai: AiTextGeneration, vertical: string, model: string = DEFAULT_AI_MODEL, )
commerce-llms-txt-template/src/enrichment/index.ts:49
↓ 1 callers
Function
ensureDb
(db: D1Database)
internal-sites-template/src/index.ts:53
↓ 1 callers
Function
ensureDispatchNamespace
(namespaceName, executeWrangler = runWrangler)
internal-sites-template/scripts/setup.js:75
↓ 1 callers
Function
ensureDispatchNamespace
(namespaceName)
workers-for-platforms-template/scripts/setup-quick.js:121
↓ 1 callers
Method
ensureDispatchNamespace
()
workers-for-platforms-template/scripts/setup.js:394
↓ 1 callers
Method
ensureDispatchToken
()
workers-for-platforms-template/scripts/setup.js:451
↓ 1 callers
Function
equalBytes
(left: Uint8Array, right: Uint8Array)
voice-agent-template/src/auth.ts:36
↓ 1 callers
Function
errorMessage
(error: unknown)
internal-sites-template/src/index.ts:570
↓ 1 callers
Function
esc
(s: string)
ai-brand-visibility-template/app/routes/results.tsx:228
↓ 1 callers
Function
eventKey
(timestamp: string)
agent-commerce-analytics-template/src/lib/store.ts:81
↓ 1 callers
Function
executeCloudflareDocsAttempt
( execute: ToolExecutor, input: unknown, options: ToolExecutionOptions<unknown>, )
voice-agent-template/src/voice/docsTools.ts:94
↓ 1 callers
Function
executeDocsTool
( docsRuntime: DocsToolRuntime, signal?: AbortSignal, )
voice-agent-template/test/docsTools.test.ts:39
↓ 1 callers
Function
executeJob
(env: Env, job: QueueJob)
ai-brand-visibility-template/workers/queue.ts:42
↓ 1 callers
Function
extractAIText
(r: any)
ai-brand-visibility-template/workers/api.ts:693
↓ 1 callers
Function
extractAuthorName
(author: string | undefined)
workers-builds-notifications-template/src/helpers.ts:54
↓ 1 callers
Method
extractImage
* Extracts an image URL from a schema object * * @param {Object} schema_object - The schema object * @returns {string|null} - The image URL or n
nlweb-template/public/json-renderer.js:256
↓ 1 callers
Method
extractImageInternal
* Extracts an image URL from various image formats * * @param {*} image - The image data * @returns {string|null} - The image URL or null
nlweb-template/public/json-renderer.js:307
↓ 1 callers
Method
extractImageUrl
(schema_object)
nlweb-template/public/fp-chat-interface.js:1085
↓ 1 callers
Method
extractImageUrl
(schema_object)
nlweb-template/public/fp-chat-interface-snippet.js:1119
↓ 1 callers
Method
extractImageUrlFromField
(imageField)
nlweb-template/public/fp-chat-interface.js:1106
↓ 1 callers
Method
extractImageUrlFromField
(imageField)
nlweb-template/public/fp-chat-interface-snippet.js:1140
↓ 1 callers
Function
extractProductSlug
(path: string)
agent-commerce-analytics-template/src/lib/store.ts:459
↓ 1 callers
Function
extractSpecs
* Extract specs from a Shopify product description. * * Shopify doesn't have a native "specs" field, so we parse the description * for spec-like pa
commerce-llms-txt-template/src/lib/shopify.ts:67
↓ 1 callers
Function
extractText
Extract text from any AI response format
ai-brand-visibility-template/workers/queue.ts:134
↓ 1 callers
Function
fallbackEnrichment
(product: RawProduct)
commerce-llms-txt-template/src/enrichment/index.ts:135
↓ 1 callers
Function
fallbackEnrichment
(raw: RawResource, model: string)
agent-visibility-template/src/enrichment/index.ts:147
↓ 1 callers
Function
fetch
(request: Request)
microfrontend-template/e2e/worker-a.ts:2
↓ 1 callers
Function
fetch
(request, env)
voice-agent-template/src/index.ts:8
↓ 1 callers
Function
fetch
* Main request handler for the Worker
llm-chat-app-template/src/index.ts:24
↓ 1 callers
Function
fetchBookDetail
()
react-postgres-fullstack-template/src/App.jsx:59
↓ 1 callers
Function
fetchBooks
()
react-postgres-fullstack-template/src/components/BooksList.jsx:10
↓ 1 callers
Function
fetchBuildLogs
( event: CloudflareEvent, env: Env, )
workers-builds-notifications-template/src/api.ts:83
↓ 1 callers
Function
fetchBuildUrls
( event: CloudflareEvent, env: Env, )
workers-builds-notifications-template/src/api.ts:27
↓ 1 callers
Function
findPermGroup
(name)
workers-for-platforms-template/scripts/setup-quick.js:192
↓ 1 callers
Function
findProtectedRouteConfig
* Helper to find the protected route config for a given path * Includes both built-in protected routes and configured patterns
x402-proxy-template/src/index.ts:140
↓ 1 callers
Function
firstSentence
(text: string)
agent-visibility-template/src/enrichment/surfaces.ts:235
↓ 1 callers
Function
fixedMessage
(overrides: Record<string, unknown> = {})
voice-agent-template/test/fixedConfig.test.ts:12
↓ 1 callers
Function
flushAssistantText
()
llm-chat-app-template/public/chat.js:102
↓ 1 callers
Function
formatBytes
(bytes: number)
internal-sites-template/src/render.ts:16
↓ 1 callers
Method
formatDebugData
(data)
nlweb-template/public/fp-chat-interface.js:1978
↓ 1 callers
Method
formatDebugData
(data)
nlweb-template/public/fp-chat-interface-snippet.js:1860
↓ 1 callers
Method
formatDuration
* Formats an ISO 8601 duration string to human-readable format * * @param {string} duration - ISO 8601 duration string (e.g., PT1H30M) * @return
nlweb-template/public/recipe-renderer.js:208
↓ 1 callers
Function
formatMinutesAgo
(m: number)
agent-commerce-analytics-template/src/react-app/App.tsx:643
↓ 1 callers
Method
formatValue
* Formats a value as HTML * * @param {*} value - The value to format * @param {number} indent - The indentation level * @returns {string} - HT
nlweb-template/public/json-renderer.js:389
← previous
next →
401–500 of 10,210, ranked by callers