pixelnode/node_modules/mkdirp/examples/pow.js

7 lines
142 B
JavaScript
Raw Normal View History

2018-04-04 12:31:55 +02:00
var mkdirp = require('mkdirp');
mkdirp('/tmp/foo/bar/baz', function (err) {
if (err) console.error(err)
else console.log('pow!')
});