Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/btd/rollup-plugin-visualizer
/ functions
Functions
161 in github.com/btd/rollup-plugin-visualizer
⨍
Functions
161
◇
Types & classes
56
↓ 14 callers
Function
isModuleTree
(mod: ModuleTree | ModuleTreeLeaf)
shared/types.ts:3
↓ 13 callers
Function
visualizer
( opts: | PluginVisualizerOptions | ((outputOptions: BundlerOutputOptions) => PluginVisualizerOption
plugin/index.ts:140
↓ 6 callers
Method
toString
()
src/network/transform.ts:22
↓ 5 callers
Function
formatBytes
(value: number)
plugin/render-template/markdown.ts:6
↓ 5 callers
Function
getAvailableSizeOptions
(options: VisualizerData["options"])
src/sizes.ts:9
↓ 5 callers
Function
useFilter
()
src/use-filter.ts:64
↓ 4 callers
Function
getModuleSize
(node: ModuleTree | ModuleTreeLeaf, sizeKey: SizeKey)
src/treemap-3d/index.tsx:59
↓ 4 callers
Method
getModuleUid
(moduleId: string)
plugin/module-mapper.ts:53
↓ 4 callers
Function
noEvent
(event: UIEvent)
src/network/network.tsx:18
↓ 3 callers
Function
createFilter
( include: Filter | Filter[] | undefined, exclude: Filter | Filter[] | undefined )
shared/create-filter.ts:50
↓ 3 callers
Function
generateUniqueId
(name: string)
src/uid.ts:27
↓ 3 callers
Function
getModuleSize
(node: ModuleTree | ModuleTreeLeaf, sizeKey: SizeKey)
src/sunburst/index.tsx:70
↓ 3 callers
Function
getModuleSize
(node: ModuleTree | ModuleTreeLeaf, sizeKey: SizeKey)
src/flamegraph/index.tsx:69
↓ 3 callers
Function
getModuleSize
(node: ModuleTree | ModuleTreeLeaf, sizeKey: SizeKey)
src/treemap/index.tsx:72
↓ 3 callers
Function
onClick
(event: MouseEvent)
src/treemap-3d/scene.tsx:213
↓ 3 callers
Function
renderTemplate
(templateType: TemplateType, options: RenderTemplateOptions)
plugin/render-template/index.ts:19
↓ 3 callers
Method
trimProjectRootId
(moduleId: string)
plugin/module-mapper.ts:42
↓ 2 callers
Function
clearHover
()
src/treemap-3d/scene.tsx:179
↓ 2 callers
Function
createRainbowColor
(root: HierarchyNode<ModuleTree | ModuleTreeLeaf>)
src/treemap/color.ts:38
↓ 2 callers
Method
emitFile
(file: { type: "asset"; fileName: string; source: string })
plugin/bundler-types.ts:32
↓ 2 callers
Function
pickMesh
(event: MouseEvent)
src/treemap-3d/scene.tsx:169
↓ 2 callers
Function
prepareFilter
(filt: string)
src/use-filter.ts:27
↓ 2 callers
Method
setNodeMeta
(moduleId: string, value: { isEntry?: boolean; isExternal?: boolean })
plugin/module-mapper.ts:101
↓ 2 callers
Method
setNodePart
(bundleId: string, moduleId: string, value: ModuleLengths)
plugin/module-mapper.ts:88
↓ 2 callers
Method
uniqueId
()
plugin/module-mapper.ts:49
↓ 2 callers
Function
warn
(...args: any[])
plugin/warn.ts:2
↓ 2 callers
Method
warn
(log: string)
plugin/bundler-types.ts:30
↓ 1 callers
Function
WARN_SOURCEMAP_MISSING
(id: string)
plugin/index.ts:29
↓ 1 callers
Method
addImportedByLink
(targetId: string, sourceId: string)
plugin/module-mapper.ts:150
↓ 1 callers
Method
addImportedLink
(sourceId: string, targetId: string, dynamic = false)
plugin/module-mapper.ts:156
↓ 1 callers
Function
addLinks
( startModuleId: string, getModuleInfo: GetModuleInfo, mapper: ModuleMapper, )
plugin/data.ts:109
↓ 1 callers
Function
addToPath
( moduleId: string, tree: ModuleTree, modulePath: string[], node: MappedNode, )
plugin/data.ts:9
↓ 1 callers
Function
adjustGamma
(p: number)
src/flamegraph/color.ts:15
↓ 1 callers
Function
adjustGamma
(p: number)
src/treemap/color.ts:15
↓ 1 callers
Function
brotliOptions
(options: zlib.BrotliOptions, buffer: Buffer)
plugin/compress.ts:11
↓ 1 callers
Function
buildHtml
(template: TemplateType)
plugin/render-template/html.ts:58
↓ 1 callers
Function
buildHtmlTemplate
(title: string, script: string, nodesData: string, style: string)
plugin/render-template/html.ts:15
↓ 1 callers
Function
buildTree
( bundleId: string, modules: Array<ModuleLengths & { id: string }>, mapper: ModuleMapper, )
plugin/data.ts:65
↓ 1 callers
Function
chooseDefaultFileName
(opts: PluginVisualizerOptions)
plugin/index.ts:129
↓ 1 callers
Function
chooseExt
(template)
rollup.config-dev.js:12
↓ 1 callers
Function
createBrotliCompressor
(options: zlib.BrotliOptions)
plugin/compress.ts:33
↓ 1 callers
Function
createBrotliSizeGetter
(options: zlib.BrotliOptions)
plugin/compress.ts:36
↓ 1 callers
Function
createGzipCompressor
(options: zlib.ZlibOptions)
plugin/compress.ts:20
↓ 1 callers
Function
createGzipSizeGetter
(options: zlib.ZlibOptions)
plugin/compress.ts:25
↓ 1 callers
Function
createNodeInfo
( data: VisualizerData, availableSizeProperties: SizeKey[], uid: ModuleUID, )
src/network/index.tsx:38
↓ 1 callers
Function
createRainbowColor
(groups: Record<string, unknown>)
src/network/color.ts:9
↓ 1 callers
Function
createRainbowColor
(root: HierarchyNode<ModuleTree | ModuleTreeLeaf>)
src/flamegraph/color.ts:38
↓ 1 callers
Function
draw
()
src/treemap-3d/scene.tsx:257
↓ 1 callers
Function
ensureArray
(thing: readonly T[] | T | undefined | null)
shared/create-filter.ts:12
↓ 1 callers
Method
error
(err: string)
plugin/bundler-types.ts:31
↓ 1 callers
Function
foo
()
test/gh69/lib.js:1
↓ 1 callers
Function
formatFilters
(filters: RenderTemplateReportConfig["include" | "exclude"])
plugin/render-template/markdown.ts:29
↓ 1 callers
Function
formatPercent
(value: number)
plugin/render-template/markdown.ts:20
↓ 1 callers
Function
getBackgroundColor
(node: NodeInfo)
src/network/color.ts:19
↓ 1 callers
Function
getBackgroundColor
(node: HierarchyNode<ModuleTree | ModuleTreeLeaf>)
src/flamegraph/color.ts:53
↓ 1 callers
Function
getBackgroundColor
(node: HierarchyNode<ModuleTree | ModuleTreeLeaf>)
src/treemap/color.ts:53
↓ 1 callers
Method
getBundleModuleUid
(bundleId: string, moduleId: string)
plugin/module-mapper.ts:69
↓ 1 callers
Function
getBytesPerFileUsingSourceMap
( bundleId: string, code: string, map: SourceMapConsumer, dir: string, )
plugin/sourcemap.ts:12
↓ 1 callers
Function
getColor
(node: NodeInfo)
src/network/main.tsx:36
↓ 1 callers
Function
getDataHash
(json: string)
plugin/module-mapper.ts:22
↓ 1 callers
Function
getLeafExtrudeHeight
(size: number)
src/treemap-3d/scene.tsx:122
↓ 1 callers
Function
getModuleIds
(node: ModuleTree | ModuleTreeLeaf)
src/sunburst/index.tsx:96
↓ 1 callers
Function
getModuleIds
(node: ModuleTree | ModuleTreeLeaf)
src/flamegraph/index.tsx:98
↓ 1 callers
Function
getModuleIds
(node: ModuleTree | ModuleTreeLeaf)
src/treemap/index.tsx:101
↓ 1 callers
Function
getModuleLengths
( { id, renderedLength, code, }: { id: string;
plugin/index.ts:180
↓ 1 callers
Method
getNodeMetas
()
plugin/module-mapper.ts:124
↓ 1 callers
Method
getNodeParts
()
plugin/module-mapper.ts:120
↓ 1 callers
Function
getSourcemapModules
( id: string, outputChunk: BundlerOutputChunk, dir: string, )
plugin/sourcemap.ts:47
↓ 1 callers
Function
globToTest
(glob: string)
shared/create-filter.ts:22
↓ 1 callers
Function
gzipOptions
(options: zlib.ZlibOptions)
plugin/compress.ts:7
↓ 1 callers
Function
handleMouseOut
()
src/sunburst/chart.tsx:38
↓ 1 callers
Function
handleSizePropertyChange
(sizeProp: SizeKey)
src/sidebar.tsx:26
↓ 1 callers
Function
htmlEscape
(str: string)
plugin/render-template/html.ts:7
↓ 1 callers
Method
invertPoint
(location: [number, number])
src/network/transform.ts:18
↓ 1 callers
Function
isArray
(arg: unknown)
shared/create-filter.ts:8
↓ 1 callers
Function
main
()
test/gh69/main.js:3
↓ 1 callers
Function
main
()
test/gh93/main.js:1
↓ 1 callers
Function
mergeSingleChildTrees
(tree: ModuleTree)
plugin/data.ts:39
↓ 1 callers
Function
mergeTrees
(trees: Array<ModuleTree | ModuleTreeLeaf>)
plugin/data.ts:99
↓ 1 callers
Function
npm
(...args)
test/run-consumer-fixtures.mjs:27
↓ 1 callers
Function
outputMarkdown
(strData: string, reportConfig?: RenderTemplateReportConfig)
plugin/render-template/markdown.ts:36
↓ 1 callers
Function
outputPlainTextList
(strData: string)
plugin/render-template/list.ts:3
↓ 1 callers
Function
outputRawData
(strData: string)
plugin/render-template/raw-data.ts:3
↓ 1 callers
Function
relativeLuminance
(o: RGBColor)
src/flamegraph/color.ts:19
↓ 1 callers
Function
relativeLuminance
(o: RGBColor)
src/treemap/color.ts:19
↓ 1 callers
Function
replaceHashPlaceholders
(data: VisualizerData)
plugin/module-mapper.ts:28
↓ 1 callers
Function
runForPluginJson
({ title, template, filename, open }: CliArgs, files: string[])
bin/cli.ts:56
↓ 1 callers
Function
sharePercent
(value: number, total: number)
plugin/render-template/markdown.ts:22
↓ 1 callers
Function
throttleFilter
(callback: FilterSetter, limit: number)
src/use-filter.ts:6
↓ 1 callers
Method
toString
()
src/uid.ts:22
↓ 1 callers
Function
translate
(transform: Transform, p0: [number, number], p1: [number, number])
src/network/network.tsx:23
↓ 1 callers
Function
updatePosition
(mouseCoords: { x: number; y: number })
src/network/tooltip.tsx:41
↓ 1 callers
Function
updatePosition
(mouseCoords: { x: number; y: number })
src/treemap-3d/tooltip.tsx:90
↓ 1 callers
Function
updatePosition
(mouseCoords: { x: number; y: number })
src/flamegraph/tooltip.tsx:121
↓ 1 callers
Function
updatePosition
(mouseCoords: { x: number; y: number })
src/treemap/tooltip.tsx:121
↓ 1 callers
Function
yesNo
(value: boolean)
plugin/render-template/markdown.ts:27
Function
Chart
({ links, nodes, onNodeExclude, getColor, onNodeSelect, })
src/network/chart.tsx:17
Function
Chart
({ root, sizeProperty, selectedNode, setSelectedNode, })
src/sunburst/chart.tsx:20
Function
Chart
({ root, sizeProperty, selectedNode, setSelectedNode, })
src/treemap-3d/chart.tsx:18
Function
Chart
({ root, sizeProperty, selectedNode, setSelectedNode, })
src/flamegraph/chart.tsx:18
next →
1–100 of 161, ranked by callers