Module registry
Expand description
Package Registry.
Structs§
- Dummy
Notifier - A dummy notifier that does nothing.
- Dummy
Registry - Dummy package registry that always returns a
NotFound
error. - Http
Registry - The http package registry for typst.ts.
- JsRegistry
- The
JsRegistry
struct is a wrapper around a JavaScript function that - Memory
Registry - Creates a memory package registry from the builder.
- Package
Spec - Identifies a package.
- Package
Storage - Holds information about where packages should be stored and downloads them on demand, if possible.
- Proxy
Context - The
ProxyContext
struct is a wrapper around a JavaScript this.
Enums§
- Package
Error - An error that occurred while trying to load a package.
Constants§
- DEFAULT_
PACKAGES_ SUBDIR - The default packages sub directory within the package and package cache paths.
- DEFAULT_
REGISTRY - The default Typst registry.
Traits§
- Notifier
- A trait for package registries that can be notified.
- Package
Registry - A trait for package registries.