Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/opral/inlang
/ functions
Functions
1,233 in github.com/opral/inlang
⨍
Functions
1,233
◇
Types & classes
239
↓ 135 callers
Method
replace
(target: any)
packages/parrot-figma/src/ui/compontents/translationEditor/blots/List.tsx:124
↓ 72 callers
Method
setPluginData
(node: BaseNodeMixin, dataKey: string, data: string)
packages/parrot-figma/src/lib/migrations/MigrationManager.ts:289
↓ 71 callers
Function
loadProjectInMemory
( args: { blob: Blob; lixKeyValues?: NewKeyValue[]; } & Omit<Parameters<typeof loadProject>[0], "sqlite"
packages/sdk/src/project/loadProjectInMemory.ts:8
↓ 65 callers
Function
newProject
(args?: { settings?: ProjectSettings; })
packages/sdk/src/project/newProject.ts:15
↓ 57 callers
Function
parse
(sourceCode: string, _settings: PluginSettings)
packages/plugins/next-intl/src/ideExtension/messageReferenceMatchers.ts:36
↓ 49 callers
Function
createNodeishMemoryFs
()
packages/parrot-figma/src/lib/message/store/inlang/FigmaRootFs.ts:93
↓ 42 callers
Method
getPluginData
(key: string)
packages/parrot-figma/src/lib/localizedlabels/LocalizedLabelManager.ts:1722
↓ 37 callers
Function
getVariant
( message: Message, args: { where: { languageTag: string } } )
packages/plugins/next-intl/src/plugin.test.ts:25
↓ 37 callers
Function
loadProjectFromDirectory
( args: { /** * The path to the inlang project directory. */ path: string; /** * The file syst
packages/sdk/src/project/loadProjectFromDirectory.ts:30
↓ 33 callers
Function
parse
(sourceCode: string, settings: PluginSettings)
packages/plugins/i18next/src/ideExtension/messageReferenceMatchers.ts:255
↓ 31 callers
Function
saveProjectToDirectory
(args: { /** * The file system module to use for writing files. * * Accepts either `node:fs` or `node:f
packages/sdk/src/project/saveProjectToDirectory.ts:62
↓ 27 callers
Function
fetch
( request: Request, _env: unknown, ctx: { waitUntil: (promise: Promise<unknown>) => void }, )
packages/website-v2/src/worker.ts:16
↓ 27 callers
Function
runImportFiles
(json: Record<string, any>)
packages/plugins/inlang-message-format/src/import-export/roundtrip.test.ts:1119
↓ 26 callers
Function
runExportFilesParsed
( imported: any, settings: Record<string, unknown> = {} )
packages/plugins/inlang-message-format/src/import-export/roundtrip.test.ts:1170
↓ 25 callers
Function
parse
(sourceCode: string)
packages/plugins/m-function-matcher/src/ideExtension/messageReferenceMatchers.ts:264
↓ 23 callers
Method
getMessage
(id: string)
packages/parrot-figma/src/lib/message/store/MessageStoreMemory.ts:206
↓ 23 callers
Function
runExportFilesParsed
(imported: any, settings?: any)
packages/plugins/i18next/src/import-export/roundtrip.test.ts:1058
↓ 23 callers
Function
runImportFiles
(json: Record<string, any>, settings?: any)
packages/plugins/i18next/src/import-export/roundtrip.test.ts:1010
↓ 17 callers
Method
getRefLanugage
()
packages/parrot-figma/src/lib/message/store/MessageStoreMemory.ts:187
↓ 17 callers
Function
transformBundleId
(messageId: string)
packages/plugins/m-function-matcher/src/ideExtension/utils/transformBundleId.ts:1
↓ 16 callers
Function
parseMessage
(args: { messageSource: string; bundleId: string; locale: string; })
packages/plugins/icu1/src/parse.ts:52
↓ 16 callers
Function
runExportFilesParsed
(imported: { bundles: any[]; messages: any[]; variants: any[]; })
packages/plugins/icu1/src/roundtrip.test.ts:263
↓ 16 callers
Function
runImportFiles
( messagesByLocale: Record<string, Record<string, string>>, )
packages/plugins/icu1/src/roundtrip.test.ts:248
↓ 15 callers
Method
updateLabelProperties
( nodeId: string, changedProperties: { labelName?: string; messageState?: | { type: "linke
packages/parrot-figma/src/lib/localizedlabels/UILocalizedLabel.ts:26
↓ 14 callers
Method
addNode
(node: BaseNode, nodeId: string, parentNode?: BaseNode)
packages/parrot-figma/src/lib/localizedlabels/VirtualTree.ts:40
↓ 14 callers
Method
import
(messagesToImport: Message[], language: Locale)
packages/parrot-figma/src/lib/localizedlabels/LocalizedLabelManagerUI.ts:691
↓ 14 callers
Function
normalPath
* Removes extraneous dots and slashes, resolves relative paths and ensures the * path begins and ends with '/'
packages/parrot-figma/src/lib/message/store/inlang/FigmaRootFs.ts:356
↓ 14 callers
Function
replaceAll
(str: string, find: string, replace: string)
packages/plugins/json/src/utilities.ts:7
↓ 13 callers
Function
initDb
(args: { sqlite: SqliteWasmDatabase })
packages/sdk/src/database/initDb.ts:8
↓ 12 callers
Function
isCodeAt
(lexicalInfo: LexicalInfo, index: number)
packages/plugins/next-intl/src/ideExtension/messageReferenceMatchers.ts:826
↓ 12 callers
Function
parse
(sourceCode: string)
packages/plugins/t-function-matcher/src/ideExtension/messageReferenceMatchers.ts:86
↓ 12 callers
Method
refreshLabelMessageLinkCache
(textNodeId: string, messageId: string | undefined)
packages/parrot-figma/src/lib/localizedlabels/LocalizedLabelManager.ts:115
↓ 11 callers
Function
absolutePathFromProject
( projectPath: string, filePath: string )
packages/sdk/src/project/path-helpers.ts:48
↓ 11 callers
Function
add
(args: { fs: typeof import("node:fs/promises"); workingDirectory?: string; })
packages/recommendations/recommend-sherlock/src/index.ts:41
↓ 11 callers
Function
createChangeEvent
(detail: ChangeEventDetail)
packages/ui-components/editor-component/src/helper/event.ts:19
↓ 11 callers
Method
getRootPluginData
(key: string)
packages/parrot-figma/src/shared/FigmaUtil.ts:48
↓ 11 callers
Function
importFiles
(args: { files: ImportFile[]; readonly pluginKey: string; readonly settings: ProjectSettings; readonly plu
packages/sdk/src/import-export/importFiles.ts:11
↓ 11 callers
Method
register
()
packages/parrot-figma/src/ui/compontents/translationEditor/blots/MyList.tsx:43
↓ 10 callers
Method
format
(name: string, value: any)
packages/parrot-figma/src/ui/compontents/translationEditor/blots/List.tsx:83
↓ 10 callers
Function
getParaglideBlogRedirect
(slug: string)
packages/website-v2/src/blog/paraglideBlogRedirects.ts:6
↓ 10 callers
Function
loadMarketplacePage
({ uid, slug, splat, }: { uid: string; slug: string; splat?: string; })
packages/website-v2/src/marketplace/marketplaceData.ts:116
↓ 10 callers
Method
toLocalizedLabelOrUndefined
(node: TextNode)
packages/parrot-figma/src/lib/localizedlabels/LocalizedLabelManager.ts:1236
↓ 9 callers
Function
createMessage
(args: { bundleId: string; locale: ProjectSettings["locales"][number]; text: string; matches?: Match[]; })
packages/sdk/src/helper.ts:59
↓ 9 callers
Function
serializeMessage
(args: { bundle: Bundle; message: Message; variants: Variant[]; })
packages/plugins/icu1/src/serialize.ts:14
↓ 9 callers
Function
skipWhitespace
( sourceCode: string, start: number, lexicalInfo: LexicalInfo )
packages/plugins/next-intl/src/ideExtension/messageReferenceMatchers.ts:753
↓ 8 callers
Function
detectJsonFormatting
( file: string )
packages/sdk/src/utilities/detectJsonFormatting.ts:10
↓ 8 callers
Function
extractMarkdownDescription
(markdown: string)
packages/website-v2/src/marketplace/seo.ts:214
↓ 8 callers
Method
getSelection
(focus?: boolean)
packages/parrot-figma/src/lib/external/quill-react/index.tsx:67
↓ 8 callers
Method
remove
()
packages/parrot-figma/src/ui/compontents/translationEditor/blots/List.tsx:24
↓ 8 callers
Function
selectBundleNested
(db: Kysely<InlangDatabaseSchema>)
packages/sdk/src/query-utilities/selectBundleNested.ts:20
↓ 8 callers
Function
timeAgo
(dateString: string)
packages/fink/src/helper/timeAgo.ts:1
↓ 8 callers
Method
updateLabelProperties
* Updates the label with the given nodeId with provided changes and updates the cache * @param nodeId * @param changedProperties
packages/parrot-figma/src/lib/localizedlabels/LocalizedLabelManagerUI.ts:557
↓ 7 callers
Function
buildMessage
(messageSource: string)
packages/plugins/icu1/src/serialize.test.ts:11
↓ 7 callers
Method
commitUndo
()
packages/parrot-figma/src/lib/localizedlabels/LocalizedLabelManagerUI.ts:502
↓ 7 callers
Function
compareSemver
(left: string, right: string)
packages/sdk/src/project/meta.ts:51
↓ 7 callers
Function
getBasename
(path: string)
packages/parrot-figma/src/lib/message/store/inlang/FigmaRootFs.ts:343
↓ 7 callers
Function
getDirname
(path: string)
packages/parrot-figma/src/lib/message/store/inlang/FigmaRootFs.ts:333
↓ 7 callers
Function
getParaglideRedirectForPath
(pathname: string)
packages/website-v2/src/marketplace/legacyRedirects.ts:41
↓ 7 callers
Method
init
( sizeWrapperEl: HTMLElement, contentEl: HTMLElement, resizeHandelEl: HTMLElement, heightResizeHandleE
packages/parrot-figma/src/lib/windowManager/WindowManagerUI.ts:51
↓ 7 callers
Method
notifyError
(message: string)
packages/parrot-figma/src/shared/FigmaUtil.ts:86
↓ 7 callers
Function
onCancel
()
packages/parrot-figma/src/ui/compontents/textfield/TextField.tsx:52
↓ 7 callers
Function
pathExists
( filePath: string, nodeishFs: typeof import("node:fs/promises") )
packages/recommendations/recommend-sherlock/src/recommendation/utils/exists.ts:7
↓ 7 callers
Method
refreshCachedLabel
* @param label the label to create a cache entry for or refresh the existing one * @returns true if a refresh was needed
packages/parrot-figma/src/lib/localizedlabels/LocalizedLabelManagerUI.ts:64
↓ 7 callers
Method
registerInstance
(instance: any)
packages/parrot-figma/src/lib/rpc/AsyncFunctionProxy.ts:98
↓ 7 callers
Function
resolveRelativeUrl
( value: string, baseUrl: string, options: { appendMarkdownExtension?: boolean } = {}, )
packages/website-v2/src/marketplace/marketplaceData.ts:421
↓ 7 callers
Function
serializePattern
( pattern: Pattern, options: { inPlural: boolean }, )
packages/plugins/icu1/src/serialize.ts:394
↓ 7 callers
Method
toQueryObject
(searchString: string)
packages/parrot-figma/src/lib/message/store/MessageStoreMemory.ts:256
↓ 6 callers
Method
createRuleForField
(styleField: string)
packages/parrot-figma/src/lib/localizedlabels/lint/rules/MixedStyleNotSupported.ts:11
↓ 6 callers
Function
findMatchingDelimiter
( sourceCode: string, start: number, open: string, close: string, lexicalInfo: LexicalInfo )
packages/plugins/next-intl/src/ideExtension/messageReferenceMatchers.ts:732
↓ 6 callers
Method
findMessages
* what do we want to search * "emission" * - all messageNames with "emission" in their name * or * - all messageNames with "emission" in the
packages/parrot-figma/src/lib/message/store/MessageStoreMemory.ts:371
↓ 6 callers
Method
focus
()
packages/parrot-figma/src/lib/external/quill-react/index.tsx:518
↓ 6 callers
Function
getMarketplaceSubpageTitle
(input: MarketplaceHeadInput)
packages/website-v2/src/marketplace/seo.ts:40
↓ 6 callers
Function
importPlugins
(args: { lix: Lix; settings: ProjectSettings; preprocessPluginBeforeImport?: PreprocessPluginBeforeImportFu
packages/sdk/src/plugin/importPlugins.ts:16
↓ 6 callers
Function
isMarketplaceMirrorPage
( manifestId: string, pagePath: string, )
packages/website-v2/src/marketplace/marketplaceData.ts:109
↓ 6 callers
Method
proxyAsyncMethods
* monkey patches all async method of the given instnce and proxies calls via figmas postMessage to * sandbox or / the ui * * @param instance
packages/parrot-figma/src/lib/rpc/AsyncFunctionProxy.ts:56
↓ 6 callers
Function
resolveHtmlAssetLinks
( html: string, baseUrl?: string, pageLinkMap?: PageLinkMap, )
packages/website-v2/src/marketplace/marketplaceData.ts:364
↓ 6 callers
Function
setContainer
(pos: { height: number; top: number })
packages/parrot-figma/src/ui/compontents/select/select.tsx:225
↓ 6 callers
Function
skipWhitespace
(value: string, index: number)
packages/plugins/inlang-message-format/src/import-export/importFiles.ts:400
↓ 6 callers
Function
toAbsolutePath
* Convert relative paths to absolute paths based on the manifest link. * @param {string} baseUrl - The base URL of the manifest. * @param {string} r
packages/marketplace-registry/buildRegistry.js:79
↓ 6 callers
Method
upsertMessage
(message: Message, _defaultParameters: MessageParameterValues)
packages/parrot-figma/src/lib/message/store/MessageStoreMemory.ts:543
↓ 6 callers
Method
upsertVariantPatternHtml
( message: Message, sourceLanguage: Locale | undefined, language: Locale, match: string[], patternHt
packages/parrot-figma/src/lib/message/store/MessageStoreMemory.ts:683
↓ 5 callers
Function
buildMarketplaceSoftwareJsonLd
(input: SoftwareJsonLdInput)
packages/website-v2/src/marketplace/seo.ts:140
↓ 5 callers
Function
buildMarketplaceTitle
(input: MarketplaceHeadInput)
packages/website-v2/src/marketplace/seo.ts:8
↓ 5 callers
Function
getColor
(unformattedColor: string)
packages/ui-components/editor-component/src/helper/overridePrimitiveColors.ts:44
↓ 5 callers
Function
getColor
(unformattedColor: string)
packages/ui-components/settings-component/src/helper/overridePrimitiveColors.ts:40
↓ 5 callers
Method
getLanugages
()
packages/parrot-figma/src/lib/message/store/MessageStoreMemory.ts:168
↓ 5 callers
Function
getParaglideBlogRedirectForPath
(pathname: string)
packages/website-v2/src/blog/paraglideBlogRedirects.ts:14
↓ 5 callers
Method
getUser
(userId: string)
packages/parrot-figma/src/lib/usage/UsageManager.tsx:293
↓ 5 callers
Method
htmlForPattern
(message: Message, languageTag: string, match?: string[])
packages/parrot-figma/src/lib/message/store/MessageStoreMemory.ts:851
↓ 5 callers
Method
patternHtmlToPattern
(patternHtml: string)
packages/parrot-figma/src/lib/migrations/MigrationManager.ts:61
↓ 5 callers
Method
propagateState
(awaitLocalStateIntegrated = true)
packages/parrot-figma/src/lib/usage/UsageManager.tsx:165
↓ 5 callers
Function
readIdentifier
( value: string, index: number )
packages/plugins/inlang-message-format/src/import-export/importFiles.ts:414
↓ 5 callers
Function
runExportFiles
( imported: Awaited<ReturnType<typeof importFiles>>, settings: Record<string, unknown> = {} )
packages/plugins/inlang-message-format/src/import-export/roundtrip.test.ts:1132
↓ 5 callers
Function
runExportFiles
( imported: Awaited<ReturnType<typeof importFiles>>, settings?: any )
packages/plugins/i18next/src/import-export/roundtrip.test.ts:1023
↓ 5 callers
Function
shouldRecommend
(args: { fs: typeof import("node:fs/promises"); workingDirectory?: string; })
packages/recommendations/recommend-sherlock/src/index.ts:13
↓ 5 callers
Function
updateCurrentHighlightIndex
(newIndex: number | undefined)
packages/parrot-figma/src/ui/compontents/selectInput/inputselect.tsx:161
↓ 5 callers
Function
updateEntities
(args: { entities: { bundles: Bundle[]; messages: Message[]; variants: Variant[]; }; change:
packages/ui-components/editor-component/src/mock/updateEntities.ts:4
↓ 5 callers
Function
withCache
( moduleLoader: (uri: string) => Promise<string>, lix: Lix )
packages/sdk/src/plugin/cache.ts:60
↓ 5 callers
Function
withLanguageTagToLocaleMigration
( settings: ProjectSettings )
packages/sdk/src/migrations/v2/withLanguageTagToLocaleMigration.ts:9
↓ 4 callers
Function
Translatable
(type: T)
packages/marketplace-manifest/src/translatable.ts:49
next →
1–100 of 1,233, ranked by callers