Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
fs helper utilities (walk, copy, remove, mkdir -p)
branch: master

This branch is 1 commit ahead, 52 commits behind nodeca:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
support/sandbox-template
test
.gitignore
.jshintignore
.jshintrc
.travis.yml
HISTORY.md
LICENSE
Makefile
README.md
TODO
index.js
package.json

README.md

fs-tools

Build Status

Useful file utitiles. See API Documentation for detailed info.


walk(path, [pattern,] iterator[, callback])

Recurcively scan files by regex pattern & apply iterator to each. Iterator applied only to files, not to directories.

remove(path, callback)

Recursively delete directory with all content.

mkdir(path, mode = '0755', callback)

Recursively make path.

copy(src, dst, callback)

Copy file. Not optimized for big sourses (read all to memory at once).

License

View the LICENSE file (MIT).

Something went wrong with that request. Please try again.