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
↓ 8 callers
Function
addGrowthbookCookie
({ context, variation }: { context: BrowserContext; variation: string; })
e2e/utils/add-growthbook-cookie.ts:3
↓ 8 callers
Function
getArgValue
(argv: string[] = [])
tools/challenge-helper-scripts/helpers/get-arg-value.ts:2
↓ 8 callers
Function
getIsDailyCodingChallenge
(challengeType: number)
packages/shared/src/config/challenge-types.ts:178
↓ 8 callers
Function
insertInto
(arr: T[], index: number, elem: T)
tools/challenge-helper-scripts/helpers/utils.ts:1
↓ 8 callers
Function
isObjectID
(id?: string)
api/src/utils/validation.ts:11
↓ 8 callers
Function
makeAction
client/src/redux/remove-module-challenges.test.js:6
↓ 8 callers
Function
mdastToHTML
(nodes, hastOptions = {})
tools/challenge-parser/parser/plugins/utils/mdast-to-html.js:5
↓ 8 callers
Function
normalizeChallenges
( completedChallenges: CompletedChallenge[] )
api/src/utils/normalize.ts:181
↓ 8 callers
Function
reducer
(state = baseState)
client/src/templates/Challenges/redux/ask-socrates-saga.test.js:53
↓ 8 callers
Function
renderCompletionModal
( props: Partial<React.ComponentProps<typeof CompletionModal>> = {} )
client/src/templates/Challenges/components/completion-modal.test.tsx:77
↓ 8 callers
Function
submitExam
(exam: ExamSubmission)
api/src/routes/protected/challenge.test.ts:2241
↓ 8 callers
Function
togglePane
(pane: string)
client/src/templates/Challenges/classic/desktop-layout.tsx:185
↓ 8 callers
Function
validateDate
({ date, isRequired, fieldName }: { date: string; isRequired: boolean; fieldName: 'start-date' | '
client/src/components/profile/components/experience.tsx:47
↓ 7 callers
Function
assignVariantBucket
(userId: string)
api/src/utils/drip-campaign.ts:10
↓ 7 callers
Function
buildFrontMatter
({ challengeId, title, dashedName, challengeType, challengeLang, inputType }: ChallengeOptions)
tools/challenge-helper-scripts/helpers/get-challenge-template.ts:18
↓ 7 callers
Function
challengeFilesSelector
client/src/templates/Challenges/redux/selectors.js:18
↓ 7 callers
Function
createTypes
(types: string[], ns: string)
client/src/utils/create-types.ts:16
↓ 7 callers
Function
embedScript
(script, source, contents)
packages/challenge-builder/src/transformers.js:273
↓ 7 callers
Function
get
( path: string, signal?: AbortSignal )
client/src/utils/ajax.ts:41
↓ 7 callers
Function
getAllBefore
(tree, marker)
tools/challenge-parser/parser/plugins/utils/before-heading.js:4
↓ 7 callers
Function
getCurrentBlockIds
( allChallengesInfo: AllChallengesInfo, block: string, certification: Certification, challengeType: nu
client/src/utils/get-completion-percentage.ts:38
↓ 7 callers
Function
getFallbackFullStackDate
( completedChallenges: { id: string; completedDate: Prisma.JsonValue }[], completedDate: Prisma.JsonValue
api/src/routes/helpers/certificate-utils.ts:35
↓ 7 callers
Function
getMsTranscriptApiUrl
(msTranscript: string)
api/src/routes/protected/user.ts:51
↓ 7 callers
Function
mergeChallengeFiles
( files?: ChallengeFile[] | null, savedFiles?: SavedChallengeFile[] | null )
client/src/templates/Challenges/classic/saved-challenges.ts:3
↓ 7 callers
Function
mockAuthSuccess
()
api/src/plugins/auth0.test.ts:130
↓ 7 callers
Function
normalize
(s: string)
client/src/templates/Challenges/components/pinyin-to-hanzi-input.tsx:6
↓ 7 callers
Function
normalizeChallengeType
( challengeType?: Prisma.JsonValue )
api/src/utils/normalize.ts:97
↓ 7 callers
Function
playTone
(state: ToneStates)
client/src/utils/tone/index.ts:98
↓ 7 callers
Function
replaceTextInCodeEditor
({ page, browserName, isMobile, text, containerId = 'editor-container-indexhtml' }: InsertTextParame
e2e/output.spec.ts:31
↓ 7 callers
Function
sToMs
(n: number)
client/src/templates/Challenges/components/scene/scene.tsx:24
↓ 7 callers
Function
setupServer
()
api/src/plugins/csrf.test.ts:17
↓ 7 callers
Function
unwrapHandledError
( err: HandledError )
client/src/utils/handled-error.ts:19
↓ 7 callers
Function
wrapHandledError
( err: Error, { type, message, redirectTo }: ErrorData )
client/src/utils/handled-error.ts:25
↓ 6 callers
Function
babelTransformCode
packages/challenge-builder/src/transformers.js:89
↓ 6 callers
Function
byId
(id: string)
client/src/components/profile/components/experience.tsx:98
↓ 6 callers
Function
byId
(id: string)
client/src/components/profile/components/portfolio.tsx:56
↓ 6 callers
Function
canSubmitCodeRoadCertProject
( id: string | undefined, { partiallyCompletedChallenges, completedChallenges }: { partially
api/src/routes/helpers/challenge-helpers.ts:10
↓ 6 callers
Function
createChallengeFile
( filename: string, template: string, path = getProjectPath() )
tools/challenge-helper-scripts/utils.ts:73
↓ 6 callers
Function
createOnChangeHandler
( id: string, key: | 'title' | 'company' | 'location' | 'startDate
client/src/components/profile/components/experience.tsx:127
↓ 6 callers
Function
flattenAnObject
(obj: Record<string, unknown>, namespace = '')
client/i18n/schema-validation.ts:18
↓ 6 callers
Function
formatProjectCompletedValidation
( errors: ErrorObject[] )
api/src/utils/error-formatting.ts:32
↓ 6 callers
Function
generateMockSubCreate
(status: string)
api/src/routes/protected/donate.test.ts:114
↓ 6 callers
Function
generateSearchLink
( title: string, block: string, superBlock: string )
client/src/templates/Challenges/components/help-modal.tsx:45
↓ 6 callers
Function
getCalendar
( progressTimestamps: ProgressTimestamp[] | null )
api/src/utils/progress.ts:9
↓ 6 callers
Function
getComponentNameAndProps
( elementType: React.JSXElementConstructor<never>, pathname: string, pageContext?: { challengeMeta?: { b
client/utils/gatsby/layout-selector.test.tsx:28
↓ 6 callers
Function
getId
(node)
tools/challenge-parser/parser/plugins/utils/get-id.js:2
↓ 6 callers
Function
getPythonWorker
()
client/src/templates/Challenges/utils/python-worker-handler.ts:16
↓ 6 callers
Function
getTemplate
(challengeType: string)
tools/challenge-helper-scripts/helpers/get-challenge-template.ts:495
↓ 6 callers
Function
getTodayUsCentral
(dateObj: Date = new Date())
client/src/components/daily-coding-challenge/helpers.ts:16
↓ 6 callers
Method
init
()
client/src/components/growth-book/growth-book-wrapper.test.tsx:79
↓ 6 callers
Function
isExamId
(id: string)
api/src/utils/get-challenges.ts:83
↓ 6 callers
Function
isMathJaxAllowed
(pathname: string)
client/src/utils/math-jax.ts:7
↓ 6 callers
Function
isPictureWithProtocol
(picture?: string)
api/src/routes/protected/settings.ts:46
↓ 6 callers
Function
isPoly
(poly: unknown)
packages/shared/src/utils/polyvinyl.ts:61
↓ 6 callers
Function
lint
packages/challenge-linter/src/linter/index.js:11
↓ 6 callers
Function
loadBabel
()
packages/challenge-builder/src/transformers.js:48
↓ 6 callers
Function
mockAlgolia
({ page, hitsPerPage }: { page: Page; hitsPerPage: number; })
e2e/search-bar.spec.ts:44
↓ 6 callers
Function
projectFormValuesSelector
client/src/templates/Challenges/redux/selectors.js:66
↓ 6 callers
Function
removeNulls
( obj: T )
api/src/utils/normalize.ts:151
↓ 6 callers
Function
renderActionRow
(props: Partial<typeof defaultProps> = {})
client/src/templates/Challenges/classic/action-row.test.tsx:47
↓ 6 callers
Function
search
({ page, isMobile, query }: { page: Page; isMobile: boolean; query: string; })
e2e/search-bar.spec.ts:29
↓ 6 callers
Function
setup
(attributes: CookieSerializeOptions)
api/src/plugins/cookie-update.test.ts:18
↓ 6 callers
Function
userAgentDataToArchitecture
({ architecture, bitness }: HighEntropyValues)
client/src/templates/Challenges/utils/use-detect-os.ts:22
↓ 6 callers
Function
userAttemptToDatabaseAttemptQuestionSets
( userAttempt: Static< typeof schemas.examEnvironmentPostExamAttempt.body.properties.attempt >, late
api/src/exam-environment/utils/exam-environment.ts:240
↓ 6 callers
Function
verifyTrophyWithMicrosoft
({ msUsername, msTrophyId }: { msUsername: string; msTrophyId: string; })
api/src/routes/helpers/challenge-helpers.ts:91
↓ 6 callers
Function
writeBlockStructure
(block: string, structure: unknown)
curriculum/src/file-handler.ts:196
↓ 5 callers
Function
borderColorPicker
( isDonating?: boolean, isTopContributor?: boolean )
client/src/components/helpers/border-color-picker.ts:1
↓ 5 callers
Function
challengeHasPreview
({ challengeType }: { challengeType: number; })
client/src/templates/Challenges/utils/build.ts:89
↓ 5 callers
Function
closestFilters
( superblocks: Filterable[], target?: Filter )
curriculum/src/filter.ts:199
↓ 5 callers
Method
compile
(rawCode: string, fileName: string)
tools/client-plugins/browser-scripts/modules/typescript-compiler.ts:87
↓ 5 callers
Function
completeChallenges
({ page, browserName, isMobile, number }: { page: Page; browserName: string; isMobile: boolean;
e2e/donation-modal.spec.ts:85
↓ 5 callers
Function
createCommentMap
( dictionariesDir: string, targetDictionariesDir: string )
curriculum/src/build-curriculum.ts:98
↓ 5 callers
Function
createExamResults
(userExam: UserExam, originalExam: Exam)
api/src/utils/exam.ts:64
↓ 5 callers
Function
createHandleChange
(key: keyof Socials)
client/src/components/profile/components/internet.tsx:96
↓ 5 callers
Function
createLanguageRedirect
({ clientLocale, lang }: { clientLocale: string; lang: string; })
client/src/components/create-language-redirect.ts:1
↓ 5 callers
Function
decodeFiles
(files: T[])
api/src/routes/helpers/challenge-helpers.ts:150
↓ 5 callers
Function
expectQuestionNumber
(questionNumber: number)
client/src/templates/Challenges/exam/show.test.tsx:259
↓ 5 callers
Function
fire
( particleRatio: number, opts: { spread?: number; startVelocity?: number; decay?: nu
client/src/utils/fire-confetti.ts:10
↓ 5 callers
Function
formatDisplayDate
(dateString: string)
client/src/components/daily-coding-challenge/helpers.ts:29
↓ 5 callers
Function
generateSearchPlaceholder
( options: GenerateSearchPlaceholderOptions = {} )
client/tools/generate-search-placeholder.ts:60
↓ 5 callers
Function
getBabelOptions
( presets, { preview, disableLoopProtectTests, disableLoopProtectPreview } = { preview: false, dis
packages/challenge-builder/src/transformers.js:184
↓ 5 callers
Function
getBlockStructure
(block: string)
curriculum/src/file-handler.ts:190
↓ 5 callers
Function
getBlockStructurePath
(block: string)
curriculum/src/file-handler.ts:117
↓ 5 callers
Function
getChallenges
(lang, filters)
curriculum/src/test/test-challenges.js:141
↓ 5 callers
Function
getCollegeAlgebraPyPath
(project: string)
client/config/cert-and-project-map.ts:975
↓ 5 callers
Function
getCompletedChallengesInBlock
( completedChallengesIds: string[], currentBlockIds: string[], currentChallengeId: string )
client/src/utils/get-completion-percentage.ts:23
↓ 5 callers
Function
getCurrentCount
()
client/src/utils/session-storage.ts:7
↓ 5 callers
Function
getDailyCodingChallengeLanguage
( challengeType: number )
packages/shared/src/config/challenge-types.ts:195
↓ 5 callers
Function
getEditorContentWidth
(editor: editor.IStandaloneCodeEditor)
client/src/templates/Challenges/classic/editor.tsx:956
↓ 5 callers
Function
getGuideUrl
({ forumTopicId, title = '' }: GuideData)
client/src/templates/Challenges/utils/index.ts:11
↓ 5 callers
Function
getJavaScriptAlgoPath
(project: string)
client/config/cert-and-project-map.ts:979
↓ 5 callers
Function
getLangCode
(locale: PropertyKey)
packages/shared/src/config/i18n.ts:120
↓ 5 callers
Function
getPrefixedLandingPath
(origin: string, pathPrefix?: string)
api/src/utils/redirection.ts:94
↓ 5 callers
Function
getResponsiveWebDesignPath
(project: string)
client/config/cert-and-project-map.ts:971
↓ 5 callers
Function
getScrollbarWidth
()
client/src/utils/scrollbar-width.ts:3
↓ 5 callers
Function
getTop
()
e2e/upper-jaw-scroll-mobile.spec.ts:104
↓ 5 callers
Function
getValidationStateFor
(maybeURl = '')
client/src/components/profile/components/internet.tsx:76
↓ 5 callers
Function
getWaitMessage
({ sentAt, now = new Date() }: WaitMesssageArgs)
api/src/routes/protected/settings.ts:27
↓ 5 callers
Function
initialShowState
(key: string, defaultValue: boolean)
client/src/templates/Challenges/classic/desktop-layout.tsx:113
↓ 5 callers
Function
insertEditableRegions
(challengeFiles = [])
client/src/templates/Challenges/redux/create-question-epic.js:50
← previous
next →
101–200 of 2,118, ranked by callers