<commit_before>/**
 *  FsTools
 *
 *  Collection of FS related tools, that stdlib lack of.
 **/


'use strict';


// Node < 0.8 shims
if (!require('fs').exists) { require('fs').exists = require('path').exists; }


// stdlib
var fs = require('fs');
var path_join = require('path').join;
var path_normalize = require('path').normalize;<commit_msg>Fix shims<commit_after>/**
 *  FsTools
 *
 *  Collection of FS related tools, that stdlib lack of.
 **/


'use strict';


// Node < 0.8 shims
if (!require('fs').exists) {
  require('fs').exists = require('path').exists;
}
if (!require('fs').existsSync) {
  require('fs').existsSync = require('path').existsSync;
}


// stdlib
var fs = require('fs');
var path_join = require('path').join;
var path_normalize = require('path').normalize;
{'fraction_non_alphanumeric': 0.19487179487179487, 'fraction_numerical': 0.005128205128205128, 'mean_word_length': 4.206666666666667, 'pattern_counts': {'":': 0, '<': 5, '<?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': '7271027', 'n_tokens_mistral': 271, 'n_tokens_neox': 257, 'n_words': 64}