node-filewalker
node-filewalker copied to clipboard
[feature] Option to use another fs
Add an option fs
to be able to use in-memory file systems such as memfs. This is very useful for testing purposes.
Example:
var memfs = require( 'memfs' );
var options = {
fs: memfs.fs
};
filewalker( '/', options );