code: function createDir (dir) {
    if (fs.existsSync(dir)) {
      return false
    }
  
    mkdirp.sync(dir)
    return true
  }
docs: ------------------------------------------------------------- Module. ------------------------------------------------------------- Create a directory if it doesn't exist yet.