File System Node.js v6.2.0 Manual & Documentation
Asynchronous readdir(3). Reads the contents of a directory. The callback gets two arguments (err, files) where files is an array of the names of the files in the directory excluding '.' and '..'. The optional options argument can be a string specifying an...