7 lines
142 B
JavaScript
Raw Normal View History

2018-01-05 10:48:13 -08:00
var mkdirp = require('mkdirp');
mkdirp('/tmp/foo/bar/baz', function (err) {
if (err) console.error(err)
else console.log('pow!')
});