Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/instantdb/instant
/ functions
Functions
5,261 in github.com/instantdb/instant
⨍
Functions
5,261
◇
Types & classes
528
↳
Endpoints
1
↓ 19 callers
Method
result
()
client/packages/cli/src/ui/lib.ts:296
↓ 19 callers
Function
sched
(fn: () => void, ms: number)
client/www/components/new-landing/BatteriesForAI.tsx:31
↓ 19 callers
Function
withCommand
(command: string)
client/packages/cli/src/lib/http.ts:29
↓ 18 callers
Method
_pendingMutations
()
client/packages/core/src/Reactor.js:916
↓ 18 callers
Function
addLine
(line: string)
client/packages/cli/src/renderSchemaPlan.ts:188
↓ 18 callers
Method
as_user
( self, *, email: str | None = None, token: str | None = None, guest:
client/packages/python/src/instantdb/_sync/client.py:59
↓ 18 callers
Method
getPresence
( roomType: RoomType, roomId: string, )
client/packages/admin/src/index.ts:475
↓ 18 callers
Function
mock_transport
Factory for an httpx MockTransport that captures requests. Usage: transport, captured = mock_transport(lambda req: httpx.Response(200, js
client/packages/python/tests/conftest.py:18
↓ 18 callers
Function
setInMap
(m: Map<any, any>, path: any[], value: any)
client/packages/core/src/store.ts:198
↓ 18 callers
Function
useLocalStorage
( k: string, defaultValue: T, saveDefaultValue = false, )
client/www/lib/hooks/useLocalStorage.tsx:30
↓ 18 callers
Method
waitForKeyToLoad
(k: K)
client/packages/core/src/utils/PersistedObject.ts:205
↓ 17 callers
Function
allMapValues
(m, level, res: any[] = [])
client/packages/core/src/store.ts:671
↓ 17 callers
Method
bind
(prompt: Prompt<any>)
client/packages/cli/src/ui/lib.ts:106
↓ 17 callers
Function
createTestingStream
()
client/packages/resumable-stream/__tests__/src/testing-stream.ts:1
↓ 17 callers
Function
expectTxType
( txSteps: MigrationTx[], type: keyof MigrationTxTypes, count?: number, )
client/packages/platform/__tests__/src/migrations.test.ts:58
↓ 17 callers
Method
removeItem
(k: string)
client/packages/react-native-mmkv/src/index.ts:33
↓ 16 callers
Function
checkIndexIntegrity
({ store, attrsStore, }: { store: Store; attrsStore: AttrsStore; })
client/packages/core/__tests__/src/store.test.ts:38
↓ 16 callers
Method
createToken
( input: string | { email: string } | { id: string }, )
client/packages/admin/src/index.ts:629
↓ 16 callers
Method
getAttr
(id: string)
client/packages/core/src/store.ts:55
↓ 16 callers
Method
post
( self, path: str, *, json: Any = None, params: dict[str, Any] | None
client/packages/python/src/instantdb/_async/http.py:85
↓ 16 callers
Function
setup
(props: any)
client/packages/cli/__tests__/multiSelect.test.ts:41
↓ 16 callers
Method
subscribeInfiniteQuery
* Subscribe to a query and incrementally load more items * * Only one top level namespace in the query is allowed. * @example * const { un
client/packages/core/src/index.ts:758
↓ 16 callers
Method
token
()
client/packages/platform/src/api.ts:1457
↓ 16 callers
Function
useDarkMode
()
client/www/components/dash/DarkModeToggle.tsx:19
↓ 16 callers
Function
useIsHydrated
()
client/www/lib/hooks/useIsHydrated.tsx:3
↓ 15 callers
Function
_http
()
client/packages/python/tests/test_streams_state.py:21
↓ 15 callers
Function
_prepare_upload
(file: FileSource, file_size: int | None)
client/packages/python/src/instantdb/_sync/_upload_io.py:56
↓ 15 callers
Function
addNumberItem
(db: any, value: number)
client/packages/core/__tests__/src/infiniteQuery.e2e.test.ts:5
↓ 15 callers
Method
helpers
* Schema-bound helpers for building typed handler maps. * * - `typedHandlers(namespace, action, handler)` builds a single typed entry. * Pa
client/packages/webhooks/src/index.ts:836
↓ 15 callers
Function
isObject
(val)
client/packages/core/src/utils/object.js:90
↓ 15 callers
Function
link
(url: string, text?: string)
client/packages/cli/src/logging.ts:36
↓ 15 callers
Method
loadNextPage
()
client/packages/solidjs/src/InstantSolidDatabase.ts:238
↓ 15 callers
Function
onClose
()
client/packages/components/src/components/ui.tsx:643
↓ 15 callers
Function
run
(effect: Effect.Effect<A, any, GlobalOpts>, yes: boolean)
client/packages/cli/__tests__/args.test.ts:7
↓ 15 callers
Method
unsubscribe
( hash: string, cb: SyncTableCallback<any, any, any>, keepSubscription: boolean | null | undefined
client/packages/core/src/SyncTable.ts:498
↓ 15 callers
Method
validate
* Verifies an `Instant-Signature` header against a body and returns the * parsed {@link WebhookBody} (containing the `payloadUrl` and a JWT * `t
client/packages/webhooks/src/index.ts:940
↓ 15 callers
Method
withRetry
( f: F, args: Parameters<F>, )
client/packages/platform/src/api.ts:1509
↓ 14 callers
Function
add
(flags: Map<string, string>, opts = { yes: true })
client/packages/cli/__tests__/authOriginManagement.test.ts:101
↓ 14 callers
Method
createReadStream
(opts)
client/packages/core/src/Reactor.js:912
↓ 14 callers
Function
createTestDir
()
client/packages/create-instant-app/__tests__/e2e/helpers.ts:75
↓ 14 callers
Function
extractLookup
(attrs: AttrsStore, etype: string, eid: string)
client/packages/core/src/instaml.ts:120
↓ 14 callers
Method
finally
(cb: () => void)
client/packages/platform/src/ProgressPromise.ts:94
↓ 14 callers
Function
getAttrByFwdIdentName
( attrsStore: AttrsStore, inputEtype: string, inputLabel: string, )
client/packages/core/src/store.ts:840
↓ 14 callers
Function
getCodeColors
(theme: Theme, message: string)
client/packages/create-instant-app/src/utils/logger.ts:4
↓ 14 callers
Method
getCurrentUser
* @param {{ forceReadFromStorage?: boolean }} [opts] * @returns {Promise<AuthState>}
client/packages/core/src/Reactor.js:2141
↓ 14 callers
Method
getLocalId
* Given a key, returns a stable local id, unique to this device and app. * * This can be useful if you want to create guest ids for example.
client/packages/core/src/Reactor.js:1895
↓ 14 callers
Function
makeWebhook
(overrides: any = {})
client/packages/cli/__tests__/webhooks.test.ts:85
↓ 14 callers
Method
merge
(self, args: dict[str, Any], opts: dict[str, Any] | None = None)
client/packages/python/src/instantdb/_transact.py:82
↓ 14 callers
Function
run
(flags: Map<string, string>, { yes }: { yes: boolean })
client/packages/cli/__tests__/authClientAddLinkedin.test.ts:68
↓ 14 callers
Function
runCreateInstantApp
( args: string[], opts: { env?: Record<string, string>; cwd?: string; timeout?: number; } =
client/packages/create-instant-app/__tests__/e2e/helpers.ts:21
↓ 14 callers
Method
stop
()
examples/ai-chat/src/components/ai-elements/speech-input.tsx:16
↓ 14 callers
Function
strOpts
(...values: string[])
client/packages/cli/__tests__/multiSelect.test.ts:48
↓ 13 callers
Method
_handle_message
(self, msg: dict[str, Any])
client/packages/python/src/instantdb/_async/subscribe.py:144
↓ 13 callers
Function
apiSchemaToInstantSchemaDef
( apiSchema: InstantAPIPlatformSchema, )
client/packages/platform/src/api.ts:446
↓ 13 callers
Function
createDotName
(step: MigrationTx)
client/packages/cli/src/renderSchemaPlan.ts:171
↓ 13 callers
Function
isMinRole
(minRole: Role, role: Role)
client/www/pages/dash/index.tsx:191
↓ 13 callers
Function
onChange
(v: Schema[typeof name])
client/www/lib/hooks/useForm.tsx:108
↓ 13 callers
Function
stem
(word: string)
client/www/components/essays/sketch/sketch.ts:3
↓ 13 callers
Method
toggleCursor
(state: 'hide' | 'show')
client/packages/cli/src/ui/lib.ts:148
↓ 13 callers
Function
useExplorerProps
()
client/packages/components/src/components/explorer/index.tsx:60
↓ 13 callers
Function
useWebhooksManager
( fun: (manager: WebhooksManager<any>) => Promise<R>, errorMessage?: string, )
client/packages/cli/src/lib/webhooks.ts:27
↓ 12 callers
Function
addNumberItems
(db: any, values: number[])
client/packages/core/__tests__/src/infiniteQuery.e2e.test.ts:9
↓ 12 callers
Method
close
()
client/packages/core/src/Connection.ts:56
↓ 12 callers
Method
createWriteStream
(opts)
client/packages/core/src/Reactor.js:908
↓ 12 callers
Function
idbSnapshot
(idb, { includeMeta })
client/packages/core/__tests__/src/utils/PersistedObject.test.ts:8
↓ 12 callers
Function
init
* * The first step: init your application! * * Visit https://instantdb.com/dash to get your `appId` :) * * @example * import { init } from "@in
client/packages/core/src/index.ts:967
↓ 12 callers
Function
init
* * The first step: init your application! * * Visit https://instantdb.com/dash to get your `appId` :) * * @example * import { init } from "@in
client/packages/react-native/src/index.ts:128
↓ 12 callers
Function
jsonFetch
( input: RequestInfo, init: RequestInit | undefined, )
client/packages/core/src/utils/fetch.ts:120
↓ 12 callers
Function
run
(flags: Map<string, string>, { yes }: { yes: boolean })
client/packages/cli/__tests__/authClientAddGithub.test.ts:62
↓ 12 callers
Function
setup
(props: any)
client/packages/cli/__tests__/select.test.ts:24
↓ 12 callers
Function
toNum
(v: unknown)
client/www/lib/cel.ts:76
↓ 12 callers
Function
useAuthedFetch
(path: string)
client/www/lib/auth.ts:93
↓ 12 callers
Function
without
(flags: Map<string, string>, key: string)
client/packages/cli/__tests__/authClientAddApple.test.ts:104
↓ 11 callers
Function
coerceToDate
(x: unknown)
client/packages/core/src/utils/dates.ts:234
↓ 11 callers
Function
displayValue
(x: any)
client/sandbox/react-nextjs/pages/play/pagination.tsx:226
↓ 11 callers
Function
fetch
()
examples/bun-react/src/getUnusedPort.ts:23
↓ 11 callers
Function
hash
(s: string)
client/packages/mcp/src/crypto.ts:3
↓ 11 callers
Function
makeIcon
(Icon: typeof HomeIcon)
client/www/pages/dash/index.tsx:161
↓ 11 callers
Function
record
( namespace: 'posts' | 'comments', action: 'create' | 'update' | 'delete', id = 'r1', )
client/packages/webhooks/__tests__/src/processPayload.test.ts:18
↓ 11 callers
Method
signInWithIdToken
* @param {Object} params * @param {string} params.clientName - The name of the client requesting authorization. * @param {string} params.idToken
client/packages/core/src/Reactor.js:2408
↓ 11 callers
Function
twel
(el: string, cls: ClassValue[] | ClassValue)
client/packages/components/src/components/ui.tsx:1409
↓ 10 callers
Method
#authedFetch
( path: string, opts?: { method?: string; body?: unknown }, )
client/packages/webhooks/src/index.ts:602
↓ 10 callers
Method
_gc
()
client/packages/core/src/utils/PersistedObject.ts:355
↓ 10 callers
Method
_headers
( self, *, unauthenticated: bool = False, admin_only: bool = False )
client/packages/python/src/instantdb/_sync/http.py:53
↓ 10 callers
Function
_writer
()
client/packages/python/tests/test_streams_state.py:25
↓ 10 callers
Function
addMessage
(text: string)
client/sandbox/react-nextjs/pages/play/sync-table.tsx:270
↓ 10 callers
Function
api_error_from_response
(response: httpx.Response)
client/packages/python/src/instantdb/_http_errors.py:15
↓ 10 callers
Function
buildManager
( overrides: { list?: any[]; createReturns?: any; updateReturns?: any; deleteReturns?: any;
client/packages/cli/__tests__/webhooks.test.ts:120
↓ 10 callers
Method
createAuthorizationURL
* Creates an OAuth authorization URL. * * @param {Object} params - The parameters to create the authorization URL. * @param {string} params.c
client/packages/core/src/Reactor.js:2355
↓ 10 callers
Function
createStore
( attrsStore: AttrsStore, triples: Triple[], enableCardinalityInference?: boolean | null, useDateObjec
client/packages/core/src/store.ts:315
↓ 10 callers
Function
deleteInMap
(m, path)
client/packages/core/src/store.ts:187
↓ 10 callers
Function
error
(firstArg, ...rest)
client/packages/cli/src/old.js:22
↓ 10 callers
Function
eventsPage
( events: any[], hasNextPage = false, endCursor: string | null = null, )
client/packages/cli/__tests__/webhooks.test.ts:107
↓ 10 callers
Function
exceptionToast
(e: unknown, backupMsg: string)
client/www/components/dash/OAuthApps.tsx:319
↓ 10 callers
Function
format
(code: string)
client/packages/platform/__tests__/src/typescript-schema.test.ts:20
↓ 10 callers
Function
formatValue
(v: unknown)
client/www/app/api/webhooks/config/route.ts:40
↓ 10 callers
Function
generateSchemaTypescriptFile
( prevSchema: GenericSchemaDef | null | undefined, newSchema: GenericSchemaDef, instantModuleName: strin
client/packages/platform/src/schema.ts:361
↓ 10 callers
Function
getFilePubSub
()
client/sandbox/react-nextjs/lib/file-pubsub.ts:35
↓ 10 callers
Function
makeEvent
(overrides: any = {})
client/packages/cli/__tests__/webhooks.test.ts:97
↓ 10 callers
Method
open
()
client/packages/react-native/src/EventSourceShim.ts:68
← previous
next →
101–200 of 5,261, ranked by callers