code: function mkdir(root, mode, callback) {
  
    if (typeof mode === 'function') {
      var callback = mode;
      var mode = null;
    }
    if (typeof root !== 'string') {
      throw new Error('missing root');
    } else if (typeof callback !== 'function') {
      throw new Error('missing callback');
    }
  
    var chunks = root.split(path.sep); // split in chunks
    var chunk;
    if (path.isAbsolute(root) === true) { // build from absolute path
      chunk = chunks.shift(); // remove "/" or C:/
      if (!chunk) { // add "/"
        chunk = path.sep;
      }
    } else {
      chunk = path.resolve(); // build with relative path
    }
  
    return mkdirRecursive(chunk, chunks, mode, callback);
  }
docs: /*
  exports
   
  make main. Check README.md
  
  @exports mkdir
  @function mkdir
  @param {String} root - pathname
  @param {Number} mode - directories mode, see Node documentation
  @param {Function} callback - next callback