code: function mkdirIf(dir, parent) {
  	var path = parent ? parent : ".";
  	if (getDirectories(path).indexOf(dir) == -1) fs.mkdirSync(path + "/" + dir);
  }
docs: Makes a directory if it doesn't already exist in a parent directory. Dependencies: getDirectories
  @param {string} dir The name of the new directory
  @param {string} [parent=.] The name of the parent directory