Shared Helpers
Start with small typed building blocks for the patterns extension products repeat. Use the underlying Chrome APIs directly whenever your product needs more control.
Storage
Persist values and react to changes across extension surfaces.
Messaging
Send typed commands between visible UI, background, and content scripts.
DOM
Find and observe host-page elements from a content script.
Theme
Keep light, dark, and system preferences consistent across surfaces.
Auth
Read and subscribe to the Supabase session from any surface.
Environment
Read build-time public values without exposing backend secrets.
Errors
Handle backend failures through stable error codes.
