{"size": 332, "ext": "js", "max_stars_repo_path": "utils/format.js", "max_stars_repo_name": "XiongJingzhi/generate-protocol", "max_stars_repo_stars_event_min_datetime": "2019-08-27T09:08:47.000Z", "max_stars_repo_stars_event_max_datetime": "2020-06-01T00:19:23.000Z", "max_issues_repo_path": "utils/format.js", "max_issues_repo_name": "XiongJingzhi/generate-protocol", "max_issues_repo_issues_event_min_datetime": "2020-05-31T03:46:07.000Z", "max_issues_repo_issues_event_max_datetime": "2020-05-31T03:46:07.000Z", "max_forks_repo_path": "utils/format.js", "max_forks_repo_name": "XiongJingzhi/generate-protocol", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 4, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 25.5384615385, "max_line_length": 68, "alphanum_fraction": 0.6957831325}
const fs = require('fs')
const path = require('path')

const imagesPath = path.join(__dirname, '../html/images')

const images = fs.readdirSync(imagesPath)

images.forEach(item => {
  let oldPath = path.join(imagesPath, item)
  let newPath = path.join(imagesPath, item.substr(4, 18) + '.jpg')  
  fs.renameSync(oldPath, newPath)
})
