@ethronjs/plugin.solidity
v0.2.0
Published
Ethron.js plugin for Solidity language.
Downloads
1
Readme
@ethronjs/plugin.solidity
Ethron.js plugin for Solidity language.
Developed in Dogma, compiled to JavaScript.
Engineered in Valencia, Spain, EU by EthronLabs.
Use
const sol = require("@ethronjs/plugin.solidity")
sol.lint()
This task lints Solidity files, using solhint:
sol.lint(src)
sol.lint({src})
src
(string or string[]), one or more files and/or directories to parse.
sol.compile()
This task compiles Solidity files, using solc:
sol.compile({src, dst, opts})
sol.compile(src, dst, opts?)
src
(string or string[]), one or more files and/or directories to compile.dst
(string), the destination directory.opts
(object), compilation settings.