1.0.6 • Published 13 years ago

ensureDir v1.0.6

Weekly downloads
60
License
-
Repository
github
Last release
13 years ago

A utility for node, ensure a directory exists, create it recursively if not.

Example

ensureDir('./temp/path/to/nonexist/dir/', 0755, function (err) {
    if (err) return next(err);
    // your code here!
});

Installation

$ npm install ensureDir