readdirRecursively
JavaScript CoffeeScript
Switch branches/tags
Nothing to show
Latest commit 9b89054 Feb 4, 2014 @nekobato version updated
Permalink
Failed to load latest commit information.
test fix bugs at multiple use Feb 4, 2014
.gitignore
.npmignore
README.md fix spellmiss in readme Jan 5, 2014
index.js
package.json

README.md

Readdir recursive

Readdir recursively to output files or dirs.

How to use

require

rread = require('readdir-recursive');

Readfiles

Callback operates each files.

rread.file('./', function(file) {
  console.log(file);
}

ReadfilesSync

Returns all files;

files = rread.fileSync('./');

ReaddirsSync

Callback operates each dirs.

rread.dir('./', function(dir) {
  console.log(dir);
}

ReaddirsSync

Returns all dirs;

dirs = rread.dirSync('./');