Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

dir-at-st

chrishumboldt6Apache-2.00.0.9

A recursive directory reader (walker).

Directory, Folder, Reader, Recursive, AT-ST, Empire

readme

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!