Make multiple directories (each recursively using mkdir -p) all in parallel
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
test
.gitignore
LICENSE
README.md
index.js
package.json

README.md

node-mkdirps

Make multiple directories (each recursively using mkdir -p) all in parallel

Quick Example

var mkdirps = require('mkdirps');
var dirs = ['/tmp/foo', '/tmp/baz', '/tmp/bar'];

mkdirps(dirs, function (err) {
  if (err) {
    return console.error(err);
  }
  console.log('dirs created!');
});

Installation

npm install mkdirps

License

MIT

Shout Outs

Special thanks to @substack for mkdirp of which this module wraps and to Sean Pilkenton for his module naming skills.