Home

Awesome

solidity-extract-imports

Build Status

A simple tool to extract imports from Solidity source files

Example

const extract = require('solidity-extract-imports')

extract('import "./ownable.sol";')
// => ['./ownable.sol']

Author

Federico Bond

License

MIT