node-fs is an extension to the original nodejs fs library, offering new functionalities. See example.js for an example of how to use it.
Right now, the following new operations are supported:
- mkdir(path, mode, [recursive], [callback]): if the 'recursive' parameter is true, creates a directory recursively;
- mkdirSync(path, mode, [recursive]): if the 'recursive' parameter is true, synchronously creates a directory recursively.