π Introduction
Typed settings and cross-browser plumbing for Firefox WebExtensions, built for extensions with no bundler.
webext is a small library that gives a Firefox WebExtension typed, default-aware settings and a promise adapter over browser and chrome. It is designed for extensions that ship their source as-is, so it is vendored into the repo as a single script rather than resolved at runtime. For the interface side, see the sibling webext-ui library.
What's here
- π¦ Vendoring β getting the built file into a no-build extension and loading it in every context
- βοΈ Settings β
defineSettings, defaults, change subscriptions and failure behaviour - π API and messaging β
api,invokeandsendToActiveTab - π Releasing extensions β the reusable workflows that sign, upload and list an extension on AMO