Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/algorithm-visualizer/server
/ functions
Functions
61 in github.com/algorithm-visualizer/server
⨍
Functions
61
◇
Types & classes
30
↓ 9 callers
Function
execute
(command: string, { stdout, stderr, ...options }: ExecuteOptions = {})
src/utils/misc.ts:56
↓ 5 callers
Method
find
(categoryKey: string, algorithmKey: string)
src/models/Hierarchy.ts:70
↓ 5 callers
Function
request
(url: string, process: (mappedUrl: string, args: any[]) => Promise<AxiosResponse<any>>)
src/utils/apis.ts:11
↓ 4 callers
Function
isEnabled
(v: string)
src/config/environments.ts:32
↓ 3 callers
Function
pull
(dir: string, repo: string, commit = 'origin/master')
src/utils/misc.ts:20
↓ 3 callers
Function
readCredentials
(file: string)
src/config/environments.ts:70
↓ 3 callers
Function
require
src/tracers/js/worker.js:5
↓ 3 callers
Method
update
(commit?: string)
src/Server.ts:83
↓ 2 callers
Function
GET
(url: string)
src/utils/apis.ts:20
↓ 2 callers
Method
build
(release: Release)
src/tracers/js/JsTracer.ts:14
↓ 2 callers
Function
createKey
(name: string)
src/utils/hierarchy.ts:4
↓ 2 callers
Function
issueHttpsCertificate
()
src/utils/misc.ts:67
↓ 2 callers
Function
listDirectories
(dirPath: string)
src/utils/hierarchy.ts:16
↓ 2 callers
Function
listFiles
(dirPath: string)
src/utils/hierarchy.ts:12
↓ 2 callers
Method
refresh
()
src/models/Hierarchy.ts:22
↓ 2 callers
Method
route
(router: express.Router)
src/tracers/js/JsTracer.ts:19
↓ 2 callers
Method
update
(commit?: string)
src/models/Hierarchy.ts:31
↓ 2 callers
Method
updateFrontend
(commit?: string)
src/Server.ts:93
↓ 1 callers
Method
cacheCommitAuthors
(page = 1, commitAuthors: CommitAuthors = {})
src/models/Hierarchy.ts:36
↓ 1 callers
Method
cacheContributors
(files: File[], commitAuthors: CommitAuthors)
src/models/Hierarchy.ts:52
↓ 1 callers
Function
errorHandlerMiddleware
()
src/middlewares/errorHandlerMiddleware.ts:4
↓ 1 callers
Function
frontendMiddleware
(server: Server)
src/middlewares/frontendMiddleware.ts:10
↓ 1 callers
Method
getApiRouter
()
src/Server.ts:74
↓ 1 callers
Function
getDescription
(files: File[])
src/utils/misc.ts:40
↓ 1 callers
Function
isDirectory
(dirPath: string)
src/utils/hierarchy.ts:8
↓ 1 callers
Method
iterate
(callback: (category: Category, algorithm: Algorithm) => void)
src/models/Hierarchy.ts:84
↓ 1 callers
Function
redirectMiddleware
()
src/middlewares/redirectMiddleware.ts:4
↓ 1 callers
Method
refresh
()
src/models/File.ts:16
↓ 1 callers
Method
refresh
()
src/models/Category.ts:14
↓ 1 callers
Method
refresh
()
src/models/Algorithm.ts:16
↓ 1 callers
Function
sandbox
src/tracers/js/worker.js:4
↓ 1 callers
Method
start
()
src/Server.ts:107
Function
DELETE
(url: string)
src/utils/apis.ts:27
Function
PATCH
(url: string)
src/utils/apis.ts:48
Function
POST
(url: string)
src/utils/apis.ts:34
Function
PUT
(url: string)
src/utils/apis.ts:41
Method
build
(release: Release)
src/tracers/DockerTracer.ts:20
Method
build
(release: Release)
src/tracers/LambdaTracer.ts:14
Function
constructor
(protected server: Server)
src/controllers/Controller.ts:7
Function
constructor
(public lang: string)
src/tracers/Tracer.ts:9
Method
constructor
()
src/Server.ts:25
Method
constructor
(server: Server)
src/controllers/TracersController.ts:6
Method
constructor
(server: Server)
src/controllers/AuthController.ts:8
Method
constructor
(server: Server)
src/controllers/VisualizationsController.ts:10
Method
constructor
(server: Server)
src/controllers/AlgorithmsController.ts:7
Method
constructor
(lang: string)
src/tracers/DockerTracer.ts:14
Method
constructor
()
src/tracers/cpp/CppTracer.ts:4
Method
constructor
()
src/tracers/js/JsTracer.ts:9
Method
constructor
()
src/tracers/java/JavaTracer.ts:4
Method
constructor
(public path: string, public name: string)
src/models/File.ts:12
Method
constructor
(private path: string, public name: string)
src/models/Category.ts:9
Method
constructor
()
src/models/Hierarchy.ts:17
Method
constructor
(private path: string, public name: string)
src/models/Algorithm.ts:11
Function
download
(url: string, localPath: string)
src/utils/misc.ts:10
Method
route
(router: express.Router)
src/tracers/DockerTracer.ts:29
Method
route
(router: express.Router)
src/tracers/LambdaTracer.ts:17
Method
toJSON
()
src/models/File.ts:21
Method
toJSON
()
src/models/Category.ts:19
Method
toJSON
()
src/models/Hierarchy.ts:88
Method
toJSON
()
src/models/Algorithm.ts:22
Function
update
(release?: Release)
src/tracers/Tracer.ts:17