0.0.4 • Published 5 years ago

fsxtra v0.0.4

Weekly downloads
3
License
ISC
Repository
github
Last release
5 years ago

NodeFsXtra

Extends Node FS lib

Use

const fs = require('fsxtra');

fs base methods

  • Includes all fs lib functions.

  • All fs functions with an alternate 'Sync' method will return promises instead of requiring callbacks

Extra methods

.mktree(<filepath>)

  • Returns Promise

  • Accepts full filepath, creating as many of the directories in the filepath as needed.

.mktreeSync(<filepath>)

  • Synchronous version of .mktree()

TODO

Add rmtree & rmtreeSync methods - include 'force' option for removing files in dirs.

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago