A recursive directory reader (walker) for Node.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
index.js
package.json

README.md

Dir AT-ST

A recursive directory reader (walker) for Node.

Getting Started

Install the package using the following command.

npm install dir-at-st

Example Usage

Run the walker on the directory you wish to read and get an array of paths in the callback.

var walker = require('dir-at-st');

walker({
   directory: 'example-folder',
   find: 'all'
}, function($filesFolders) {
   console.log($filesFolders);
});

Options

The AT-ST walker takes two options, namely directory and find. For find you can provide the options of all, directories or files with all being the default.

Unfortunately you still won't be able to find any Ewoks!