Package exports
@nimblebrain/synapse exposes several entry points. Import only the subpath you
need.
| Entry Point | Description |
|---|---|
@nimblebrain/synapse |
Vanilla JS core. connect(), createSynapse(), createStore() |
@nimblebrain/synapse/react |
React hooks and providers (AppProvider, SynapseProvider) |
@nimblebrain/synapse/ui |
Component library. Tokens, primitives, components, layouts |
@nimblebrain/synapse/ui/base |
Side-effect import that establishes the root-height chain (html, body, #root) the app shell fills. AppFrame does this automatically on render. Import it in your entry to apply it before first paint. |
@nimblebrain/synapse/vite |
Vite plugin for dev mode |
@nimblebrain/synapse/codegen |
CLI and programmatic code generation |
@nimblebrain/synapse/iife |
Pre-built IIFE bundle for <script> tags (window.Synapse) |
@nimblebrain/synapse/iife/ui |
Pre-built cross-host UI-client IIFE for <script> tags (window.SynapseUI) |
@nimblebrain/synapse/host |
Cross-host UI client. connectUI() and the push-first façade for ChatGPT, Claude, NimbleBrain, and standalone hosts |