Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/freeCodeCamp/freeCodeCamp
/ functions
Functions
2,118 in github.com/freeCodeCamp/freeCodeCamp
⨍
Functions
2,118
◇
Types & classes
496
↓ 5 callers
Function
normalizeBluesky
( handleOrUrl: string | null )
api/src/utils/normalize.ts:49
↓ 5 callers
Function
normalizeProfileUI
( maybeProfileUI: ProfileUI | null )
api/src/utils/normalize.ts:125
↓ 5 callers
Function
normalizeTwitter
( handleOrUrl: string | null )
api/src/utils/normalize.ts:29
↓ 5 callers
Function
omitAttemptReferenceIds
(attempt: ExamEnvironmentExamAttempt)
api/src/exam-environment/utils/exam-environment.ts:605
↓ 5 callers
Function
openChallenge
(page: Page, challengeUrl: string)
e2e/upper-jaw-scroll-mobile.spec.ts:11
↓ 5 callers
Function
parse
(file)
tools/challenge-parser/parser/plugins/replace-imports.js:13
↓ 5 callers
Function
parseAnswer
( text: string )
client/src/templates/Challenges/fill-in-the-blank/parse-blanks.ts:38
↓ 5 callers
Function
parseHanziPinyinPairs
( text: string )
client/src/templates/Challenges/fill-in-the-blank/parse-blanks.ts:21
↓ 5 callers
Function
parseIntroJson
(filePath: string)
tools/challenge-helper-scripts/helpers/parse-json.ts:26
↓ 5 callers
Function
postChallenge
(update)
client/src/templates/Challenges/redux/completion-epic.js:56
↓ 5 callers
Function
proxyLogger
client/src/templates/Challenges/redux/execute-challenge-saga.js:268
↓ 5 callers
Function
readCurriculumIntros
(lang: Languages)
client/tools/external-curriculum/build-external-curricula-data-v2.ts:131
↓ 5 callers
Function
readJsonFile
(language: string, fileName: string)
client/i18n/schema-validation.ts:228
↓ 5 callers
Function
renderForSuperBlock
({ superBlock, isDonating }: { superBlock: SuperBlocks; isDonating: boolean; }
client/src/templates/Introduction/super-block-intro.test.tsx:498
↓ 5 callers
Function
resetDefaultUser
()
api/vitest.utils.ts:226
↓ 5 callers
Function
schemaValidation
( language: string, fileName: string, fileJson: Record<string, unknown>, schemaKeys: string[] )
client/i18n/schema-validation.ts:197
↓ 5 callers
Function
shuffleArray
(arrToShuffle: Array<T>)
packages/shared/src/utils/shuffle-array.ts:2
↓ 5 callers
Function
sign
(value: string)
api/src/plugins/cookies.ts:26
↓ 5 callers
Function
sortChallengeFiles
( challengeFiles: File[] )
client/utils/sort-challengefiles.ts:1
↓ 5 callers
Function
splitOnThematicBreak
(nodes)
tools/challenge-parser/parser/plugins/utils/split-on-thematic-break.js:5
↓ 5 callers
Function
toLearnPath
({ block, challenge, superBlock }: ToLearnPathKwargs)
client/src/utils/to-learn-path.ts:13
↓ 5 callers
Function
updateChapterModuleSuperblockStructure
( block: string, position: { order: number; chapter: string; module: string }, superblockFilename: strin
tools/challenge-helper-scripts/helpers/create-project.ts:62
↓ 5 callers
Function
updateSimpleSuperblockStructure
( block: string, position: { order?: number }, superblockFilename: string )
tools/challenge-helper-scripts/helpers/create-project.ts:9
↓ 5 callers
Function
updateUserChallengeData
( fastify: FastifyInstance, user: Pick< user, | 'id' | 'completedChallenges' | 'needsModer
api/src/utils/common-challenge-functions.ts:118
↓ 5 callers
Function
waitUntilHydrated
(page: Page, pageId: PageId)
e2e/hotkeys.spec.ts:58
↓ 5 callers
Function
withTrace
( fn: (...x: Args) => Promise<Result>, ...args: Args )
tools/challenge-helper-scripts/helpers/utils.ts:12
↓ 4 callers
Function
add
(field, value)
tools/challenge-parser/parser/plugins/table-and-strikethrough.js:18
↓ 4 callers
Function
addMetaToChallenge
( challengeIn: Partial<Challenge>, meta: Meta )
curriculum/src/build-superblock.ts:147
↓ 4 callers
Function
avatarHasClass
( componentTree: ReactTestRendererJSON | ReactTestRendererJSON[] | null, classes: string )
client/src/components/Header/header.test.tsx:78
↓ 4 callers
Function
buildBlock
(foundChallenges: Challenge[], meta: Meta)
curriculum/src/build-superblock.ts:123
↓ 4 callers
Function
buildChallengeData
(challengeData, options)
client/src/templates/Challenges/redux/execute-challenge-saga.js:182
↓ 4 callers
Function
checkAttemptAgainstGeneratedExam
( questionSets: ExamEnvironmentQuestionSetAttempt[], generatedExam: Pick<ExamEnvironmentGeneratedExam, 'qu
api/src/exam-environment/utils/exam-environment.ts:198
↓ 4 callers
Function
checkPrerequisites
( user: PartialUser, prerequisites: ExamEnvironmentExam['prerequisites'] )
api/src/exam-environment/utils/exam-environment.ts:33
↓ 4 callers
Function
closestMatch
( target: string, xs: string[] )
curriculum/src/filter.ts:166
↓ 4 callers
Function
constructUserExam
( generatedExam: ExamEnvironmentGeneratedExam, exam: ExamEnvironmentExam )
api/src/exam-environment/utils/exam-environment.ts:61
↓ 4 callers
Function
createAuthToken
(userId: string, ttl?: number)
api/src/utils/tokens.ts:51
↓ 4 callers
Function
createBlockFolder
(block: string)
curriculum/src/file-handler.ts:180
↓ 4 callers
Function
createMSUsernameRecord
(msUsername: string)
api/src/routes/protected/challenge.test.ts:1824
↓ 4 callers
Function
createOnChangeHandler
(id: string, key: 'description' | 'image' | 'title' | 'url')
client/src/components/profile/components/portfolio.tsx:102
↓ 4 callers
Function
createPageProps
( setup: TestSetup, superBlock: SuperBlocks, overrides: Record<string, unknown> = {} )
client/src/templates/Introduction/super-block-intro.test.tsx:269
↓ 4 callers
Function
createPoly
({ name, ext, contents, history, ...rest }: PolyProps & Rest)
packages/shared/src/utils/polyvinyl.ts:37
↓ 4 callers
Function
createRequestListener
()
api/src/plugins/error-handling.test.ts:247
↓ 4 callers
Function
createSetup
(superBlock: SuperBlocks)
client/src/templates/Introduction/super-block-intro.test.tsx:212
↓ 4 callers
Function
createStepFile
({ stepNum, challengeType, challengeId, projectPath = getProjectPath(), challengeSeeds = [], isFir
tools/challenge-helper-scripts/utils.ts:52
↓ 4 callers
Function
createTouchEvent
( type: 'touchstart' | 'touchmove' | 'touchend' | 'touchcancel', x: number, y: number, identifier = 7
client/src/templates/Challenges/classic/content-widget-events.test.tsx:43
↓ 4 callers
Function
delay
(time = 0, fn)
client/src/redux/failed-updates-epic.js:23
↓ 4 callers
Function
delay
(ms: number)
api/src/plugins/error-handling.test.ts:28
↓ 4 callers
Function
duplicates
(xs: T[])
curriculum/src/build-superblock.ts:26
↓ 4 callers
Function
encodeUserToken
(userToken: string)
api/src/utils/tokens.ts:12
↓ 4 callers
Function
filterByBlock
( superblocks: T[], { block }: { block?: string } = {} )
curriculum/src/filter.ts:10
↓ 4 callers
Function
filterByChallengeId
(superblocks: T[], { challengeId }: { challengeId?: string } = {})
curriculum/src/filter.ts:57
↓ 4 callers
Function
findAll
* Finds all nodes in a tree that match a given condition. This is a trivial * extension of `unist-util-find` that returns all matching nodes. * * @
tools/challenge-parser/parser/plugins/utils/find-all.js:13
↓ 4 callers
Function
format
(x)
tools/client-plugins/browser-scripts/utils/format.js:6
↓ 4 callers
Function
formatSecondsToTime
(s: number)
client/src/utils/format-seconds.ts:1
↓ 4 callers
Function
formattedAmountLabel
(amount: number)
client/src/components/Donation/utils.ts:6
↓ 4 callers
Function
generateGithubLink
(challengeId: string, block: string)
client/src/components/create-github-link.ts:6
↓ 4 callers
Function
generateSuperBlockList
(config: Config)
packages/shared/src/config/curriculum.ts:346
↓ 4 callers
Function
getAllBlocks
()
tools/challenge-helper-scripts/utils.ts:39
↓ 4 callers
Function
getBaseMeta
( projectType: 'Step' | 'Quiz' | 'Language' | 'FullStack' )
tools/challenge-helper-scripts/helpers/get-base-meta.ts:53
↓ 4 callers
Function
getCSRFToken
()
client/src/utils/ajax.ts:28
↓ 4 callers
Function
getChallenge
(challengeId: string)
tools/challenge-helper-scripts/utils.ts:281
↓ 4 callers
Function
getChallengeIdsByBlock
(blockId: string)
api/src/utils/get-challenges.ts:90
↓ 4 callers
Function
getChallengesForLang
( lang: string, filters: Filter = curriculumFilter // default to global curriculum filter, but allow overr
curriculum/src/get-challenges.ts:14
↓ 4 callers
Function
getContentConfig
( lang: string, { baseDir, i18nBaseDir } = { baseDir: CURRICULUM_DIR, i18nBaseDir: I18N_CURRICULUM
curriculum/src/file-handler.ts:48
↓ 4 callers
Function
getContentDir
(lang: string)
curriculum/src/file-handler.ts:99
↓ 4 callers
Function
getCookies
(setCookies: string[])
api/vitest.utils.ts:39
↓ 4 callers
Function
getCurriculumStructure
()
curriculum/src/file-handler.ts:105
↓ 4 callers
Function
getFileName
(id: string)
tools/challenge-helper-scripts/helpers/get-file-name.ts:5
↓ 4 callers
Function
getGithubLinkBlock
(block, challengeType)
client/src/templates/Challenges/redux/create-question-epic.js:135
↓ 4 callers
Function
getHook
(tree, sectionName)
tools/challenge-parser/parser/plugins/add-hooks.js:23
↓ 4 callers
Function
getNowUsCentral
()
api/src/daily-coding-challenge/utils/helpers.ts:6
↓ 4 callers
Function
getParagraphContent
(node)
tools/challenge-parser/parser/plugins/utils/get-paragraph-content.js:3
↓ 4 callers
Function
getRandomInt
(min: number, max: number)
client/src/templates/Challenges/components/scene/character.tsx:23
↓ 4 callers
Function
getSearchInput
({ page, isMobile }: { page: Page; isMobile: boolean; })
e2e/search-bar.spec.ts:11
↓ 4 callers
Function
getSearchInput
({ page, isMobile }: { page: Page; isMobile: boolean; })
e2e/search-bar-optimized.spec.ts:4
↓ 4 callers
Function
getSuperblocks
( block: string, _addSuperblockStructure = addSuperblockStructure )
curriculum/src/build-curriculum.ts:350
↓ 4 callers
Function
getTSConfig
(challengeFiles: ChallengeFile[])
packages/challenge-builder/src/build.ts:187
↓ 4 callers
Function
getUtcMidnight
(date: Date)
api/src/daily-coding-challenge/utils/helpers.ts:16
↓ 4 callers
Function
getVersion
()
client/src/utils/version.ts:16
↓ 4 callers
Function
getVersionObject
()
client/src/utils/version.ts:26
↓ 4 callers
Function
goToLandingPage
(page: Page)
e2e/landing.spec.ts:39
↓ 4 callers
Function
handleLanguageChange
(language: DailyCodingChallengeLanguages)
client/src/templates/Challenges/classic/action-row.tsx:144
↓ 4 callers
Function
hasEditableRegion
()
client/src/templates/Challenges/classic/editor.tsx:1152
↓ 4 callers
Function
inLastFiveMinutes
(unixTimestamp: number)
api/src/utils/validate-donation.ts:6
↓ 4 callers
Method
initialize
(data: { challengeNodes: ChallengeNode[]; certificateNodes: CertificateNode[]; superBlockStructure
client/src/services/curriculum-data.ts:20
↓ 4 callers
Function
insertErms
(seedCode: string, erms: number[])
tools/challenge-helper-scripts/helpers/insert-erms.ts:2
↓ 4 callers
Function
isCertified
( user: Partial<CertificationFlags>, cert: Certification )
packages/shared/src/config/certification-settings.ts:254
↓ 4 callers
Function
isCodeAllyProjectCompleted
({ challengeId, completedChallenges, partiallyCompletedChallenges }: { challengeId: string; complete
client/src/templates/Challenges/codeally/project-submit.ts:5
↓ 4 callers
Function
isHandledError
(err: unknown)
client/src/utils/handled-error.ts:15
↓ 4 callers
Function
isProjectBased
( challengeType: number, blockDashedName: unknown = null )
client/src/utils/curriculum-layout.ts:22
↓ 4 callers
Function
isSignedInSelector
client/src/redux/selectors.js:29
↓ 4 callers
Function
isValidDateString
(dateString: string)
client/src/components/daily-coding-challenge/helpers.ts:23
↓ 4 callers
Function
loadPresetReact
()
packages/challenge-builder/src/transformers.js:74
↓ 4 callers
Function
mapFilesToChallengeFiles
( fileContainer: ({ files: (File & { key: string })[] } & Rest)[] = [] )
client/src/utils/ajax.ts:137
↓ 4 callers
Function
normalizeFlags
( flags: T )
api/src/utils/normalize.ts:233
↓ 4 callers
Function
orderedSuperBlockInfo
( intros: CurriculumIntros = readCurriculumIntros(getCurriculumLocale()) )
client/tools/external-curriculum/build-external-curricula-data-v2.ts:140
↓ 4 callers
Function
renderDeleteModal
( props: Partial<React.ComponentProps<typeof DeleteModal>> = {} )
client/src/components/settings/delete-modal.test.tsx:28
↓ 4 callers
Function
renderExamResultsModal
({ results = examResults, isOpen = true }: { results?: GeneratedExamResults | null; isOpen?: boolean;
client/src/components/SolutionViewer/exam-results-modal.test.tsx:81
↓ 4 callers
Function
renderWithRedux
(ui: JSX.Element)
client/src/components/settings/certification.test.tsx:17
↓ 4 callers
Function
rollbackUsage
()
api/src/routes/protected/socrates.ts:88
← previous
next →
201–300 of 2,118, ranked by callers