934 B
934 B
mkdirp2
A maintained fork of the stagnant mkdirp.
Differences
-
Command-line executable and its dependencies removed, this fork is for Nodejs use only.
-
Extended with a promise method:
mkdirp.promise('tmp/tmp2/file') .then(() => console.log('Created')) .catch(err => console.error(`Failed: ${err.message}`))