Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/freeCodeCamp/freeCodeCamp
/ create-language-block.ts
File
create-language-block.ts
tools/challenge-helper-scripts/create-language-block.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
fs from
'fs/promises'
;
2
import
path from
'path'
;
3
import
{ select, input, number } from
'@inquirer/prompts'
;
4
import
{ format } from
'prettier'
;
Callers
nothing calls this directly
Calls
7
getSuperblockStructure
Function · 0.90
getAllBlocks
Function · 0.85
getBlockPrefix
Function · 0.85
validateBlockName
Function · 0.85
getLangFromSuperBlock
Function · 0.85
createLanguageBlock
Function · 0.85
input
Function · 0.50
Tested by
no test coverage detected