find-alternate-file
Say your are looking for index.html, but if it does not exist you are willing to use index.jade, index.ejs or index.dust. This module will help you determine which if any of the alternate files exist.
install
npm install find-alternate-file
usage
async
var find = ; ;
sync
var findSync = findSync; console;
license
MIT