mkdir-promise

fs.mkdir implementation with es6 Promise

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
mkdir-promise
201.0.09 years ago9 years agoMinified + gzip package size for mkdir-promise in KB

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);
});