There is also a JavaScript-based solidity compiler available for you to use. You can install SolcJS using npm. The solc-js project is derived from the C++ solc project and can be used in JavaScript projects directly:
npm install -g solc
To see all the supported features, run the following command:
solcjs --help