node-file-walker

0.0.1 • Public • Published

A Simple file/directory traversal module

Build Status

Callback arguments

  • files - an array of files/directories in current directory e.g. ['dummy', 'test.js']
  • dir - directory name e.g. './test'
  • level - Current directory level starting from 0

Example usage

var walk = require('file-walker');
 
walk('./directory', function(files, dir, level) {
    // your logic
});

Readme

Keywords

none

Package Sidebar

Install

npm i node-file-walker

Weekly Downloads

4

Version

0.0.1

License

MIT

Last publish

Collaborators

  • rezigned