CTFd.js is available on npm as
Initialize the CTFd class object with the data needed to access the API and also subscribe to the Server Sent Events (SSE) notification endpoints (
Access the CTFd configuration variables that were set during initalization.
CTFd REST API wrappers used for each of the main CTFd pages
Call the CTFd wrapper for fetch
Various utility functions that can be useful for improving the CTFd UI
Vendored versions of third party libraries for easier use