$ npm install find-up-all
Returns a Promise for an array of absolute paths of matching files or folders
Returns an array of absolute paths of matching files or folders
Type: Object
Optional. The directory where the search should start.
Optional. Last parent directory that should be searched. If not set, findUpAll will search all the way up to the filesystem root.