0.0.3 • Published 9 years ago

mkdirp-omen v0.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

mkdirp-omen

Install

npm install mkdirp-omen

Usage

var mkdirp = require('mkdirp-omen');

mkdirp('top/bottom').then(function(dir){
    console.log('Directory ('+dir+') has been created.');
}, function(err){
    console.log(err);
});

About

There is already a mkdirp-then module that returns a promise.

That module doesn't pass the value to the then success callback. This one does. :)

mkdirp-omen has the same options as the mkdirpmodule.