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