mmalecki/node-read-dir-files — pull request #1 by indexzero (2012-02-28 06:13:11+00:00)
Title: readDirFiles.list()

### function listDirFiles(dir, options, callback)
#### @dir {string} Directory to read files from.
#### @options {Object} **Optional** Options for list directory files.
#### @options.recursive
#### @options.normalize
#### @callback {function} **Optional** Continuation to pass control to when complete.

Asynchronously lists all files from `dir` and returns them to the callback
in the form:

[
'dir',
'file0',
'file1'
]

Following calling conventions are supported:

readDirFiles.list(dir)
readDirFiles.list(dir, { recursive: false, normalize: false })

With or without callback.