function mkdirp(p) {
  if (!fs.existsSync(p)) {
    mkdirp(path.dirname(p));
    fs.mkdirSync(p);
  }
}
/**
 * Create a new directory and any necessary subdirectories
 * if they do not exist.
 */
Create a new directory and any necessary subdirectories
if they do not exist.
Create a new directory and any necessary subdirectories if they do not exist .
function mkdirp(p) {
  if (!fs.existsSync(p)) {
    mkdirp(path.dirname(p));
    fs.mkdirSync(p);
  }
}
function mkdirp ( p ) { if ( ! fs . existsSync ( p ) ) { mkdirp ( path . dirname ( p ) ) ; fs . mkdirSync ( p ) ; } }
Create a new directory and any necessary subdirectories
 if they do not exist.
Create a new directory and any necessary subdirectories if they do not exist .