Check the compatibility of a Chrome extension with the Firefox WebExtensions API.
npm install -g crx2ff# Analyse an extension
crx2ff analyse <extension> [--exclude-glob=<GLOB>] [--reporter=<REPORTER>] [--report-file=<FILE>]
# Convert an extension
crx2ff convert <extension> [--exclude-glob=<GLOB>] [--output=<FILE>] [--id=<ID>]The extension to process can be provided as:
- A path to a local extension folder
- A path to a local crx or zip of the extension
- An id of an extension stored on the Chrome WebStore
Common arguments
--exclude-glob=GLOB: aminimatchglob to exclude paths during analysis/packaging. Defaults to**/{.git,.hg,.svn,.DS_Store,*.pem}.
Reporting arguments
--reporter=REPORTERAnalysis reporter selection (defaults to cli)--report-file=FILEOutput file for json reporting (defaults to ./crx2ff.json)
Conversion arguments
--output=FILEConversion output file (defaults to ./crx2ff.xpi)--id=IDCreated extension id (defaults to crx2ff@example.org)--no-proxyDo not includechrome-apis-proxy.jsfor unsupported API access logging
MIT