Module registry

Expand description

Package Registry.

Structs§

DummyNotifier
A dummy notifier that does nothing.
DummyRegistry
Dummy package registry that always returns a NotFound error.
HttpRegistry
The http package registry for typst.ts.
JsRegistry
The JsRegistry struct is a wrapper around a JavaScript function that
MemoryRegistry
Creates a memory package registry from the builder.
PackageSpec
Identifies a package.
PackageStorage
Holds information about where packages should be stored and downloads them on demand, if possible.
ProxyContext
The ProxyContext struct is a wrapper around a JavaScript this.

Enums§

PackageError
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.
PackageRegistry
A trait for package registries.