Asynchronous readdir. 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 '..'.
readdir
(err, files)
files
'.'
'..'
Optional
Asynchronous
readdir
. Reads the contents of a directory. The callback gets two arguments(err, files)
wherefiles
is an array of the names of the files in the directory excluding'.'
and'..'
.