@unbound-app/api package. Import what you need by name, and if you prefer, each module is also a subpath. The whole surface mirrors the unbound global at runtime.
Metro is the foundation. Almost everything else (assets, i18n, stores, your own addons) locates Discord’s modules through it first. If you’re new here, start there.
Modules
Metro
Locate the exact Discord module you need before you patch it.
Storage
Reactive, persisted settings: read, write, and re-render on change.
Assets
Discover Discord’s bundled images and icons by name.
Native
Bridge to the app’s native iOS and Android modules.
Toasts
Show transient, non-blocking notifications.
i18n
Localize your addon to the user’s Discord language.
File System
Read, write, and check files against the documents directory.
Managers
How plugins and themes are loaded, started, and persisted.