Web Extension Messenger
JSON →webext-messenger is a focused JavaScript library designed to streamline inter-component communication within browser extensions. It provides a robust framework for message passing between different parts of an extension, such as background scripts, content scripts, and web pages, as well as offscreen documents. The current stable version is 0.35.0, with frequent minor releases indicating active development, often introducing new features and internal optimizations. A key differentiator is its emphasis on minimizing external dependencies, aiming for a lightweight footprint, as evidenced by recent efforts to drop libraries like `p-retry` and `webextension-polyfill` for core functionality. This library simplifies complex messaging patterns, abstracting away the underlying browser `runtime.sendMessage` and `runtime.onMessage` APIs to offer a more developer-friendly interface for building robust and scalable browser extensions.
Traffic · last 30 days ↑100% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇩🇪 Germany