{"size": 212, "ext": "js", "max_stars_repo_path": "docs/Node/Module/file/readFile.js", "max_stars_repo_name": "niexiaofei1988/all_demos", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "docs/Node/Module/file/readFile.js", "max_issues_repo_name": "niexiaofei1988/all_demos", "max_issues_repo_issues_event_min_datetime": "2020-01-21T05:11:00.000Z", "max_issues_repo_issues_event_max_datetime": "2021-03-10T09:29:02.000Z", "max_forks_repo_path": "docs/Node/Module/file/readFile.js", "max_forks_repo_name": "niexiaofei1988/learning", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 12, "max_forks_count": null, "avg_line_length": 30.2857142857, "max_line_length": 57, "alphanum_fraction": 0.6698113208}
const fs = require('fs');
fs.readFile('input.txt', function(err, data) {
  if (err) return console.log(err);
  // 此处因为没有指定编码, 返回的是 buffer, 使用data.toString()装换为 string
  console.log('异步读取' + data.toString());
});
