mkdirp2

Recursively mkdir, like `mkdir -p`

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
mkdirp2
1.0.52 years ago7 years agoMinified + gzip package size for mkdirp2 in KB

Readme

view on npm npm module downloads Build Status Dependency Status js-standard-style
DEPRECATED: Use Node.js fs.mkdir
mkdirp2
A maintained fork of the stagnant mkdirp
.

Differences

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