node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org ยป

flist

flist(path,cb)

flist exports a single function which traverses the given directory and calls a callback(err,files). The path isn't fiddled with - if you tell it to traverse .., all the paths in the list will start with ../.