{"library":"web-ext","type":"library","category":null,"description":"web-ext is a command-line interface (CLI) tool developed by Mozilla to streamline the development, testing, and distribution of WebExtensions. It supports cross-browser compatibility, initially focusing on Firefox Extensions, but also providing features for Chromium-based browsers like Chrome and Opera. The current stable version is 10.1.0, with frequent updates, often on a monthly or bi-weekly basis, to support new browser versions, API schemas, and Node.js LTS releases. Key differentiators include its tight integration with Firefox's extension ecosystem, including signing and submission to addons.mozilla.org (AMO), and built-in linting for manifest and source file validation. While primarily a CLI, it offers limited programmatic API support for advanced use cases.","language":"javascript","status":"active","version":"10.1.0","tags":["javascript","web","extensions","web extensions","browser extensions","firefox","mozilla","add-ons","google"],"last_verified":"Wed May 27","install":[{"cmd":"npm install web-ext","imports":["import webExt from 'web-ext';\n\nwebExt.cmd.run({\n  sourceDir: './path/to/your/extension/source',\n  firefox: 'developer',\n}, {\n  shouldExitProgram: false,\n});","import webExt from 'web-ext';\n\nasync function lintExtension() {\n  try {\n    const results = await webExt.cmd.lint({\n      sourceDir: './path/to/your/extension/source',\n      // Optional: Set strict_min_version to '100' for stricter checks\n    }, {\n      shouldExitProgram: false,\n    });\n    console.log('Linting complete:', results.summary);\n  } catch (error) {\n    console.error('Linting failed:', error);\n  }\n}\n\nlintExtension();","npx web-ext run --source-dir ./extension-dist --firefox=nightly"]},{"cmd":"yarn add web-ext","imports":[]},{"cmd":"pnpm add web-ext","imports":[]}],"homepage":"https://extensionworkshop.com/documentation/develop/web-ext-command-reference/","github":"https://github.com/mozilla/web-ext","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/web-ext","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/web-ext/compatibility"}}