Node.js module¶
Usage¶
var ccc = require('cccompiler');
var res = ccc(filename, options);
console.log(res.contracts.contractName.preprocessed);
Where filename
is the name of the file to compile, options
are described in
Compilation options and return value is Output JSON Object.