<commit_before>#! /usr/bin/env node

'use strict'

var pretty = require('./pretty')

module.exports = pretty

if (require.main === module) {
  if (arg('-h') || arg('--help')) {
    usage().pipe(process.stdout)
  } else if (arg('-v') || arg('--version')) {
    console.log(require('./package.json').version)
  } else {
    process.stdin.pipe(pretty({
      timeTransOnly: arg('-t'),
      levelFirst: arg('-l')
    })).pipe(process.stdout)
  }
}

function usage () {
  return require('fs')
      .createReadStream(require('path').join(__dirname, 'usage.txt'))
}

function arg (s) {
  return !!~process.argv.indexOf(s)
}<commit_msg>remove check as requested by davidmarkclements<commit_after>#! /usr/bin/env node

'use strict'

var pretty = require('./pretty')

module.exports = pretty
{'fraction_non_alphanumeric': 0.20051085568326948, 'fraction_numerical': 0.0, 'mean_word_length': 3.7228915662650603, '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': '4946963', 'n_tokens_mistral': 271, 'n_tokens_neox': 265, 'n_words': 55}