simple-fs-walker
This module recursively walks through a given FS path, walking through all levels of files and directories in sorted order (JS's array-of-strings .sort() order), synchronously, applying your callback(subpath, stats) on every FS item (file or directory) found in the walk.
For the per-item callback, subpath always contains '/' as a separator regardless of platform, and stats is just Node's normal fs.Stats object. If the callback returns true, the walk stops at that point.
Example:
const fsWalker = ; ;
Versions:
version 1.0.0 (2019-09-29) :
First published version of simple-fs-walker
.