remix-project mirror
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
remix-project/index.js

11 lines
292 B

var soljson = require('./bin/soljson-latest.js');
compileJSON = soljson.cwrap("compileJSON", "string", ["string", "number"]);
module.exports = {
compile: function(input, optimise){
return JSON.parse( compileJSON(input, optimise) );
},
version: soljson.cwrap("version", "string", [])
}