fs helper utilities (walk, copy, mkdir -p)


Useful file utitiles. See API Documentation for detailed info.

Recurcively scan files by regex pattern & apply iterator to each. Iterator applied only to files, not to directories. If given path is a file, iterator will be called against it (if pattern allows it).

Sync version of walk(). Throws exception on error.

Recursively collects files by regex pattern (if given, all files otherwise).

Recursively delete directory with all content.

Sync version of remove(). Throws exception on error.

Recursively make path.

Sync version of mkdir(). Throws exception on error.

Copy file.

Move file.

Returns unique directory (at the moment of request) pathbname.

View the LICENSE file (MIT).