Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Fryuni/inox-tools
/ functions
Functions
445 in github.com/Fryuni/inox-tools
⨍
Functions
445
◇
Types & classes
75
↓ 125 callers
Method
get
* Gets the lazily computed value, creating it if necessary. * * @returns The computed value * @throws Error if a circular dependency is detected
packages/utils/src/lazy.ts:76
↓ 62 callers
Method
of
* Creates a new Lazy instance from a factory function. * * @param factory - A function that produces the value when first accessed * @returns A
packages/utils/src/lazy.ts:56
↓ 45 callers
Function
log
(opts, level, label, message)
packages/runtime-logger/template/loggerStub.mjs:48
↓ 36 callers
Function
inspectInlineMod
(options: ModuleOptions)
packages/inline-mod/src/inlining.ts:20
↓ 34 callers
Method
add
(key: K, entry: Entry)
packages/inline-mod/src/closure/entry.ts:111
↓ 31 callers
Method
get
(srcName: string)
packages/inline-mod/src/closure/package.ts:240
↓ 26 callers
Function
resolvedAtom
(value: T, batch = false)
packages/utils/src/nano.ts:79
↓ 25 callers
Function
visitParents
({ tree, test, enter: enterVisitor, leave: leaveVisitor, reverse, }: Options<Tree, Check>)
packages/utils/src/unist/visit.ts:28
↓ 20 callers
Method
inspect
( value: unknown, capturedProperties?: CapturedPropertyChain[] )
packages/inline-mod/src/closure/inspectCode.ts:123
↓ 18 callers
Function
loadFixture
({ root, ...remaining }: InlineConfig)
packages/astro-tests/src/astroFixture.ts:176
↓ 18 callers
Method
lookup
(key: K)
packages/inline-mod/src/closure/entry.ts:90
↓ 17 callers
Method
entryToReference
(envEntry: Entry, varName: string, requireReference = false)
packages/inline-mod/src/closure/serialization.ts:104
↓ 17 callers
Function
walk
(node: ts.Node | undefined)
packages/inline-mod/src/closure/parseFunction.ts:365
↓ 14 callers
Method
emitCode
(entry: Entry | InspectedObject, code: string)
packages/inline-mod/src/closure/serialization.ts:535
↓ 13 callers
Method
error
(message: string)
packages/route-config/tests/utils.ts:45
↓ 13 callers
Function
resolve
(value)
packages/inline-mod/src/closure/inspectCode.ts:1191
↓ 11 callers
Method
attach
* Registers a callback to be executed when, and if, the lazy value is computed. * If the value is already computed, the callback is invoked immediat
packages/utils/src/lazy.ts:142
↓ 9 callers
Method
createEnvVarName
(baseName: string, addIndexAtEnd: boolean)
packages/inline-mod/src/closure/serialization.ts:482
↓ 9 callers
Function
log
(msg)
docs/scripts/index-orama.mjs:39
↓ 9 callers
Method
resolve
(this: LazyValue<T>, value: T)
packages/inline-mod/src/closure/inspectCode.ts:1167
↓ 9 callers
Function
shared
(name: string, store: A)
packages/request-nanostores/src/runtime/client.ts:8
↓ 8 callers
Function
defineCollection
( config: CollectionConfig<S> )
packages/content-utils/src/runtime/fancyContent.ts:45
↓ 8 callers
Function
requestNanostores
()
packages/request-nanostores/src/index.ts:5
↓ 8 callers
Method
then
* Implements Promise.then() for Promise compatibility. * Allows the Lazy instance to be awaited.
packages/utils/src/lazy.ts:107
↓ 7 callers
Method
catch
* Implements Promise.catch() for Promise compatibility.
packages/utils/src/lazy.ts:119
↓ 7 callers
Method
chain
* Creates a new Lazy that transforms this value using the provided function. * The new Lazy is automatically evaluated when this one is evaluated.
packages/utils/src/lazy.ts:160
↓ 7 callers
Function
getOwnPropertyDescriptors
(obj: any)
packages/inline-mod/src/closure/inspectCode.ts:809
↓ 7 callers
Function
hoistImport
({ magicImport, currentModule, code, logger, }: HoistOptions)
packages/route-config/src/hoistGlobalPlugin.ts:55
↓ 7 callers
Function
loadPath
(path: string)
packages/portal-gun/tests/common.ts:4
↓ 7 callers
Function
makeFunctionDeclaration
( v: string, isAsync: boolean, isFunctionDeclaration: boolean )
packages/inline-mod/src/closure/parseFunction.ts:256
↓ 6 callers
Method
addGlobalInfo
(key: string)
packages/inline-mod/src/closure/inspectCode.ts:1264
↓ 6 callers
Method
addUnchecked
(key: K, entry: Entry)
packages/inline-mod/src/closure/entry.ts:141
↓ 6 callers
Function
loadAstroFixture
(name: string)
packages/route-config/tests/utils.ts:9
↓ 6 callers
Function
requestState
()
packages/request-state/src/index.ts:4
↓ 6 callers
Method
warn
(message: string)
packages/route-config/tests/utils.ts:42
↓ 5 callers
Method
debug
(message: string)
packages/route-config/tests/utils.ts:48
↓ 5 callers
Function
getOwnProperty
(obj: any, descriptor: ClosurePropertyDescriptor)
packages/inline-mod/src/closure/inspectCode.ts:851
↓ 5 callers
Function
makeFancy
()
packages/content-utils/tests/injector-runtime.test.ts:33
↓ 5 callers
Method
remove
(key: K)
packages/inline-mod/src/closure/entry.ts:151
↓ 5 callers
Function
resolveProjectPath
(path: string)
packages/astro-tests/src/astroFixture.ts:270
↓ 5 callers
Function
visitBaseFunction
(node: ts.FunctionLikeDeclarationBase)
packages/inline-mod/src/closure/parseFunction.ts:397
↓ 4 callers
Function
astroWhen
()
packages/astro-when/src/index.ts:12
↓ 4 callers
Method
attachAll
* Attaches a callback that is invoked when all lazy values in the array are evaluated. * The callback receives all values as arguments in order. *
packages/utils/src/lazy.ts:213
↓ 4 callers
Method
bar
()
packages/inline-mod/tests/classes.test.ts:7
↓ 4 callers
Function
combineProperties
( existing: CapturedPropertyChain[] | undefined, current: CapturedPropertyChain | undefined )
packages/inline-mod/src/closure/parseFunction.ts:573
↓ 4 callers
Function
ensureFactoryInitialized
(magicValue: MagicPlaceholder<T>)
packages/inline-mod/src/closure/inspectCode.ts:1065
↓ 4 callers
Function
factory
(factoryFn: () => T)
packages/inline-mod/src/index.ts:8
↓ 4 callers
Function
generateRandomValue
(penalty = 0)
packages/inline-mod/tests/e2e.bench.ts:39
↓ 4 callers
Function
getDebug
(name?: string)
packages/content-utils/src/internal/debug.ts:5
↓ 4 callers
Function
getLogger
(name: string)
packages/inline-mod/src/log.ts:5
↓ 4 callers
Function
injectCollections
( collections: Record<string, CollectionConfig> )
packages/content-utils/src/runtime/injector.ts:10
↓ 4 callers
Function
inlineModule
(options: ModuleOptions)
packages/inline-mod/src/vite.ts:36
↓ 4 callers
Function
nameWalk
(n: ts.BindingName | undefined, isVar: boolean)
packages/inline-mod/src/closure/parseFunction.ts:835
↓ 4 callers
Function
runtimeLogger
( params: IntegrationFromSetup & { logger: AstroIntegrationLogger }, options: { name: string } )
packages/runtime-logger/src/index.ts:41
↓ 4 callers
Function
setNestedIfNullish
( obj: T, prop: P, value: Extract<NodeEntries<T>, { key: P }>['value'] )
packages/utils/src/values.ts:106
↓ 4 callers
Function
setState
(key: string, value: unknown)
packages/request-state/src/runtime/serverState.ts:22
↓ 4 callers
Function
trimSlashes
(input: string)
packages/sitemap-ext/index.ts:191
↓ 3 callers
Method
attachOne
* Registers a callback for a specific key only. * The callback is invoked when the value for that key is created. * @param key - The key to watch
packages/utils/src/lazy.ts:360
↓ 3 callers
Function
defineModule
(name: string, options: ModuleOptions)
packages/inline-mod/src/vite.ts:44
↓ 3 callers
Method
ensureInitialized
()
packages/utils/src/lazy.ts:95
↓ 3 callers
Method
fork
()
packages/inline-mod/src/closure/entry.ts:156
↓ 3 callers
Method
get
* Gets the value for the given key, creating it if necessary. * @param key - The key to look up or create * @returns The value associated with the
packages/utils/src/lazy.ts:294
↓ 3 callers
Function
getEntryGitInfoInner
( args: Parameters<typeof getEntry> )
packages/content-utils/src/runtime/liveGit.ts:7
↓ 3 callers
Function
getNameOrSymbol
(descriptor: ClosurePropertyDescriptor)
packages/inline-mod/src/closure/inspectCode.ts:843
↓ 3 callers
Method
getResponse
()
packages/cut-short/src/internal/carrier.ts:8
↓ 3 callers
Function
getState
(key: string, valueIfMissing?: unknown)
packages/request-state/src/runtime/serverState.ts:8
↓ 3 callers
Function
loadRouteConfigCallbacks
(logger: AstroIntegrationLogger)
packages/route-config/src/contextResolution.ts:28
↓ 3 callers
Function
magicFactory
({ initialValue, isAsync, fn, }: { initialValue?: T; isAsync: boolean; fn: T | (() => T); })
packages/inline-mod/src/closure/inspectCode.ts:1127
↓ 3 callers
Function
makeDecision
( decision: boolean, route: RouteData, routeParams: Record<string, string | undefined>[] = [] )
packages/sitemap-ext/index.ts:34
↓ 3 callers
Function
onlyLeadingSlash
(input: string)
packages/sitemap-ext/index.ts:195
↓ 3 callers
Method
reserve
* Pre-initializes values for the given keys. * Useful for eagerly creating values that will be needed later. * @param key - The first key to reser
packages/utils/src/lazy.ts:327
↓ 3 callers
Function
resolveOutPath
(path: string)
packages/astro-tests/src/astroFixture.ts:269
↓ 3 callers
Function
resolveUrl
(url: string)
packages/astro-tests/src/astroFixture.ts:239
↓ 3 callers
Function
setGlobal
( newLogger: AstroIntegrationLogger, newIntegrations: AstroIntegration[] )
packages/modular-station/src/globalHooks.ts:13
↓ 3 callers
Method
traverseWithState
(this: Context & Visitor, state: VisitorPhase, path: NodePath)
packages/route-config/src/hoistGlobalPlugin.ts:111
↓ 3 callers
Function
tryCreateSourceFile
(toParse: string)
packages/inline-mod/src/closure/parseFunction.ts:340
↓ 2 callers
Function
applyState
(isViewTransition: boolean = false)
packages/request-state/src/runtime/clientState.ts:50
↓ 2 callers
Function
asyncFactory
(factoryFn: () => Promise<T>)
packages/inline-mod/src/index.ts:15
↓ 2 callers
Method
attach
* Registers a callback to be executed for each value when created. * Immediately invokes the callback for any already-created values. * @param att
packages/utils/src/lazy.ts:343
↓ 2 callers
Method
baz
(value: string)
packages/inline-mod/tests/classes.test.ts:10
↓ 2 callers
Method
chainAll
* Creates a new Lazy that combines all values from the given lazy instances. * The transformation is invoked when all input lazies are evaluated.
packages/utils/src/lazy.ts:241
↓ 2 callers
Method
chainMulti
* Chains a transformation across multiple named lazy values. * Creates a new record of Lazy instances with transformed values. * * @template T -
packages/utils/src/lazy.ts:193
↓ 2 callers
Method
chainOne
* Creates a Lazy that transforms the value for a specific key. * The Lazy is automatically evaluated when the source value is created. * @template
packages/utils/src/lazy.ts:393
↓ 2 callers
Function
createClosurePropertyDescriptor
( nameOrSymbol: string | symbol, descriptor: PropertyDescriptor )
packages/inline-mod/src/closure/inspectCode.ts:791
↓ 2 callers
Method
createPropertyInfo
(descriptor: ClosurePropertyDescriptor)
packages/inline-mod/src/closure/inspectCode.ts:726
↓ 2 callers
Function
customRoutingInner
({ strict, routes }: Options)
packages/custom-routing/src/index.ts:14
↓ 2 callers
Function
cutShort
({ disableStreaming = false, }: { disableStreaming?: boolean } = {})
packages/cut-short/src/index.ts:14
↓ 2 callers
Function
defineCommonTests
(loadPathRaw: (path: string) => Promise<string | null>)
packages/portal-gun/tests/common.ts:3
↓ 2 callers
Function
defineRouteConfig
( params: Pick<HookParameters<'astro:config:setup'>, 'logger' | 'command' | 'updateConfig'>, options: PerRou
packages/route-config/src/index.ts:23
↓ 2 callers
Function
determineCapturedPropertyChain
(node: ts.Node)
packages/inline-mod/src/closure/parseFunction.ts:612
↓ 2 callers
Function
die
(msg, code = 1)
docs/scripts/index-orama.mjs:43
↓ 2 callers
Method
emitComplexObjectProperties
( envVar: string, varName: string, inspectedObj: InspectedObject )
packages/inline-mod/src/closure/serialization.ts:370
↓ 2 callers
Function
endRequest
(withResponse: MaybeThunk<Response>)
packages/cut-short/src/runtime/entrypoint.ts:4
↓ 2 callers
Function
factory
(node: UnistNode, index: number | undefined, parents: UnistParent[])
packages/utils/src/unist/visit.ts:52
↓ 2 callers
Method
finally
* Implements Promise.finally() for Promise compatibility.
packages/utils/src/lazy.ts:128
↓ 2 callers
Function
findModuleEntry
(obj: any)
packages/inline-mod/src/closure/inspectCode.ts:946
↓ 2 callers
Function
getDebug
(name: string)
packages/astro-tests/src/internal/log.ts:5
↓ 2 callers
Function
getRuntimeIdForFunction
(func: Function)
packages/inline-mod/src/closure/v8.ts:203
↓ 2 callers
Function
hasState
(key: string)
packages/request-state/src/runtime/serverState.ts:20
↓ 2 callers
Function
inflightContext
()
packages/inline-mod/src/closure/v8.ts:171
next →
1–100 of 445, ranked by callers