Solidity compiler APIs for the Embark framework (v6.0.0, last stable release April 2020, nightly-only since). Provides programmatic access to solc integration including compilation, version management, and optimizer configuration. Designed for use within Embark's plugin system; requires Embark core and solc. Key differentiator: integrates with Embark's blockchain management, testing, and deployment pipelines. Note: Embark is in maintenance/low-activity mode; consider Hardhat or Foundry for new projects.
npm install embark-solidityNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to compile a Solidity contract using CompileCommand with version and optimizer settings.
Use Hardhat for Solidity development or Foundry for faster compilation and testing.
Use Node.js >=12 and ensure your project is ESM-compatible (e.g., `"type": "module"` in package.json).
Run `npm install solc` in your project before using embark-solidity.
Install solc: `npm install solc`
Use `import { CompileCommand } from 'embark-solidity'` instead of `import embarkSolidity from 'embark-solidity'`.Add `"type": "module"` to your package.json or use CommonJS require.