dir-at-st

0.0.9 • Public • Published

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!

Dependents (3)

Package Sidebar

Install

npm i dir-at-st

Weekly Downloads

1

Version

0.0.9

License

Apache-2.0

Last publish

Collaborators

  • chrishumboldt