solc-js is the JavaScript-based wrapper around the Solidity compiler (solc). It supports:
Compiling .sol source files
Parsing compiler input/output JSON
Generating ABI definitions
Producing EVM-ready bytecode
Checking for errors and warnings
This makes it an ideal tool for browser-based or serverless dApp infrastructure like Dialect AI, where contracts are dynamically generated and compiled in real time.