<commit_before>var version = require('./package.json').version;
var interceptor = require('./lib/interceptor');

module.exports = {
  VERSION: version,

  check: interceptor.checkStr,

  setReplacer: function setReplacer (replacer) {
    if (replacer.indexOf('$') === -1) {
      interceptor.setOperatorReplacer(replacer);
    }
  }<commit_msg>[DEV] Proxy the `interceptor.js` `setOperatorReplacer()` method directly in `index.js`.<commit_after>var version = require('./package.json').version;
var interceptor = require('./lib/interceptor');

module.exports = {
  VERSION: version,

  check: interceptor.checkStr,

  setReplacer: interceptor.setOperatorReplacer
{'fraction_non_alphanumeric': 0.14826021180030258, 'fraction_numerical': 0.0015128593040847202, 'mean_word_length': 4.963963963963964, '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': '3965203', 'n_tokens_mistral': 213, 'n_tokens_neox': 203, 'n_words': 40}