Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/czy0729/Bangumi
/ functions
Functions
5,393 in github.com/czy0729/Bangumi
⨍
Functions
5,393
◇
Types & classes
1,134
↓ 10 callers
Function
isChineseParagraph
(text: string = '', threshold: number = 0.8)
src/utils/utils/index.ts:622
↓ 10 callers
Function
isNull
(value: any)
src/utils/app/utils.ts:13
↓ 10 callers
Function
isPromise
(obj: any)
src/utils/protobuf/utils.ts:59
↓ 10 callers
Function
match
匹配
src/utils/match/index.ts:15
↓ 10 callers
Function
matchBgmUrl
(str: string = '', returnAll: boolean = false)
src/utils/match/index.ts:92
↓ 10 callers
Function
scrollToTop
(y: number = 0, animated: boolean = true)
src/utils/dom/index.ts:78
↓ 10 callers
Function
sortList
(sort: string, direction: '' | 'up' | 'down', list: ListArray<T>)
src/screens/tinygrail/_/utils.ts:346
↓ 10 callers
Method
userProgress
()
src/screens/home/subject/store/computed.ts:253
↓ 10 callers
Method
usersInfo
()
src/screens/user/v2/store/computed.ts:55
↓ 10 callers
Method
withFocus
每个请求都判断 this.state.focused 判断用户在未请求完就退出页面需要尽快终止余下请求
src/screens/user/zone/store/index.ts:50
↓ 9 callers
Function
HTMLToTree
(html: string, cmd = true)
src/utils/html/index.ts:120
↓ 9 callers
Function
appRandom
( arr: T[] = [], key: keyof T & string = '' )
src/utils/app/app.ts:73
↓ 9 callers
Function
baiduTranslate
(query: string, to = 'zh')
src/utils/fetch/baidu.ts:36
↓ 9 callers
Function
cHas
($el: any)
src/utils/html/index.ts:448
↓ 9 callers
Function
cList
($el: any, selector: string)
src/utils/html/index.ts:420
↓ 9 callers
Function
detectSensitiveWords
(input: string)
src/utils/app/sensitive.ts:17
↓ 9 callers
Function
fixedBgmUrl
(url: string = '')
src/utils/app/data-source.ts:224
↓ 9 callers
Function
fixedCover
(src: string)
src/stores/subject/common.ts:645
↓ 9 callers
Function
getAction
(typeCn: SubjectTypeCn)
src/utils/app/data-source.ts:112
↓ 9 callers
Function
getPinYin
(title: string)
src/utils/pinyin/index.ts:14
↓ 9 callers
Function
isArray
(value: any)
src/utils/app/data-source.ts:83
↓ 9 callers
Method
list
()
src/screens/user/backup/store/computed.ts:107
↓ 9 callers
Function
maskRichText
(children: ReactNode, show: boolean)
src/components/render-html/mask-text/utils.ts:27
↓ 9 callers
Function
matchCoverUrl
(src: any, noDefault?: boolean, prefix?: string)
src/utils/app/data-source.ts:577
↓ 9 callers
Function
read
({ path })
src/screens/user/dev/db.ts:58
↓ 9 callers
Function
removeURLs
(str: string = '')
src/utils/html/index.ts:500
↓ 9 callers
Method
subjectFromOSS
条目 (云缓存)
src/stores/subject/computed.ts:298
↓ 9 callers
Function
syncThemeStore
()
src/utils/async/index.ts:20
↓ 9 callers
Function
throttle
(callback: (arg?: any) => void, delay = 400)
src/utils/utils/index.ts:97
↓ 9 callers
Function
trimBR
移除片段首尾的冗余换行
src/components/render-html/utils.tsx:143
↓ 8 callers
Function
API_COLLECTIONS
( userId: UserId, subjectType: SubjectTypeValue, page: number = 1, limit: number = 100, type: Collec
src/utils/fetch.v0/ds.ts:12
↓ 8 callers
Function
HTML_SINGLE_DOC
(page: string)
src/constants/html/index.ts:577
↓ 8 callers
Function
applyLainProxy
(url: string)
src/utils/proxy/index.ts:208
↓ 8 callers
Function
assets
(item: { state?: number; assets?: number })
src/screens/tinygrail/_/characters-modal/utils.ts:34
↓ 8 callers
Function
callback
()
src/screens/home/subject/hooks.ts:141
↓ 8 callers
Method
detail
()
src/screens/home/mono/store/computed.ts:128
↓ 8 callers
Function
formatTime
(time: string | number | Date)
src/utils/app/app.ts:230
↓ 8 callers
Function
genICSCalenderEventDate
( item: { airdate?: string sort?: number duration?: string url?: string } = {}, onAirCus
src/utils/app/timezone.ts:177
↓ 8 callers
Function
getCoverSmall
( src: Avatar | Cover | string = '' )
src/utils/app/data-source.ts:635
↓ 8 callers
Method
getDelegate
()
android/app/src/main/java/com/czy0729/bangumi/doh/BangumiOkHttpClientFactory.java:226
↓ 8 callers
Function
getSafeValue
( key: string | number, onAir: { [x: string]: any }, onAirUser: { [x: string]: any } )
src/utils/app/utils.ts:18
↓ 8 callers
Function
getURI
( image: string = '', prefix: | 'square' | 'thumb150' | 'orj360' | 'orj480' | 'mw690'
src/screens/discovery/pic/utils.tsx:177
↓ 8 callers
Function
getUserInfo
(userInfo: any)
src/utils/webhooks/utils.ts:116
↓ 8 callers
Function
lastItem
()
src/utils/thirdParty/html-parser.ts:51
↓ 8 callers
Function
pickInfoValue
(info: string, keys: string)
src/screens/home/subject/store/utils.ts:30
↓ 8 callers
Function
removeSlogan
(str: string, max?: number)
src/screens/discovery/word-cloud/store/utils.ts:22
↓ 8 callers
Function
rk
(item: { rank?: number })
src/screens/tinygrail/_/characters-modal/utils.ts:24
↓ 8 callers
Method
total
()
src/screens/discovery/wenku/store.ts:65
↓ 8 callers
Function
trim
(str: string = '')
src/utils/utils/index.ts:416
↓ 8 callers
Function
webhookEp
( values: { id?: any status?: any batch?: boolean sort?: any vols?: any } = {}, subj
src/utils/webhooks/index.ts:55
↓ 7 callers
Function
SITE_AGEFANS
()
src/constants/site/index.ts:11
↓ 7 callers
Function
cEach
($el: any, callback: ($ele: any, index?: number) => void)
src/utils/html/index.ts:391
↓ 7 callers
Function
calculateFutureLevel
(level: number = 1, total: number = 0)
src/utils/app/app.ts:337
↓ 7 callers
Function
calculateTempleRate
(rate = 0, rank = 0, stars = 0, level = 0, refine = 0)
src/screens/tinygrail/_/utils.ts:65
↓ 7 callers
Method
catalogDetail
目录详情
src/screens/_/base/folder-manage-modal/index.tsx:666
↓ 7 callers
Function
compare
(a: string, b: string)
src/utils/utils/index.ts:141
↓ 7 callers
Method
computedList
()
src/screens/tinygrail/advance-ask/store/computed.ts:25
↓ 7 callers
Function
createTask
()
src/utils/scheduler/__tests__/task-queue.test.ts:29
↓ 7 callers
Function
devLog
(...args: any)
src/components/dev/utils.ts:15
↓ 7 callers
Function
encodeKey
(key: string)
src/screens/discovery/pic/utils.tsx:222
↓ 7 callers
Function
extractIdFromAvatar
(avatar: string)
src/utils/app/ages.ts:100
↓ 7 callers
Function
formatNumber
(s: string | number, n: number = 2, xsb?: boolean)
src/utils/utils/index.ts:442
↓ 7 callers
Function
getBlurRadius
(uri?: string, bg?: string, avatarLarge?: string)
src/utils/app/app.ts:57
↓ 7 callers
Function
getCookie
(cookies = '', name: string)
src/utils/app/data-source.ts:751
↓ 7 callers
Function
getKeyString
(...args: any[])
src/utils/app/utils.ts:28
↓ 7 callers
Function
getRandomItems
(array: T[], count: number)
src/utils/utils/index.ts:657
↓ 7 callers
Method
init
* props 有变化时执行
src/components/@/react-native-image-zoom-viewer/image-viewer.component.tsx:86
↓ 7 callers
Function
isObject
(value: any)
src/utils/utils/index.ts:74
↓ 7 callers
Function
keepBasicChars
(str: string)
src/utils/utils/index.ts:641
↓ 7 callers
Method
loadImage
* 加载图片,主要是获取图片长与宽
src/components/@/react-native-image-zoom-viewer/image-viewer.component.tsx:148
↓ 7 callers
Function
lxCache
(text: string)
src/utils/kv/index.ts:415
↓ 7 callers
Function
matchCover
(str: string = '')
src/utils/match/index.ts:72
↓ 7 callers
Function
matchYearAndMonth
(str: string = '')
src/utils/match/index.ts:117
↓ 7 callers
Method
picTotal
图集数
src/stores/mono/computed.ts:36
↓ 7 callers
Function
removeCF
(HTML: string = '')
src/utils/html/index.ts:241
↓ 7 callers
Function
removeSpecial
简单去除特殊干扰分析的字符
src/utils/douban/index.ts:361
↓ 7 callers
Method
run
(task: () => Promise<T>)
src/utils/scheduler/task-queue.ts:15
↓ 7 callers
Function
runAfter
(fn: () => any, postTask: boolean = false)
src/utils/utils/index.ts:79
↓ 7 callers
Function
saveCalenderEvent
( item: { airdate?: string sort?: number duration?: string url?: string } = {}, subjectT
src/utils/app/timezone.ts:98
↓ 7 callers
Function
setDefaultProps
( Component: T, defaultProps?: Record<string, any> )
src/utils/utils/index.ts:28
↓ 7 callers
Function
useIsFocused
()
src/utils/hooks/useIsFocused.ts:11
↓ 7 callers
Function
webhook
(type: string, data: any)
src/utils/webhooks/utils.ts:25
↓ 6 callers
Function
arrGroup
(arr: T[] | readonly T[], num: number = 40)
src/utils/utils/index.ts:377
↓ 6 callers
Function
cFilter
($el: any, match: string)
src/utils/html/index.ts:433
↓ 6 callers
Function
cPagination
($: any)
src/utils/html/index.ts:464
↓ 6 callers
Method
catalogDetail
()
src/screens/discovery/catalog-detail/store/computed.ts:26
↓ 6 callers
Function
checkDenied
(_url: string, isGet: boolean)
src/utils/fetch/utils.ts:46
↓ 6 callers
Function
deepClone
(obj: T)
src/utils/utils/index.ts:53
↓ 6 callers
Method
eps
()
src/screens/home/subject/store/computed.ts:577
↓ 6 callers
Function
findSubjectJp
(cn: string = '', subjectId?: SubjectId)
src/utils/app/data-source.ts:145
↓ 6 callers
Function
fontSize
(pt: number, fontSizeAdjust: number = 0, transform: boolean = false)
src/styles/utils.ts:20
↓ 6 callers
Function
getCalenderEventTitle
( item: { sort?: number } = {}, subjectTitle: string = '' )
src/utils/app/timezone.ts:85
↓ 6 callers
Function
getInt
(topicId: TopicId)
src/stores/rakuen/utils.ts:9
↓ 6 callers
Function
getSetting
()
src/utils/app/utils.ts:44
↓ 6 callers
Function
getTime
(item: any, subjectId?: SubjectId)
src/screens/discovery/calendar/utils.ts:12
↓ 6 callers
Function
getWeekDay
(item: { weekDayCN?: any; weekDayJP?: any } = {})
src/utils/app/timezone.ts:67
↓ 6 callers
Function
hm
(url?: string, screen?: string, title?: string)
src/utils/track/index.ts:33
↓ 6 callers
Function
init
()
src/utils/subject/game/index.ts:54
↓ 6 callers
Function
init
()
src/utils/subject/manga/index.ts:37
↓ 6 callers
Method
list
(key: Keys)
src/screens/discovery/character/store/computed.ts:44
← previous
next →
201–300 of 5,393, ranked by callers