Overview of webext-core packages
mainwebext-core is a collection of utilities designed to make writing and testing web extensions easier across all browsers. The project is modular, providing specialized packages for common extension development tasks:
@webext-core/storage: A type-safe API for accessing extension storage, similar to local storage.@webext-core/messaging: A simplified, type-safe API for cross-context message passing.@webext-core/job-scheduler: Tools to schedule and manage recurring jobs within an extension.@webext-core/match-patterns: Utilities for handling and working with web extension match patterns.@webext-core/proxy-service: Allows calling functions that execute in a different JavaScript context (e.g., executing logic in the background script from a content script).@webext-core/isolated-element: Provides containers with styles isolated from the host page's CSS.@webext-core/fake-browser: An in-memory implementation of web extension APIs used for testing extension logic without a real browser.