<commit_before>var FastBootHeaders = require('./fastboot-headers');

function FastbootResponse(response) {
  this.headers = new FastBootHeaders(response._headers);
  this.statusCode = 200;
}

module.exports = FastbootResponse;<commit_msg>convert FastbootResponse to es6 class<commit_after>'use strict';

var FastBootHeaders = require('./fastboot-headers');

class FastbootResponse {
  constructor(response) {
    this.headers = new FastBootHeaders(response._headers);
    this.statusCode = 200;
  }
}

module.exports = FastbootResponse;
{'fraction_non_alphanumeric': 0.11380597014925373, 'fraction_numerical': 0.013059701492537313, 'mean_word_length': 5.7974683544303796, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4977743', 'n_tokens_mistral': 158, 'n_tokens_neox': 150, 'n_words': 30}