<commit_before>var pkg = require(require('path').join(__dirname,'..','..','package.json'));
require('colors');
console.log('NGN v'.bold+pkg.version.bold);<commit_msg>Added -v support and verbose module list. Closes #35.<commit_after>var p = require('path'),
  pkg = require(p.join(__dirname,'..','..','package.json')),
  fs = require('fs');
require('colors');

console.log((' + NGN v'+pkg.version).bold);
for (var mod in pkg.ngn.modules){
  var path = p.join(__dirname,'../../../',mod);
  if (fs.existsSync(path)){
    var mpkg = require(p.join(path,'package.json'));
    console.log((' + '+mod.cyan+' v'+mpkg.version).bold);
  } else {
    console.log(' - '+mod+' (Not Installed)'.red);
  }
}
{'fraction_non_alphanumeric': 0.25252525252525254, 'fraction_numerical': 0.002886002886002886, 'mean_word_length': 4.464566929133858, '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': '2606885', 'n_tokens_mistral': 247, 'n_tokens_neox': 241, 'n_words': 45}