7 lines
148 B
JavaScript
7 lines
148 B
JavaScript
var mkdirp = require('mkdirp');
|
|
|
|
mkdirp('/tmp/foo/bar/baz', 0755, function (err) {
|
|
if (err) console.error(err)
|
|
else console.log('pow!')
|
|
});
|