<commit_before>
var fs = require('fs');

module.exports = Config;

function Config() {
    var self = this;

    self.fetchUserAgent = function() {
        var properties = self.getProperties();
        return properties.name + "-v" + properties.version;
    };

    self.getProperties = function() {
        return JSON.parse(fs.readFileSync('./package.json', 'utf8'));
    }
}<commit_msg>#191 Customize User Agent header. Jshint error fix<commit_after>
var fs = require('fs');

module.exports = Config;

function Config() {
    var self = this;

    self.fetchUserAgent = function() {
        var properties = self.getProperties();
        return properties.name + "-v" + properties.version;
    };

    self.getProperties = function() {
        return JSON.parse(fs.readFileSync('./package.json', 'utf8'));
    };
}
{'fraction_non_alphanumeric': 0.14792176039119803, 'fraction_numerical': 0.006112469437652812, 'mean_word_length': 2.995121951219512, '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': '7097581', 'n_tokens_mistral': 243, 'n_tokens_neox': 235, 'n_words': 57}