Package Exports
- mkdirp2
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mkdirp2) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
DEPRECATED: Use Node.js fs.mkdir
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}`))