Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Recursively mkdir, like `mkdir -p`, but in node.js
JavaScript
tag: 0.1.0

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples
test
LICENSE
README.markdown
index.js
package.json

README.markdown

mkdirp

Like mkdir -p, but in node.js!

Example

pow.js

var mkdirp = require('mkdirp');

mkdirp('/tmp/foo/bar/baz', 0755, function (err) {
    if (err) console.error(err)
    else console.log('pow!')
});

Output pow!

And now /tmp/foo/bar/baz exists, huzzah!

Something went wrong with that request. Please try again.