scandir-sync
Install
npm install scandir-sync
Usage
const scan = const basePath = "./dist" const result = // get a array of all the scanned directorys path console // get a array of all the scanned files path console