Make a directory if none exists

👋 FYI, this note is over 6 months old. Some of the content may be out of date.
var mkdirp = require('mkdirp')

mkdirp('/tmp/some/path/foo', (err) => {
// path exists unless there was an error
})

← Back home