<commit_before>
// For browserify, export riot.js
var self = module.exports = require('../../riot')

// For node, export riot+compiler.js
if(!process.browser) self.compiler = require('../../riot+compiler')
<commit_msg>Fix module to return a compiler in Node<commit_after>
module.exports = process.browser
  
  // Browserify? Export riot.js
  ? require('../../riot')

  // Node? Export compiler.js
  : { compile: require('../../lib/compiler').compile }

{'fraction_non_alphanumeric': 0.1836283185840708, 'fraction_numerical': 0.0, 'mean_word_length': 3.355769230769231, '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': '461953', 'n_tokens_mistral': 141, 'n_tokens_neox': 130, 'n_words': 35}