Kernel JavaScript API
Modules
| Module | Description |
|---|---|
| checkpoints | This package provides the mechanism allowing to save the user's contents at various points in time, for any kernel. |
| gui-base | The base of Basthon's interfaces (console and notebook): loading the kernel, the content given by the URL (from, script, aux, module...), sharing, downloads and kernel iframes (see GUIBase). |
| kernel-base | The base of all Basthon kernels, used by the frontends: a kernel runs the user's code (in a worker, or in the main thread for the legacy Python kernel), receives its input and dispatches its outputs as events (see KernelBase). |
| kernel-base/worker | The base of the kernels running in a worker (@basthon/kernel-base/worker): KernelMainBase on the main thread side, KernelWorkerBase in the worker, connected by expose (see "Writing a new kernel" in the contributors' documentation). |
| kernel-loader | Load a kernel from its language (dynamic import of its package) and show Basthon's loading screen meanwhile (see KernelLoader). |