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

'use strict';

var EOL = require('os').EOL;
var logo = require('macaca-logo');

var pkg = require('../package');
var _ = require('../lib/common/helper');

var chalk = _.chalk;

console.log('');
logo.print();
console.log(`${chalk.white('Macaca was successfully installed! Please visit: ')}${chalk.cyan(pkg.homepage)}${EOL}`);<commit_msg>feat: don't print logo on production env (#75)<commit_after>#!/usr/bin/env node

'use strict';

var EOL = require('os').EOL;
var logo = require('macaca-logo');

var pkg = require('../package');
var _ = require('../lib/common/helper');

var chalk = _.chalk;

var dontPrint = process.env.NODE_ENV === 'production' || process.env.SKIP_MACACA_LOGO;
if (!dontPrint) {
  console.log('');
  logo.print();
}

console.log(`${chalk.white('Macaca was successfully installed! Please visit: ')}${chalk.cyan(pkg.homepage)}${EOL}`);
{'fraction_non_alphanumeric': 0.21484814398200225, 'fraction_numerical': 0.0022497187851518562, 'mean_word_length': 5.223776223776224, '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': '3464803', 'n_tokens_mistral': 323, 'n_tokens_neox': 313, 'n_words': 67}