mkdir-promise
v1.0.0
Published
fs.mkdir implementation with es6 Promise
Downloads
1,041
Readme
mkdir-promise
fs.mkdir implementation with es6 Promise, support make directory recursively,
just like mkdir -p
.
Install
npm install mkdir-promise
Usage
var mkdir = require("mkdir-promise");
mkdir("/a/b/c/d").then(function () {
console.log("success!");
}, function (ex) {
console.error(ex);
});