Skip to content

Runtime packages

ExtForge ships first-party runtime packages as subpaths of the extforge npm package. No extra installs, no extra lockfile entries.

SubpathUse case
extforge/storageTyped chrome.storage wrapper with watch API and namespaces
extforge/storage/reactuseStorage() React hook
extforge/messagingTyped RPC over chrome.runtimedefineHandler, sendMessage, ports
extforge/csuiMount UI inside a Shadow DOM on matched pages. File-based discovery
extforge/env.env loader, EXTFORGE_PUBLIC_* keys inlined into bundles
extforge/loggerStructured logger with JSON transport — exported for plugins and CI

Each subpath has its own import and types entry in package.json#exports, so tree-shaking only pulls in what you import.