docs: function checkLicenses(rootDir){
  
      var licenses = {},
          nodeModulesFolder = path.resolve(rootDir, "./node_modules"),
          moduleFolders = fs.readdirSync(nodeModulesFolder),
          res;
  
      _(moduleFolders).each(function(module) {
          licenses[module] = checkModuleLicense(nodeModulesFolder + "/" + module);
      });
  
      return licenses;
  }