Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/btd/rollup-plugin-visualizer
/ functions
Functions
357 in github.com/btd/rollup-plugin-visualizer
⨍
Functions
357
◇
Types & classes
89
↓ 29 callers
Function
invalid
(message: string)
shared/share/limits.ts:45
↓ 23 callers
Function
budget
(value: number, maximum: number, name: string)
shared/share/limits.ts:49
↓ 22 callers
Function
visualizer
( pluginOptions: | PluginVisualizerOptions | ((outputOptions: BundlerOutputOptions) => PluginVisuali
plugin/index.ts:158
↓ 17 callers
Function
displayModuleId
(id: string)
shared/display-module-id.ts:1
↓ 16 callers
Function
isModuleTree
(mod: ModuleTree | ModuleTreeLeaf)
shared/types.ts:3
↓ 16 callers
Method
sort
(edges: Edge[], direction: "source" | "target")
src/treemap-v2/data.ts:214
↓ 15 callers
Method
addEventListener
(type: "message", listener: (event: MessageEvent<LoadRequest>) => void)
src/viewer/load.worker.ts:7
↓ 10 callers
Method
node
(target: Target)
src/treemap-v2/data.ts:122
↓ 9 callers
Method
ancestors
(node: OutputNode)
src/treemap-v2/data.ts:187
↓ 9 callers
Method
text
(value: string)
shared/share/binary.ts:62
↓ 9 callers
Method
vector
(values: readonly number[], delta = false)
shared/share/binary.ts:71
↓ 8 callers
Method
toString
()
src/network/transform.ts:21
↓ 7 callers
Method
count
(maximum = this.limits.maxRecords)
shared/share/binary.ts:129
↓ 7 callers
Function
resolveLimits
(overrides: Partial<ShareLimits> = {})
shared/share/limits.ts:37
↓ 7 callers
Function
uint
(value: unknown)
shared/share/limits.ts:54
↓ 6 callers
Function
createFilter
( include: Filter | Filter[] | undefined, exclude: Filter | Filter[] | undefined )
shared/create-filter.ts:50
↓ 6 callers
Function
outputTarget
(key: string)
src/treemap-v2/data.ts:11
↓ 6 callers
Function
own
(value: object, key: PropertyKey)
shared/share/limits.ts:61
↓ 6 callers
Function
renderEmptyReport
(parentNode: Element)
src/empty-report.tsx:3
↓ 6 callers
Method
size
(target: Target, metric: SizeKey)
src/treemap-v2/data.ts:175
↓ 6 callers
Method
uint
(value: number)
shared/share/binary.ts:42
↓ 6 callers
Function
useFilter
()
src/use-filter.ts:80
↓ 5 callers
Method
accountText
(size: number)
shared/share/binary.ts:57
↓ 5 callers
Function
decodeFragment
( fragment: string, overrides: Partial<ShareLimits> = {}, signal?: AbortSignal, )
shared/share/transport.ts:95
↓ 5 callers
Function
formatBytes
(value: number)
plugin/render-template/markdown.ts:7
↓ 5 callers
Function
generateFilteredReport
( bundler: "rollup" | "rolldown" | "vite", options: FilteringFixtureOptions = {}, )
test/filtering-fixture.ts:63
↓ 5 callers
Function
getAvailableSizeOptions
(options: VisualizerData["options"])
src/sizes.ts:9
↓ 5 callers
Method
isGroup
(target: Target)
src/treemap-v2/data.ts:132
↓ 5 callers
Method
metaUid
(target: Target)
src/treemap-v2/data.ts:125
↓ 5 callers
Function
moduleTarget
(uid: string)
src/treemap-v2/data.ts:12
↓ 5 callers
Method
parts
(target: Target)
src/treemap-v2/data.ts:161
↓ 5 callers
Function
reference
(values: readonly T[], index: number)
shared/share/binary.ts:193
↓ 5 callers
Method
uint
()
shared/share/binary.ts:112
↓ 5 callers
Function
updateTransform
(next: Transform)
src/network/network.tsx:71
↓ 4 callers
Function
boolState
(value: object, key: string)
shared/share/limits.ts:73
↓ 4 callers
Function
createChartData
(data: VisualizerData)
src/network/data.ts:11
↓ 4 callers
Function
encodeFragment
( report: ShareReportInput, overrides: Partial<ShareLimits> = {}, signal?: AbortSignal, )
shared/share/transport.ts:85
↓ 4 callers
Method
end
()
shared/share/binary.ts:179
↓ 4 callers
Function
getModuleSize
(node: ModuleTree | ModuleTreeLeaf, sizeKey: SizeKey)
src/treemap-3d/index.tsx:64
↓ 4 callers
Method
getModuleUid
(moduleId: string)
plugin/module-mapper.ts:53
↓ 4 callers
Method
invertPoint
(location: [number, number])
src/network/transform.ts:17
↓ 4 callers
Method
members
(target: Target)
src/treemap-v2/data.ts:136
↓ 4 callers
Function
onClick
(event: MouseEvent)
src/treemap-3d/scene.tsx:213
↓ 4 callers
Function
putBool
(value: object, key: string, state: number)
shared/share/limits.ts:76
↓ 4 callers
Method
toString
()
src/uid.ts:22
↓ 4 callers
Function
validateReport
(input: unknown, limits: ShareLimits)
shared/share/validation.ts:81
↓ 4 callers
Function
warn
(...args: any[])
plugin/warn.ts:2
↓ 3 callers
Function
abort
(signal?: AbortSignal)
shared/share/transport.ts:26
↓ 3 callers
Function
collectReport
( outputBundle: BundlerOutputBundle, options: { sourcemap: boolean; dir: string; getModuleInfo
plugin/report.ts:36
↓ 3 callers
Function
compare
(a: string, b: string)
src/treemap-v2/data.ts:45
↓ 3 callers
Function
createLayout
(info: NodeInfo[])
src/network/layout.ts:26
↓ 3 callers
Function
createReportUrl
(base: string, template: string, fragment: string)
shared/share/url.ts:17
↓ 3 callers
Function
deriveTree
( data: VisualizerData, recipe: TreeRecipe, limits: ShareLimits, )
shared/share/reconstruct.ts:14
↓ 3 callers
Function
encodeReport
( input: ShareReportInput, overrides: Partial<ShareLimits> = {}, )
shared/share/codec.ts:161
↓ 3 callers
Method
error
(err: string)
plugin/bundler-types.ts:32
↓ 3 callers
Function
follow
(target: Target)
src/treemap-v2/inspector.tsx:75
↓ 3 callers
Function
formatSize
(value: number)
src/treemap-v2/format.ts:3
↓ 3 callers
Function
fragmentFromGzip
(bytes: Uint8Array)
shared/share/transport.ts:83
↓ 3 callers
Function
generateUniqueId
(name: string)
src/uid.ts:27
↓ 3 callers
Function
getModuleSize
(node: ModuleTree | ModuleTreeLeaf, sizeKey: SizeKey)
src/sunburst/index.tsx:75
↓ 3 callers
Function
getModuleSize
(node: ModuleTree | ModuleTreeLeaf, sizeKey: SizeKey)
src/flamegraph/index.tsx:74
↓ 3 callers
Function
getModuleSize
(node: ModuleTree | ModuleTreeLeaf, sizeKey: SizeKey)
src/treemap/index.tsx:77
↓ 3 callers
Method
postMessage
(message: LoadReply, transfer: Transferable[])
src/viewer/load.worker.ts:8
↓ 3 callers
Function
renderTemplate
(templateType: TemplateType, options: RenderTemplateOptions)
plugin/render-template/index.ts:20
↓ 3 callers
Function
svgPoint
( svg: SVGSVGElement, event: { clientX: number; clientY: number }, )
src/network/point.ts:3
↓ 3 callers
Function
targetId
(target: Target)
src/treemap-v2/data.ts:13
↓ 3 callers
Method
trimProjectRootId
(moduleId: string)
plugin/module-mapper.ts:42
↓ 3 callers
Method
warn
(log: string)
plugin/bundler-types.ts:31
↓ 3 callers
Method
zoomAt
(point: [number, number], factor: number)
src/network/transform.ts:11
↓ 2 callers
Function
accountText
(bytes: number)
shared/share/reconstruct.ts:33
↓ 2 callers
Function
assertReferences
(data: VisualizerData)
test/filtering.test.ts:32
↓ 2 callers
Function
base64url
(bytes: Uint8Array)
shared/share/transport.ts:4
↓ 2 callers
Function
boolean
(value: unknown)
shared/share/validation.ts:30
↓ 2 callers
Function
buildReport
( selected: SelectedReport, projectRoot: string | RegExp, measure: (part: CodeContribution) => Promise<M
plugin/report.ts:167
↓ 2 callers
Method
bytes
(value: Uint8Array)
shared/share/binary.ts:51
↓ 2 callers
Method
bytes
(size: number)
shared/share/binary.ts:135
↓ 2 callers
Function
capturePanel
()
src/treemap-v2/main.tsx:20
↓ 2 callers
Function
clear
()
src/viewer/index.ts:39
↓ 2 callers
Function
clearHover
()
src/treemap-3d/scene.tsx:179
↓ 2 callers
Function
createRainbowColor
(root: HierarchyNode<OutputNode>)
src/treemap-v2/color.ts:38
↓ 2 callers
Function
createSimulation
( nodes: NetworkNode[], links: NetworkLink[], centers: ReturnType<typeof createLayout>["centers"], )
src/network/layout.ts:107
↓ 2 callers
Function
decodeReport
( bytes: Uint8Array, overrides: Partial<ShareLimits> = {}, )
shared/share/codec.ts:317
↓ 2 callers
Function
decomposeUid
(uid: string)
shared/share/codec.ts:40
↓ 2 callers
Method
emitFile
(file: { type: "asset"; fileName: string; source: string })
plugin/bundler-types.ts:33
↓ 2 callers
Function
enqueue
(id: string)
plugin/report.ts:87
↓ 2 callers
Method
finish
()
shared/share/binary.ts:96
↓ 2 callers
Function
fitTransform
( nodes: { x?: number; y?: number; radius: number }[], width: number, height: number, )
src/network/transform.ts:28
↓ 2 callers
Function
getModule
(id: string)
plugin/report.ts:46
↓ 2 callers
Function
getPackageName
(id: string)
src/network/data.ts:4
↓ 2 callers
Function
getSourcemapModules
( id: string, outputChunk: BundlerOutputChunk, dir: string, )
plugin/sourcemap.ts:79
↓ 2 callers
Function
inspectorReducer
(state: InspectorState, action: InspectorAction)
src/treemap-v2/state.ts:42
↓ 2 callers
Function
isVisualTemplate
(value: string)
shared/share/url.ts:14
↓ 2 callers
Function
matchesFilter
( node: NodeInfo, filter: (bundleId: string, node: NodeInfo) => number, )
src/network/data.ts:28
↓ 2 callers
Function
mergeReports
(fileContents: ReportFile[])
plugin/cli/report.ts:62
↓ 2 callers
Function
message
(text: string, error = false)
src/viewer/report.ts:14
↓ 2 callers
Function
object
(value: unknown)
shared/share/validation.ts:5
↓ 2 callers
Function
parseJson
(source: string, maxDepth: number)
shared/share/validation.ts:61
↓ 2 callers
Method
path
(target: Target)
src/treemap-v2/data.ts:128
↓ 2 callers
Function
pauseLayout
docs/prototypes/check-treemap-inspector.mjs:13
↓ 2 callers
Function
pickMesh
(event: MouseEvent)
src/treemap-3d/scene.tsx:169
next →
1–100 of 357, ranked by callers