code: function readPackages() {
    var packages = arguments.length <= 0 || arguments[0] === undefined ? [] : arguments[0];
  
    return Promise.all(packages.map(readPackage)).then(function (labels) {
      return labels.reduce(function (prev, curr) {
        return prev.concat(curr);
      });
    });
  }
docs: Processes a list of packages and concatenates their contents into a single object.
  
  @name readPackages
  @function
  @param {Array} packages array of paths to package files
  @return {Promise}