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
Function
isDegraded
True when any resource fell back to deterministic enrichment.
agent-visibility-template/src/lib/store.ts:34
↓ 1 callers
Function
isDuplicateComment
({ prId, githubToken, body, }: CommentOnPRConfig)
cli/src/util.ts:272
↓ 1 callers
Function
isNewPullRequestTemplate
(name: string)
cli/src/validateLiveDemoLinks.ts:9
↓ 1 callers
Function
isProductionBranch
(branch: string | undefined)
workers-builds-notifications-template/src/helpers.ts:37
↓ 1 callers
Function
isRecord
(value: unknown)
voice-agent-template/src/voice/config.ts:37
↓ 1 callers
Method
isScopedToMount
* Checks if a path is already scoped to the mount prefix. * When mount is "/", all absolute paths are considered scoped (no rewriting needed).
microfrontend-template/index.ts:439
↓ 1 callers
Function
jsonError
( error: string, status: number, authenticate = false, )
voice-agent-template/src/auth.ts:7
↓ 1 callers
Function
jsonForScript
(value: unknown)
internal-sites-template/src/html.ts:24
↓ 1 callers
Function
killProcessTree
(pid: number)
playwright-tests/utils/template-server.ts:15
↓ 1 callers
Function
latestUpdatedAt
Most recent `updatedAt` across resources (epoch start if empty).
agent-visibility-template/src/enrichment/surfaces.ts:240
↓ 1 callers
Method
limit
* Rate limit a request based on the provided options. * @see https://developers.cloudflare.com/workers/runtime-apis/bindings/rate-limit/ * @
workers-builds-notifications-template/worker-configuration.d.ts:13746
↓ 1 callers
Function
limitDocsResult
( tool: ToolSet[string], onAttempt?: (event: CloudflareDocsAttemptEvent) => void, )
voice-agent-template/src/voice/docsTools.ts:146
↓ 1 callers
Function
lint
(config: LintConfig)
cli/src/lint.ts:21
↓ 1 callers
Function
lintNpmLockfiles
({ templateDirectory, }: NpmLockfilesConfig)
cli/src/npm.ts:63
↓ 1 callers
Function
lintTemplate
(template: Template, fix: boolean)
cli/src/lint.ts:54
↓ 1 callers
Function
load
()
commerce-llms-txt-template/src/react-app/App.tsx:60
↓ 1 callers
Function
load
()
agent-commerce-analytics-template/src/react-app/App.tsx:137
↓ 1 callers
Function
load
()
agent-visibility-template/src/react-app/App.tsx:62
↓ 1 callers
Method
loadConversation
(id, chatInterface)
nlweb-template/public/conversation-manager.js:272
↓ 1 callers
Function
loadEvents
(store: KVNamespace)
agent-commerce-analytics-template/src/lib/store.ts:129
↓ 1 callers
Method
loadExistingConfig
()
workers-for-platforms-template/scripts/setup.js:128
↓ 1 callers
Function
loadGenres
()
react-postgres-fullstack-template/src/App.jsx:25
↓ 1 callers
Method
loadGoogleMapsAPI
* Load Google Maps API dynamically * @param {string} apiKey - The Google Maps API key * @returns {Promise} Promise that resolves when API is loade
nlweb-template/public/display_map.js:66
↓ 1 callers
Method
loadRememberedItems
()
nlweb-template/public/fp-chat-interface.js:2113
↓ 1 callers
Method
loadRememberedItems
()
nlweb-template/public/fp-chat-interface-snippet.js:1995
↓ 1 callers
Function
loadResources
()
agent-visibility-template/src/react-app/App.tsx:156
↓ 1 callers
Function
loadSiteInfo
()
agent-visibility-template/src/react-app/App.tsx:30
↓ 1 callers
Method
loadSites
()
nlweb-template/public/fp-chat-interface.js:2208
↓ 1 callers
Function
main
()
workers-for-platforms-template/scripts/setup.js:773
↓ 1 callers
Function
main
()
workers-for-platforms-template/scripts/setup-quick.js:509
↓ 1 callers
Function
main
()
x402-proxy-template/test-client.ts:45
↓ 1 callers
Function
makeDepsInfo
( template: string, dependencies: Record<string, string>, isDevDependency: boolean, )
cli/src/depsInfo.ts:119
↓ 1 callers
Function
makeRequest
( path: string, options?: RequestInit, )
workers-for-platforms-template/test/index.spec.ts:24
↓ 1 callers
Method
markdownToHtml
(markdown)
nlweb-template/public/fp-chat-interface.js:815
↓ 1 callers
Method
markdownToHtml
(markdown)
nlweb-template/public/fp-chat-interface-snippet.js:849
↓ 1 callers
Method
maskSensitiveValue
(question, value)
workers-for-platforms-template/scripts/setup.js:117
↓ 1 callers
Function
maybeSeed
(env: Env)
agent-commerce-analytics-template/src/analytics-worker/index.ts:52
↓ 1 callers
Function
mdLink
(text: string, href: string)
agent-visibility-template/src/enrichment/surfaces.ts:40
↓ 1 callers
Function
merchantName
(env: Env)
agent-commerce-analytics-template/src/analytics-worker/index.ts:48
↓ 1 callers
Method
mergeLocalConversations
(selectedSite)
nlweb-template/public/conversation-manager.js:152
↓ 1 callers
Function
methodStyles
(method: string)
saas-admin-template/src/components/admin/api-documentation.tsx:21
↓ 1 callers
Method
migrateLocalConversations
()
nlweb-template/public/conversation-manager.js:186
↓ 1 callers
Function
mockCloudflareDeploymentFailure
(slug: string)
internal-sites-template/test/index.spec.ts:95
↓ 1 callers
Function
mockCloudflareDeploymentSuccess
(slug: string)
internal-sites-template/test/index.spec.ts:69
↓ 1 callers
Function
mockExecFile
(behavior: Behavior = () => null)
cli/test/deployLiveDemos.test.ts:38
↓ 1 callers
Function
mockFetch
( handler: (url: string, init?: RequestInit) => Response | Promise<Response>, )
workers-builds-notifications-template/test/index.spec.ts:112
↓ 1 callers
Function
mockLogic
(c)
react-postgres-fullstack-template/api/routes/books.js:12
↓ 1 callers
Method
monitor
()
workers-builds-notifications-template/worker-configuration.d.ts:3419
↓ 1 callers
Function
needsConfiguration
(values: string[])
email-routing-template/src/index.ts:10
↓ 1 callers
Function
normalizeAssetPath
(path: string)
internal-sites-template/src/resource.ts:194
↓ 1 callers
Function
normalizeAssets
(assets: UploadedAsset[])
internal-sites-template/src/resource.ts:164
↓ 1 callers
Method
onCallEnd
(connection: Connection)
voice-agent-template/src/VoiceAgent.ts:192
↓ 1 callers
Function
onSubmit
(data: FormValues)
saas-admin-template/src/components/admin/create-customer.tsx:46
↓ 1 callers
Method
openGrpcSocket
()
grpc-container-template/src/index.ts:39
↓ 1 callers
Function
originOf
(url: string)
agent-visibility-template/src/worker/index.ts:57
↓ 1 callers
Function
parseJsonLoose
(s: string)
agent-visibility-template/src/enrichment/index.ts:60
↓ 1 callers
Function
parseLlamaGuardOutput
(text: string)
voice-agent-template/src/voice/checkPrompt.ts:78
↓ 1 callers
Function
parseSignatureInput
Parse a Signature-Input value like: sig1=("@authority" "@path");keyid="k".
agent-visibility-template/src/lib/web-bot-auth.ts:64
↓ 1 callers
Function
parseStaticSiteUpload
( request: Request, )
internal-sites-template/src/assets.ts:56
↓ 1 callers
Function
pathMatchesPattern
* Check if a path matches a route pattern * Supports exact matches and prefix matches with /* wildcard
x402-proxy-template/src/index.ts:128
↓ 1 callers
Function
performUpdates
({ depNames, updates, githubToken, title, branch, }: PerformUpdatesConfig)
cli/src/depsUpdate.ts:130
↓ 1 callers
Function
pickFillerPhrase
(rotation: EphemeralPhraseRotation)
voice-agent-template/src/voice/ephemeralSpeech.ts:44
↓ 1 callers
Function
pickRecoveryPhrase
(rotation: EphemeralPhraseRotation)
voice-agent-template/src/voice/ephemeralSpeech.ts:50
↓ 1 callers
Method
pipeTo
* The **`pipeTo()`** method of the ReadableStream interface pipes the current ReadableStream to a given WritableStream and returns a Promise that fulf
workers-builds-notifications-template/worker-configuration.d.ts:2267
↓ 1 callers
Function
poll
()
ai-brand-visibility-template/app/routes/results.tsx:129
↓ 1 callers
Method
populateSiteDropdown
()
nlweb-template/public/fp-chat-interface.js:2055
↓ 1 callers
Function
prepareEditUserForm
(user)
mysql-hyperdrive-template/public/js/app.js:162
↓ 1 callers
Function
prepareEditUserForm
(user)
postgres-hyperdrive-template/public/js/app.js:162
↓ 1 callers
Method
prependMount
* Prepends the mount prefix to a path, handling root mount ("/") specially. * When mount is "/", returns the path unchanged (treating root as no pre
microfrontend-template/index.ts:431
↓ 1 callers
Function
preview
(config: PreviewConfig)
cli/src/preview.ts:9
↓ 1 callers
Function
previewLinkBody
(config: PreviewConfig)
cli/src/preview.ts:41
↓ 1 callers
Function
printLog
(name: string, log: string[])
cli/src/deployLiveDemos.ts:49
↓ 1 callers
Function
processGroupExists
()
playwright-tests/utils/template-server.ts:27
↓ 1 callers
Method
promptWithDefault
(question, defaultValue)
workers-for-platforms-template/scripts/setup.js:108
↓ 1 callers
Function
providerBadgeVariant
(provider: string)
ai-brand-visibility-template/app/components/badge.tsx:42
↓ 1 callers
Function
providerLabel
(provider: string)
ai-brand-visibility-template/app/components/badge.tsx:47
↓ 1 callers
Function
proxyToOrigin
* Proxy a request to the origin server. * * Three modes: * 1. Service Binding (ORIGIN_SERVICE bound): Calls the bound Worker directly. * Best f
x402-proxy-template/src/index.ts:68
↓ 1 callers
Function
putStaticAssetWorker
( env: Env, scriptName: string, assetJwt: string, )
internal-sites-template/src/resource.ts:325
↓ 1 callers
Function
readBearerToken
(request: Request)
voice-agent-template/src/auth.ts:22
↓ 1 callers
Function
readBody
(body: unknown)
internal-sites-template/test/resource.spec.ts:92
↓ 1 callers
Function
readCloudflareResponse
( response: Response, context: string, )
internal-sites-template/src/resource.ts:380
↓ 1 callers
Function
readJsonC
(filePath: string)
cli/src/util.ts:162
↓ 1 callers
Function
readToml
(filePath: string)
cli/src/util.ts:158
↓ 1 callers
Function
readWranglerVar
(varName)
internal-sites-template/scripts/setup.js:27
↓ 1 callers
Method
registerTypeRenderer
* Registers a renderer for a specific type * * @param {string} type - The type to register for * @param {Function} renderer - The renderer funct
nlweb-template/public/json-renderer.js:26
↓ 1 callers
Function
removeFeature
(index: number)
saas-admin-template/src/components/admin/create-subscription.tsx:63
↓ 1 callers
Method
removeRememberedItem
(index)
nlweb-template/public/nlweb-dropdown-chat.js:545
↓ 1 callers
Method
render
* Renders an item * * @param {Object} item - The item to render * @returns {HTMLElement} - The rendered HTML
nlweb-template/public/type-renderers.js:24
↓ 1 callers
Function
renderDeployPage
(options: { siteDomain: string; deployPath: string; })
internal-sites-template/src/ui.ts:70
↓ 1 callers
Method
renderEnsembleResult
(result)
nlweb-template/public/fp-chat-interface.js:855
↓ 1 callers
Method
renderEnsembleResult
(result)
nlweb-template/public/fp-chat-interface-snippet.js:889
↓ 1 callers
Function
renderHtml
(content: string)
d1-template/src/renderHtml.ts:1
↓ 1 callers
Function
renderIndexJson
(ctx: RenderCtx)
agent-visibility-template/src/enrichment/surfaces.ts:90
↓ 1 callers
Function
renderLlmsFullTxt
(ctx: RenderCtx)
agent-visibility-template/src/enrichment/surfaces.ts:71
↓ 1 callers
Function
renderLlmsTxt
(ctx: RenderCtx)
agent-visibility-template/src/enrichment/surfaces.ts:47
↓ 1 callers
Function
renderNotFound
(siteDomain: string, deployPath: string)
internal-sites-template/src/ui.ts:138
↓ 1 callers
Function
renderPage
( body: string, options?: { customDomain?: string }, )
workers-for-platforms-template/src/render.ts:1188
↓ 1 callers
Function
renderResourceJsonLd
(args: { resource: Resource; site: SiteConfig; })
agent-visibility-template/src/enrichment/surfaces.ts:213
↓ 1 callers
Function
renderRobotsTxt
(ctx: RenderCtx)
agent-visibility-template/src/enrichment/surfaces.ts:163
↓ 1 callers
Function
renderSetupPage
(request: Request, env: Env)
email-routing-template/src/index.ts:16
← previous
next →
601–700 of 10,210, ranked by callers