{"size": 501, "ext": "js", "max_stars_repo_path": "script/template/index.js", "max_stars_repo_name": "NillerMedDild/dictionaries", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "script/template/index.js", "max_issues_repo_name": "NillerMedDild/dictionaries", "max_issues_repo_issues_event_min_datetime": "2020-08-09T14:04:28.000Z", "max_issues_repo_issues_event_max_datetime": "2020-08-09T14:04:31.000Z", "max_forks_repo_path": "script/template/index.js", "max_forks_repo_name": "NillerMedDild/dictionaries", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 17.8928571429, "max_line_length": 64, "alphanum_fraction": 0.5648702595}
var read = require('fs').readFile
var join = require('path').join

module.exports = load

function load(callback) {
  var pos = -1
  var exception = null
  var result = {}

  one('aff')
  one('dic')

  function one(name) {
    read(join(__dirname, 'index.' + name), function (err, doc) {
      pos++
      exception = exception || err
      result[name] = doc

      if (pos) {
        callback(exception, exception ? null : result)
        exception = null
        result = null
      }
    })
  }
}
