Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/triggerdotdev/jsonhero-web
/ functions
Functions
342 in github.com/triggerdotdev/jsonhero-web
⨍
Functions
342
◇
Types & classes
12
↓ 21 callers
Function
formatStarCount
(count: number | undefined)
app/utilities/formatStarCount.ts:4
↓ 15 callers
Function
useJson
()
app/hooks/useJson.tsx:35
↓ 12 callers
Function
useJsonColumnViewState
()
app/hooks/useJsonColumnView.tsx:175
↓ 11 callers
Function
classnames
(...args: string[])
app/utilities/classnames.ts:1
↓ 11 callers
Function
useJsonColumnViewAPI
()
app/hooks/useJsonColumnView.tsx:186
↓ 11 callers
Function
useJsonDoc
()
app/hooks/useJsonDoc.tsx:31
↓ 8 callers
Function
convertFromRawXml
(xmlString: string)
app/utilities/xml/convertFromRawXml.ts:86
↓ 8 callers
Function
sendEvent
(event: Record<string, any>)
app/graphJSON.server.ts:1
↓ 7 callers
Function
createNodeItems
( nodes: T[], depth = 0, collapsedState: Record<string, boolean> = {} )
app/hooks/useVirtualTree.ts:608
↓ 7 callers
Function
formatValue
( type: JSONValueType, options?: FormatValueOptions )
app/utilities/formatter.ts:33
↓ 7 callers
Function
iconForType
(type: JSONValueType)
app/utilities/icons.ts:35
↓ 7 callers
Function
isXML
(possibleXml: string)
app/utilities/xml/isXML.ts:3
↓ 6 callers
Function
createFromRawJson
( filename: string, contents: string, options?: CreateJsonOptions )
app/jsonDoc.server.ts:83
↓ 6 callers
Function
formatRawValue
(type: JSONValueType)
app/utilities/formatter.ts:10
↓ 6 callers
Function
useTheme
()
app/components/ThemeProvider.tsx:71
↓ 5 callers
Function
addSlice
(isMatch: boolean, slice: string)
app/utilities/search.ts:30
↓ 5 callers
Function
getStringSlices
( stringValue: string, matchingIndices: ReadonlyArray<{ start: number; end: number }>, windowSize: numbe
app/utilities/search.ts:23
↓ 5 callers
Function
setErrorMessage
( session: Session, message: string, title: string )
app/services/toast.server.ts:37
↓ 4 callers
Function
calculateLongestMatch
(componentSlices: ComponentSlice[])
app/utilities/search.ts:212
↓ 4 callers
Function
calculateRelatedValuesGroups
( path: string, json: unknown )
app/utilities/relatedValues.ts:10
↓ 4 callers
Function
getComponentSlices
( path: string, matchingIndices: ReadonlyArray<{ start: number; end: number }>, maxWeight: number )
app/utilities/search.ts:187
↓ 4 callers
Function
getDocument
( slug: string )
app/jsonDoc.server.ts:106
↓ 4 callers
Function
stableJson
(json: unknown, keyOrder: string[] = [])
app/utilities/stableJson.ts:1
↓ 4 callers
Function
usePreferences
()
app/components/PreferencesProvider.tsx:52
↓ 4 callers
Function
useSelectedInfo
()
app/hooks/useSelectedInfo.tsx:7
↓ 3 callers
Function
collapseNode
( state: TreeState<T>, id: string )
app/hooks/useVirtualTree.ts:138
↓ 3 callers
Function
createFromUrl
( url: URL, title?: string, options?: CreateJsonOptions )
app/jsonDoc.server.ts:50
↓ 3 callers
Function
darkTheme
()
app/utilities/codeMirrorTheme.ts:5
↓ 3 callers
Function
dateString
(date: Date)
app/components/Preview/CalendarMonth.tsx:14
↓ 3 callers
Function
inferTemporal
( value: string, format: JSONDateTimeFormat )
app/utilities/inferredTemporal.ts:11
↓ 3 callers
Function
isSameDay
(date: Date, otherDate: Date)
app/components/Preview/CalendarMonth.tsx:18
↓ 3 callers
Function
lightTheme
()
app/utilities/codeMirrorTheme.ts:147
↓ 3 callers
Function
replaceComponentIndexWithEllipsis
( ellipsisComponentIndex: number )
app/utilities/search.ts:283
↓ 3 callers
Function
safeFetch
( url: string, options: RequestInit = {} )
app/utilities/safeFetch.ts:1
↓ 3 callers
Function
toggleAllChildren
( state: TreeState<T>, id: string )
app/hooks/useVirtualTree.ts:154
↓ 2 callers
Function
addEllipsis
()
app/utilities/search.ts:36
↓ 2 callers
Function
calculateWeight
(pathSlices: PathSlice[])
app/utilities/search.ts:192
↓ 2 callers
Function
classNames
(...classes: (string | boolean)[])
app/components/Preview/CalendarMonth.tsx:136
↓ 2 callers
Function
colorForItemAtPath
(path: string, json: unknown)
app/utilities/colors.ts:31
↓ 2 callers
Function
colorForTypeName
(typeName: string)
app/utilities/colors.ts:4
↓ 2 callers
Function
createId
()
app/jsonDoc.server.ts:135
↓ 2 callers
Function
expandNode
( state: TreeState<T>, id: string )
app/hooks/useVirtualTree.ts:121
↓ 2 callers
Function
generateColumnViewNode
(json: unknown)
app/utilities/jsonColumnView.ts:7
↓ 2 callers
Function
getHighlightedSibling
( state: ColumnViewState, nodeTable: NodeTable, direction: -1 | 1 )
app/useColumnView/index.ts:580
↓ 2 callers
Function
getPathToNode
(nodeTable: NodeTable, nodeId?: string)
app/useColumnView/index.ts:516
↓ 2 callers
Function
getRelatedPathsAtPath
( path: string, json: unknown, relatedPaths: Set<string> = new Set<string>() )
app/utilities/relatedValues.ts:52
↓ 2 callers
Function
getThemeSession
(request: Request)
app/theme.server.ts:18
↓ 2 callers
Function
groupRelatedValues
( relatedPaths: Array<string>, json: unknown )
app/utilities/relatedValues.ts:18
↓ 2 callers
Function
highlightLineRange
(range: LineRange | null)
app/components/JsonPreview.tsx:142
↓ 2 callers
Function
highlightLines
(view: EditorView)
app/components/JsonPreview.tsx:153
↓ 2 callers
Function
isTheme
(value: unknown)
app/components/ThemeProvider.tsx:107
↓ 2 callers
Function
moveToChildren
(state: ColumnViewState)
app/useColumnView/index.ts:455
↓ 2 callers
Function
resetInterval
()
app/components/Home/HomeInfoBoxSection.tsx:66
↓ 2 callers
Function
toggleOpen
(id: string)
app/components/RelatedValues.tsx:31
↓ 2 callers
Function
useJsonSearchApi
()
app/hooks/useJsonSearch.tsx:248
↓ 2 callers
Function
useStarCount
()
app/components/StarCountProvider.tsx:22
↓ 1 callers
Function
addColumn
(nodeRecord: NodeRecord)
app/useColumnView/index.ts:485
↓ 1 callers
Function
addComponent
(slice: StringSlice, componentIndex: number)
app/utilities/search.ts:430
↓ 1 callers
Function
addEllipsisToSlices
( slices: PathSlice[], mostImportantComponentIndex: number )
app/utilities/search.ts:222
↓ 1 callers
Function
addJoin
()
app/utilities/search.ts:434
↓ 1 callers
Function
addNode
(node: ColumnViewNode, parentId?: string)
app/useColumnView/index.ts:556
↓ 1 callers
Function
arrowStyle
()
app/components/ToolTip.tsx:14
↓ 1 callers
Function
calculatePathToNode
( nodes: T[], searchNode: T, path: string[] = [] )
app/hooks/useVirtualTree.ts:745
↓ 1 callers
Function
calculateSliceWeight
(slice: PathSlice)
app/utilities/search.ts:202
↓ 1 callers
Function
calculateStablePath
( previousPathString: string, selectionPathString: string, json: unknown )
app/utilities/jsonColumnView.ts:148
↓ 1 callers
Function
calculateWindow
()
app/utilities/search.ts:40
↓ 1 callers
Function
cb
()
app/hooks/useLoadWhenOnline.tsx:11
↓ 1 callers
Function
checkPathExists
(json: unknown, newPath: string)
app/components/InfoHeader.tsx:112
↓ 1 callers
Function
classes
()
app/components/Resizable.tsx:82
↓ 1 callers
Function
columnViewReducer
( state: ColumnViewState, action: ColumnViewAction )
app/useColumnView/index.ts:345
↓ 1 callers
Function
combineAdjacentEllipsis
(toCombine: PathSlice[])
app/utilities/search.ts:251
↓ 1 callers
Function
computeTreeNodePaddingClass
(depth: number)
app/components/JsonTreeView.tsx:223
↓ 1 callers
Function
concatenated
(types: HierarchicalTypes)
app/utilities/dataType.ts:7
↓ 1 callers
Function
createComponentSlices
( path: string, matchingIndices: ReadonlyArray<{ start: number; end: number }> )
app/utilities/search.ts:424
↓ 1 callers
Function
createFromRawXml
( filename: string, contents: string, options?: CreateJsonOptions )
app/utilities/xml/createFromRawXml.ts:8
↓ 1 callers
Function
createFromUrlOrRawJson
( urlOrJson: string, title?: string )
app/jsonDoc.server.ts:31
↓ 1 callers
Function
createItemProps
( item: TreeNodeItem<T>, virtualItem: VirtualItem, state: TreeState<T>, dispatch: Dispatch<TreeAction>
app/hooks/useVirtualTree.ts:696
↓ 1 callers
Function
createOutputForMatch
( stringValue: string, isHighlighted: boolean, textSize: "text-xs" | "text-sm" | "text-base" | "text-lg"
app/components/SearchPalette.tsx:415
↓ 1 callers
Function
createPreviewIPFSImageURL
(src: URL)
app/components/Preview/Types/PreviewIPFSImage.tsx:9
↓ 1 callers
Function
createPreviewImage
(uri: string, head: HeadInfo)
app/services/uriPreview.server.ts:144
↓ 1 callers
Function
createPreviewJson
(uri: string, json: unknown)
app/services/uriPreview.server.ts:136
↓ 1 callers
Function
createTreeProps
( dispatch: Dispatch<TreeAction> )
app/hooks/useVirtualTree.ts:633
↓ 1 callers
Function
deleteDocument
(slug: string)
app/jsonDoc.server.ts:131
↓ 1 callers
Function
earlyRespondIfHomepagePreviewUri
(uri: string)
app/routes/actions/getPreview.$url.ts:43
↓ 1 callers
Function
findNodeInTreeById
( nodes: T[], id: string )
app/hooks/useVirtualTree.ts:724
↓ 1 callers
Function
firstChildToDescendant
( ancestor: JSONHeroPath, descendant: JSONHeroPath )
app/utilities/jsonColumnView.ts:95
↓ 1 callers
Function
formatBytes
(bytes: number, decimals = 2)
app/utilities/formatter.ts:146
↓ 1 callers
Function
formatDateTime
( value: string, format?: JSONDateTimeFormat )
app/utilities/formatter.ts:106
↓ 1 callers
Function
formatNumber
(value: number)
app/utilities/formatter.ts:85
↓ 1 callers
Function
formatString
(value: string, format?: JSONStringFormat)
app/utilities/formatter.ts:89
↓ 1 callers
Function
generateChildren
( info: JSONValueType, path: JSONHeroPath )
app/utilities/jsonColumnView.ts:21
↓ 1 callers
Function
generateChildren
( info: JSONValueType, path: JSONHeroPath )
app/hooks/useJsonTree.tsx:99
↓ 1 callers
Function
generateColumns
( nodeTable: NodeTable, path: string[], columnCache: ColumnDefinitionCache )
app/useColumnView/index.ts:478
↓ 1 callers
Function
generateNodeTable
(rootNode: ColumnViewNode)
app/useColumnView/index.ts:553
↓ 1 callers
Function
generateNodesToPath
( json: unknown, path: string )
app/utilities/jsonColumnView.ts:64
↓ 1 callers
Function
generateTreeViewNodes
(json: unknown)
app/hooks/useJsonTree.tsx:92
↓ 1 callers
Function
getCleanXmlString
(xmlString: string)
app/utilities/xml/convertFromRawXml.ts:9
↓ 1 callers
Function
getCurrentTimeFormatted
()
app/hooks/useJsonSearch.tsx:164
↓ 1 callers
Function
getEditorSetup
()
app/utilities/codeMirrorSetup.ts:30
↓ 1 callers
Function
getHierarchicalTypes
(type: JSONValueType)
app/utilities/dataType.ts:11
next →
1–100 of 342, ranked by callers