load-paths

nodejs walk implementation

Usage no npm install needed!

<script type="module">
  import loadPaths from 'https://cdn.skypack.dev/load-paths';
</script>

README

Installation

npm install --save load-paths

Usage

This node module is inspired by Meanio 'Walk Lib' (https://github.com/linnovate/meanio)

var loadPaths = require('load-paths');

loadPaths('folderSearch', 'fileSearch', 'excludeDir', function(file) {
    //yourMethod(file);
    console.log(file);
});