Anyway to get a list of files/directories in node.js in one call

In node.js (fs), we can get the list of all files+directories using fs.readdir(), now to get the files/directories apart we need to call stat = fs.stat() and on the result call stat.isDirectory() or stat.isFile() on each of the returned values (paths).

Is there a better (perf-wise) way to do this?