Make a directory if none exists
21 Jan, 2023
👋 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