code: function getDirectoryContent(basePath, displayHidden, displayFiles) {
      return fs
          .readdirSync(basePath)
          .filter(function (file) {
              try {
                  var stats = fs.lstatSync(path.join(basePath, file));
                  if (stats.isSymbolicLink()) {
                      return false;
                  }
                  var isDir = stats.isDirectory();
                  var isFile = stats.isFile() && displayFiles;
                  if (displayHidden) {
                    return isDir || displayFiles;
                  }
                  var isNotDotFile = path.basename(file).indexOf(".") !== 0;
                  return (isDir || isFile) && isNotDotFile;
              } catch (error) {
                  return false;
              }
          })
          .sort();
  }
docs: Function for getting list of folders in directory
  @param  {String} basePath                the path the folder to get a list of containing folders
  @param  {Boolean} [displayHidden=false]  set to true if you want to get hidden files
  @param  {Boolean} [displayFiles=false]  set to true if you want to get files
  @return {Array}                          array of folder names inside of basePath