node/deps/npm/node_modules/mkdirp
Ryan Dahl b488be127a Include NPM, update .pkg to install it.
.msi update coming soon.
2011-11-21 10:50:52 -08:00
..
examples Include NPM, update .pkg to install it. 2011-11-21 10:50:52 -08:00
test Include NPM, update .pkg to install it. 2011-11-21 10:50:52 -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!