{"size": 355, "ext": "js", "max_stars_repo_path": "lib/parsers/PartialParser.js", "max_stars_repo_name": "raingggg/chia-watch-dog", "max_stars_repo_stars_event_min_datetime": "2021-12-05T02:07:18.000Z", "max_stars_repo_stars_event_max_datetime": "2021-12-11T03:04:43.000Z", "max_issues_repo_path": "lib/parsers/PartialParser.js", "max_issues_repo_name": "kucoonit/chia-watch-dog", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "lib/parsers/PartialParser.js", "max_forks_repo_name": "kucoonit/chia-watch-dog", "max_forks_repo_forks_event_min_datetime": "2021-12-07T06:26:40.000Z", "max_forks_repo_forks_event_max_datetime": "2021-12-11T03:04:45.000Z"}
{"max_stars_count": 15, "max_issues_count": null, "max_forks_count": 4, "avg_line_length": 25.3571428571, "max_line_length": 75, "alphanum_fraction": 0.6309859155}
const { REG_PARTIAL } = require('../utils/regex');
const { logger } = require('../utils/logger');

class PartialParser {
  parse(line) {
    const match = REG_PARTIAL.exec(line);
    if (match) {
      logger.debug('PartialParser', );
      return { timestamp: new Date(match[1]).getTime(), partialsCount: 1 };
    }
  }
}

module.exports = PartialParser;