CRX Compiler is a CLI tool for building and signing Chrome extensions. It automates TypeScript compilation, packaging into CRX/ZIP formats, and key generation for signing. Current stable version 1.1.3. Designed for developers who need a simple, all-in-one build pipeline for Chrome extensions without manual steps. Differentiators: built-in tsconfig generation, key generation in RSA 2048, and both CRX and ZIP output. Ships TypeScript declarations for API usage.
npm install crx-compilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Complete build pipeline: init TS config, precompile, generate keys, and build CRX+ZIP with cleanup.
Update Node.js to 14 or later, npm to 6 or later.
After crx-keygen, read public_key.pem, convert to base64, and add to manifest.json.
Replace crx-tsconfig with crx-tsc-init.
Use -C for clean all, -c for only CRX.
Run crx-keygen first or provide path to existing private key.
Run crx-precompile or specify manifest path via --manifest.
Use npx or install globally: npm install -g crx-compiler.
Use crx-tsc-init instead of crx-tsconfig.
Generate keys first with crx-keygen or provide correct path to existing key.
No dependency data recorded yet.