thedesk/app/node_modules/mkdirp/examples/pow.js

7 lines
142 B
JavaScript
Raw Permalink Normal View History

2019-09-13 00:38:13 +10:00
var mkdirp = require('mkdirp');
mkdirp('/tmp/foo/bar/baz', function (err) {
if (err) console.error(err)
else console.log('pow!')
});