title: Node Asynchronous mkdir with full path
body: <p>I am currently using shell.js's mkdir -p in my node.js code which is synchronous. The '-p' is used in shell.mkdir to create a directory with a full path, something that <code>fs.mkdir</code> cannot do.</p>
  
  <pre><code>if(fs.existsSync(archivePath + "\\" + site + "\\" + year)){ // check if site folder exists
      console.log(archivePath + "\\" + site + "\\" + year + " exists");
  }
  else {
      console.log(archivePath + "\\" + site + "\\" + year + " does not exist... creating full path now");
      shell.mkdir('-p' , archivePath + "\\" + site + "\\" + year + "\\" + missionID);
  }
  </code></pre>
  
  <p>If anyone knows of a way to get the asynchronous nature of <code>fs.mkdir</code>, and the recursive nature of <code>shell.mkdir('-p', absolutePath)</code>, in one fell swoop please let me know.</p>