bluebird-mkdirp
v1.0.0
Published
mkdirp promise version using bluebird
Downloads
9
Readme
bluebird-mkdirp
promisify'd version of mkdirp using bluebird and mkdirp as peerDependencies
.
Install
// mkdirp and bluebird are peerDependencies. You don't need to install them if you already use them in your projects
npm install --save mkdirp bluebird bluebird-mkdirp
Usage
const mkdirp = require('bluebird-mkdirp');
mkdirp(dir, opts)
.then(() => { /* done */ })
.catch((err) => { /* ooops */ })
// opts are directly passed to mkdirp
// see: https://www.npmjs.com/package/mkdirp