Recursively mkdir, like `mkdir -p`
npm install mkdirp2




DEPRECATED: Use Node.js fs.mkdir
A maintained fork of the stagnant mkdirp.
1. Command-line executable and its dependencies removed, this fork is for Nodejs use only.
2. Extended with a promise method:
``jsFailed: ${err.message}
mkdirp.promise('tmp/tmp2/file')
.then(() => console.log('Created'))
.catch(err => console.error())``