{"library":"webextension-polyfill-global","type":"library","category":null,"description":"webextension-polyfill-global is a utility package designed to make Mozilla's `webextension-polyfill` readily available as a global `browser` object within web extensions, even when using bundlers like Webpack or Parcel. It addresses a known issue where the upstream `webextension-polyfill` can be challenging to import as a true global polyfill, often requiring manual `import()` calls or complex bundler configurations. This package simplifies that process by directly making the polyfill globally accessible upon import. The current stable version is 0.10.1-1. As a wrapper, its release cadence is typically tied to updates in the core `webextension-polyfill` or improvements in its global registration mechanism, though it has seen consistent maintenance. Its key differentiator is its singular focus on providing a simple, fire-and-forget global registration for the browser API, streamlining development for extension authors who prefer the `browser` global over explicit imports everywhere.","language":"javascript","status":"active","version":"0.10.1-1","tags":["javascript","register","global","webpack","parcel","web extension","webext","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install webextension-polyfill-global","imports":["import 'webextension-polyfill-global';"]},{"cmd":"yarn add webextension-polyfill-global","imports":[]},{"cmd":"pnpm add webextension-polyfill-global","imports":[]}],"homepage":null,"github":"https://github.com/fregante/webextension-polyfill-global","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/webextension-polyfill-global","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/webextension-polyfill-global/compatibility"}}