{"size": 178, "ext": "js", "max_stars_repo_path": "app/lib/loadYaml.js", "max_stars_repo_name": "MachineLabsLtd/spectaql", "max_stars_repo_stars_event_min_datetime": "2021-03-17T16:08:40.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-29T20:22:23.000Z", "max_issues_repo_path": "app/lib/loadYaml.js", "max_issues_repo_name": "MachineLabsLtd/spectaql", "max_issues_repo_issues_event_min_datetime": "2021-03-17T07:45:54.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-19T22:10:13.000Z", "max_forks_repo_path": "app/lib/loadYaml.js", "max_forks_repo_name": "MachineLabsLtd/spectaql", "max_forks_repo_forks_event_min_datetime": "2021-03-18T23:30:06.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-31T02:33:52.000Z"}
{"max_stars_count": 473, "max_issues_count": 146, "max_forks_count": 45, "avg_line_length": 25.4285714286, "max_line_length": 51, "alphanum_fraction": 0.7078651685}
const fs = require('fs')
const yaml = require('js-yaml')

module.exports = function (path) {
  const fileContent = fs.readFileSync(path, "utf8")
  return yaml.load(fileContent)
}