node/deps/npm/node_modules/mkdirp
isaacs 3ab15cde25 Update npm to 1.1.0-alpha-2 2011-11-22 17:03:58 -08:00
..
LICENSE Include NPM, update .pkg to install it. 2011-11-21 10:50:52 -08:00
README.markdown Include NPM, update .pkg to install it. 2011-11-21 10:50:52 -08:00
index.js Include NPM, update .pkg to install it. 2011-11-21 10:50:52 -08:00
package.json Include NPM, update .pkg to install it. 2011-11-21 10:50:52 -08:00

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!