Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/aliasvault/aliasvault
/ functions
Functions
2,136 in github.com/aliasvault/aliasvault
⨍
Functions
2,136
◇
Types & classes
262
↓ 1,545 callers
Function
t
( key: string, fallback?: string )
apps/browser-extension/src/i18n/StandaloneI18n.ts:47
↓ 142 callers
Function
useTranslation
()
apps/mobile-app/hooks/useTranslation.ts:8
↓ 109 callers
Method
create
* Create a new item with its fields and related entities. * @param item - The item to create * @param attachments - Array of attachments to crea
apps/mobile-app/utils/db/repositories/ItemRepository.ts:354
↓ 108 callers
Function
testField
(fieldName: FormField, elementId: string, htmlFile: string)
apps/browser-extension/src/utils/formDetector/__tests__/TestUtils.ts:77
↓ 94 callers
Function
useColors
()
apps/mobile-app/hooks/useColorScheme.ts:50
↓ 79 callers
Method
get
* Issue GET request to the API.
apps/browser-extension/src/utils/WebApiService.ts:170
↓ 63 callers
Function
createTestDom
(htmlFile: string)
apps/browser-extension/src/utils/formDetector/__tests__/TestUtils.ts:37
↓ 61 callers
Method
screenshot
* Take a screenshot.
apps/browser-extension/tests/fixtures/TestClient.ts:473
↓ 52 callers
Method
getForm
* Detect login forms on the page based on the clicked element.
apps/browser-extension/src/utils/formDetector/FormDetector.ts:96
↓ 47 callers
Method
executeUpdate
(query: string, params:(string | number | null)[])
apps/mobile-app/specs/NativeVaultManager.ts:41
↓ 47 callers
Method
get
* Issue GET request to the API.
apps/mobile-app/utils/WebApiService.ts:199
↓ 46 callers
Method
executeUpdate
(query: string, params?: SqliteBindValue[])
apps/mobile-app/utils/db/BaseRepository.ts:13
↓ 44 callers
Function
formatErrorWithCode
(message: string, code: AppErrorCode)
apps/browser-extension/src/utils/types/errors/AppErrorCodes.ts:108
↓ 42 callers
Function
getFieldValue
(item: Item, fieldKey: string)
core/models/src/vault/ItemMethods.ts:14
↓ 41 callers
Method
initialize
* Initialize the login detector. * Sets up event listeners for form submissions.
apps/browser-extension/src/utils/loginDetector/LoginDetector.ts:46
↓ 39 callers
Function
createTestEnvironment
( html: string, url: string = 'https://example.com/login' )
apps/browser-extension/src/utils/loginDetector/__tests__/TestUtils.ts:75
↓ 39 callers
Method
onLoginCapture
* Register a callback to be called when a login is captured. * Returns an unsubscribe function. * @param callback - The callback function to reg
apps/browser-extension/src/utils/loginDetector/LoginDetector.ts:91
↓ 39 callers
Function
setGlobalWindow
(window: JSDOM['window'])
apps/browser-extension/src/utils/loginDetector/__tests__/TestUtils.ts:116
↓ 35 callers
Method
containsLoginForm
* Detect login forms on the page based on the clicked element.
apps/browser-extension/src/utils/formDetector/FormDetector.ts:52
↓ 35 callers
Method
executeQuery
(query: string, params: (string | number | null)[])
apps/mobile-app/specs/NativeVaultManager.ts:40
↓ 33 callers
Function
useDb
()
apps/browser-extension/src/entrypoints/popup/context/DbContext.tsx:431
↓ 33 callers
Function
useDb
()
apps/mobile-app/context/DbContext.tsx:326
↓ 30 callers
Method
goToVault
* Navigate to the vault tab.
apps/browser-extension/tests/fixtures/TestClient.ts:188
↓ 29 callers
Method
createPasskey
* Create a new passkey (registration).
apps/browser-extension/src/utils/passkey/PasskeyAuthenticator.ts:62
↓ 29 callers
Method
delete
* Issue DELETE request to the API.
apps/browser-extension/src/utils/WebApiService.ts:228
↓ 28 callers
Function
removeExistingPopup
(container: HTMLElement)
apps/browser-extension/src/entrypoints/contentScript/Popup.ts:800
↓ 28 callers
Function
wasTriggerCalledFor
(mockTriggerInputEvents: ReturnType<typeof vi.fn>, field: HTMLElement | null)
apps/browser-extension/src/utils/formDetector/__tests__/TestUtils.ts:255
↓ 27 callers
Method
close
* Close the database connection and free resources.
apps/browser-extension/src/utils/SqliteClient.ts:306
↓ 26 callers
Method
getAll
* Fetch all active items with their dynamic fields and tags. * @returns Array of Item objects (empty array if Items table doesn't exist yet)
apps/browser-extension/src/utils/db/repositories/ItemRepository.ts:77
↓ 26 callers
Function
useLoading
()
apps/browser-extension/src/entrypoints/popup/context/LoadingContext.tsx:75
↓ 24 callers
Method
isAutofillTriggerableField
* Check if a field is an autofill-triggerable field (username, email, or password).
apps/browser-extension/src/utils/formDetector/FormDetector.ts:1573
↓ 22 callers
Method
create
* Create a new item with field-based structure. * @param item The item object to insert * @param attachments Optional attachments to associate w
apps/browser-extension/src/utils/db/repositories/ItemRepository.ts:182
↓ 22 callers
Method
fillFields
* Fill the fields of the form with the given credential. * @param credential The credential to fill the form with.
apps/browser-extension/src/utils/formDetector/FormFiller.ts:29
↓ 22 callers
Method
symmetricDecrypt
* Decrypts data using AES-GCM symmetric encryption
apps/browser-extension/src/utils/EncryptionUtility.ts:94
↓ 21 callers
Function
escapeCsvValue
(value: string)
apps/mobile-app/app/(tabs)/settings/import-export.tsx:203
↓ 21 callers
Function
removeSavePrompt
(clearPersisted: boolean = true)
apps/browser-extension/src/entrypoints/contentScript/SavePrompt.ts:241
↓ 21 callers
Function
useDialog
()
apps/mobile-app/context/DialogContext.tsx:67
↓ 21 callers
Method
verifyCredentialExists
* Verify a credential with the given name is visible in the popup. * * Called from multiple views (the items list, and the detail/view page righ
apps/browser-extension/tests/fixtures/TestClient.ts:370
↓ 20 callers
Function
createVaultSqliteClient
()
apps/browser-extension/src/entrypoints/background/VaultMessageHandler.ts:857
↓ 20 callers
Method
delete
* Issue DELETE request to the API.
apps/mobile-app/utils/WebApiService.ts:282
↓ 20 callers
Function
hideLoading
()
apps/browser-extension/src/entrypoints/popup/context/LoadingContext.tsx:47
↓ 19 callers
Method
getSuggestedServiceName
* Get suggested service names from the page title and URL. * Returns an array with two suggestions: the primary name and the domain name as an alte
apps/browser-extension/src/utils/formDetector/FormDetector.ts:109
↓ 19 callers
Function
handleGetEncryptionKey
( )
apps/browser-extension/src/entrypoints/background/VaultMessageHandler.ts:626
↓ 18 callers
Method
hasPendingMigrations
* Check if there are pending migrations. * @returns True if there are pending migrations
apps/browser-extension/src/utils/SqliteClient.ts:381
↓ 18 callers
Function
matchAvailableLanguage
( appLanguage: string | null | undefined, availableCodes: string[] )
core/models/src/defaults/Languages.ts:85
↓ 17 callers
Function
checkVersionCompatibility
( databaseVersion: string, clientVersionToCompare?: string )
core/vault/src/utils/VersionCompatibility.ts:77
↓ 16 callers
Function
createTestDocument
(title: string, url: string)
apps/browser-extension/src/utils/formDetector/__tests__/TestUtils.ts:50
↓ 16 callers
Function
escapeFieldKey
* Escape dots in field keys for use in CSS selectors. * CSS attribute selectors need dots escaped with backslash.
apps/browser-extension/tests/fixtures/selectors.ts:39
↓ 15 callers
Function
ensureDir
* Ensure directory exists
core/models/scripts/generate-field-keys.cjs:1015
↓ 15 callers
Function
fromBase64url
* Helper function to decode base64url strings
apps/browser-extension/src/utils/passkey/__tests__/AliasVaultPasskeyProvider.test.ts:10
↓ 15 callers
Method
getAssertion
* Create an assertion (authentication). * Returns assertion data ready for the browser extension to return to the RP.
apps/browser-extension/src/utils/passkey/PasskeyAuthenticator.ts:200
↓ 15 callers
Function
getFieldValueAsString
(item: Item, fieldKey: string)
apps/mobile-app/app/(tabs)/settings/import-export.tsx:97
↓ 15 callers
Function
initRustCore
* Initialize the Rust WASM module. * @returns {Promise<boolean>} True if initialization succeeded.
apps/server/AliasVault.Client/wwwroot/js/rustCoreInterop.js:46
↓ 15 callers
Method
login
* Login with username and password.
apps/browser-extension/tests/fixtures/TestClient.ts:139
↓ 15 callers
Method
versionGreaterThanOrEqualTo
* Checks if version1 is greater than or equal to version2, following SemVer rules. * Pre-release versions (e.g., -alpha, -beta) are considered lowe
apps/browser-extension/src/utils/AppInfo.ts:83
↓ 14 callers
Function
convertAgeRangeToBirthdateOptions
(ageRange: string)
core/typescript/identity-generator/src/utils/AgeRangeConverter.ts:42
↓ 14 callers
Function
getLanguageInfo
(code: string)
core/models/src/defaults/Languages.ts:63
↓ 14 callers
Function
useApp
()
apps/mobile-app/context/AppContext.tsx:142
↓ 14 callers
Function
useNavigation
()
apps/mobile-app/context/NavigationContext.tsx:244
↓ 13 callers
Function
addReliableClickHandler
* Add click handler with mousedown/mouseup backup for better click reliability in shadow DOM. * Now includes optional security validation. * * Some
apps/browser-extension/src/entrypoints/contentScript/Popup.ts:1552
↓ 13 callers
Function
buildInput
(html: string)
apps/browser-extension/src/utils/autofill/__tests__/Autofill.test.ts:9
↓ 13 callers
Method
concat
* Concatenate typed arrays. * @param chunks - Arrays to concatenate * @returns Concatenated array
apps/browser-extension/src/utils/passkey/PasskeyAuthenticator.ts:634
↓ 13 callers
Function
dispatchResponse
(detail: any)
apps/browser-extension/src/entrypoints/contentScript/WebAuthnInterceptor.ts:94
↓ 13 callers
Method
findInputField
* Find a single input/select element based on common patterns in its attributes.
apps/browser-extension/src/utils/formDetector/FormDetector.ts:927
↓ 13 callers
Method
isPopup
* Check if the current page is an expanded popup. * Uses both URL parameter detection and window width as fallback.
apps/browser-extension/src/entrypoints/popup/utils/PopoutUtility.ts:9
↓ 13 callers
Function
mergeEntries
* Merge per-field-type entries (include + optional exclude) from one or more * languages, deduping each list while preserving original order. The spe
apps/browser-extension/src/utils/formDetector/FieldPatterns.ts:339
↓ 13 callers
Method
normalizeBirthDate
* Normalize a birth date to the standard format: "yyyy-MM-dd". * Handles various input formats including ISO strings with time components. * Ret
core/typescript/identity-generator/src/utils/IdentityHelperUtils.ts:10
↓ 13 callers
Function
useWebApi
()
apps/mobile-app/context/WebApiContext.tsx:35
↓ 12 callers
Function
base64ToBuffer
* Helper to convert ArrayBuffer to base64
apps/browser-extension/src/entrypoints/webauthn.ts:57
↓ 12 callers
Method
create
* Create a new TestClient with a fresh browser context.
apps/browser-extension/tests/fixtures/TestClient.ts:52
↓ 12 callers
Method
destroy
* Clean up event listeners and observers.
apps/browser-extension/src/utils/loginDetector/LoginDetector.ts:66
↓ 12 callers
Method
emit
* Emit a logout event to all listeners. * * @param errorTranslationKey - The translation key of the error message to emit.
apps/mobile-app/events/LogoutEventEmitter.ts:26
↓ 12 callers
Method
generateRandomIdentity
(gender?: string | 'random', birthdateOptions?: IBirthdateOptions | null)
core/typescript/identity-generator/src/interfaces/IIdentityGenerator.ts:20
↓ 12 callers
Function
hasPendingConditionalRequest
()
apps/browser-extension/src/entrypoints/contentScript/ConditionalPasskey.ts:105
↓ 12 callers
Method
impact
* Triggers impact haptic feedback (for button presses, toggles, etc.) * Automatically checks if the platform supports haptics (iOS/Android). *
apps/mobile-app/utils/HapticsUtility.ts:23
↓ 12 callers
Method
put
* Issue PUT request to the API.
apps/mobile-app/utils/WebApiService.ts:269
↓ 12 callers
Method
symmetricDecrypt
* Decrypts data using AES-GCM symmetric encryption
apps/mobile-app/utils/EncryptionUtility.ts:75
↓ 12 callers
Function
useHeaderButtons
()
apps/browser-extension/src/entrypoints/popup/context/HeaderButtonsContext.tsx:48
↓ 11 callers
Method
getDetectedFieldType
* Get the detected field type for the clicked element. * Returns a DetectedFieldType enum value if detected, null otherwise. * First checks for
apps/browser-extension/src/utils/formDetector/FormDetector.ts:1583
↓ 11 callers
Function
getSystemField
(fieldKey: string)
core/models/src/vault/SystemFieldRegistry.ts:269
↓ 11 callers
Function
isActive
(filter: ItemFilterType)
apps/mobile-app/components/items/ItemFilterMenu.tsx:173
↓ 11 callers
Function
isAvAutofillAllowed
(element: Element | null)
apps/browser-extension/src/utils/autofill/Autofill.ts:22
↓ 11 callers
Function
useApp
()
apps/browser-extension/src/entrypoints/popup/context/AppContext.tsx:134
↓ 11 callers
Function
useVaultMutate
()
apps/mobile-app/hooks/useVaultMutate.ts:37
↓ 10 callers
Method
cborText
* Encode a string as CBOR text.
apps/browser-extension/src/utils/passkey/PasskeyAuthenticator.ts:474
↓ 10 callers
Method
cleanup
* Clean up resources (close popup and context).
apps/browser-extension/tests/fixtures/TestClient.ts:489
↓ 10 callers
Method
generatePassword
(settingsJson: string)
apps/mobile-app/specs/NativeVaultManager.ts:140
↓ 10 callers
Method
getLatestVersion
* Get current/latest vault version info
core/vault/src/sql/VaultSqlGenerator.ts:234
↓ 10 callers
Function
isFieldShownByDefault
(field: SystemFieldDefinition, itemType: ItemType)
core/models/src/vault/SystemFieldRegistry.ts:299
↓ 10 callers
Method
notification
* Triggers notification haptic feedback (for success, error, warning states). * Automatically checks if the platform supports haptics (iOS/Android)
apps/mobile-app/utils/HapticsUtility.ts:34
↓ 10 callers
Function
registerConditionalPasskeyRequest
(request: PendingConditionalRequest)
apps/browser-extension/src/entrypoints/contentScript/ConditionalPasskey.ts:59
↓ 10 callers
Method
storeEncryptionKey
(base64EncryptionKey: string)
apps/mobile-app/specs/NativeVaultManager.ts:57
↓ 10 callers
Method
symmetricEncrypt
* Encrypts data using AES-GCM symmetric encryption
apps/browser-extension/src/utils/EncryptionUtility.ts:54
↓ 10 callers
Method
triggerSync
* Navigate to root to trigger a fresh sync. * Waits for the sync indicator to disappear before returning.
apps/browser-extension/tests/fixtures/TestClient.ts:208
↓ 10 callers
Method
unlockVault
()
apps/mobile-app/specs/NativeVaultManager.ts:24
↓ 10 callers
Function
useMinDurationLoading
( initialState: boolean, minDuration: number )
apps/mobile-app/hooks/useMinDurationLoading.ts:10
↓ 10 callers
Function
useWebApi
()
apps/browser-extension/src/entrypoints/popup/context/WebApiContext.tsx:35
↓ 9 callers
Function
bufferToBase64
* Helper to convert ArrayBuffer to base64
apps/browser-extension/src/entrypoints/webauthn.ts:43
↓ 9 callers
Function
buildRequest
* Build a pending conditional request with a spy `respond` callback. * * @param respond - Spy used to assert the page promise is settled. * @param
apps/browser-extension/src/entrypoints/contentScript/__tests__/ConditionalPasskey.test.ts:31
↓ 9 callers
Function
checkCryptoAvailable
* Check if crypto API is available and throw user-friendly error if not.
apps/server/AliasVault.Client/wwwroot/js/encryption-utils.js:16
next →
1–100 of 2,136, ranked by callers