code: async function make(dir) {
      try {
          const res = await makeDir(dir)
          return res
      } catch (err) {
          if (/ENOENT/.test(err.message)) {
              const parentDir = dirname(dir)
              await make(parentDir)
              const res2 = await make(dir)
              return res2
          }
          throw err
      }
  }
docs: Recursive promise-based mkdir.
  @param {string} dir Path to the directory to be created