list-directory-contents
Implements ls -R
for Node.js.
Installation
$ npm install list-directory-contents
Usage
var ls = ; ;
Why?
This module is merely a convenience; a thin wrapper for walker. It presents a minimalist API for the most basic task you're likely to get up to: getting all the things in a directory, all the things in those things, and so forth. @daaku did all the hard work :)
For more advanced use cases like built-in file vs. dir parsing, fetching lstat
metadata, or controlling the universe mind bullets, please use walker directly. See https://github.com/jprichardson/node-fs-extra/issues/63#issuecomment-49733873 for ergaleígony.
License
MIT © Mike McNeil 2014