Awesome
solidity-extract-imports
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