<commit_before>
var bozon = require('../');

var config = {
  // Raw object
  a: {
    one: function(str) {
      return str + 'one';
    },
    two: function(str) {
      return str + 'two';
    },
    three: function(str) {
      return str + 'three';
    }
  },
  // String of glob patterns
  b: 'test/fixtures/*.js',
  // Arrays of glob patterns
  c: ['test/fixtures/*.js'],
  d: ['test/fixtures/*-foo.js', 'test/fixtures/*-bar.js', 'test/fixtures/*-baz.js'],

  // node-module as string
  e: 'node-foo',

  // array of node-modules
  f: ['node-foo', 'node-bar'],

  // mixture
  g: [['test/fixtures/*.js'], {
    one: function(str) {
      return str + 'one';
    },
    two: function(str) {
      return str + 'two';
    },
    three: function(str) {
      return str + 'three';
    }
  }, 'node-foo', 'node-bar', 'node-baz']
};

console.log('config.a: ', bozon(config.a));
console.log('config.b: ', bozon(config.b));
console.log('config.c: ', bozon(config.c));
console.log('config.d: ', bozon(config.d));
console.log('config.e: ', bozon(config.e));
console.log('config.f: ', bozon(config.f));
console.log('config.g: ', bozon(config.g));
// console.log(bozon([['test/fixtures/*.js'], config.a, 'node-foo', config.g]));<commit_msg>typos<commit_after>
var boson = require('../');

var config = {
  // Raw object
  a: {
    one: function(str) {
      return str + 'one';
    },
    two: function(str) {
      return str + 'two';
    },
    three: function(str) {
      return str + 'three';
    }
  },
  // String of glob patterns
  b: 'test/fixtures/*.js',
  // Arrays of glob patterns
  c: ['test/fixtures/*.js'],
  d: ['test/fixtures/*-foo.js', 'test/fixtures/*-bar.js', 'test/fixtures/*-baz.js'],

  // node-module as string
  e: 'node-foo',

  // array of node-modules
  f: ['node-foo', 'node-bar'],

  // mixture
  g: [['test/fixtures/*.js'], {
    one: function(str) {
      return str + 'one';
    },
    two: function(str) {
      return str + 'two';
    },
    three: function(str) {
      return str + 'three';
    }
  }, 'node-foo', 'node-bar', 'node-baz']
};

console.log('config.a: ', boson(config.a));
console.log('config.b: ', boson(config.b));
console.log('config.c: ', boson(config.c));
console.log('config.d: ', boson(config.d));
console.log('config.e: ', boson(config.e));
console.log('config.f: ', boson(config.f));
console.log('config.g: ', boson(config.g));
// console.log(boson([['test/fixtures/*.js'], config.a, 'node-foo', config.g]));
{'fraction_non_alphanumeric': 0.23457792207792208, 'fraction_numerical': 0.0, 'mean_word_length': 2.8217054263565893, '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': '6906746', 'n_tokens_mistral': 939, 'n_tokens_neox': 919, 'n_words': 179}