<commit_before>#!/usr/bin/env node
/**
 * Simple CLI to simplify common tasks :)
 * @beta
 */
var Hashes = require('../hashes'),
    args = process.argv,
    version = '1.0.4',
    usage, options;

// Usage dialog
usage = [
    'jsHashes ' + version
  , ''
  , 'Usage:'
  , '  hashes [option] [string]'
  , ''
  , 'Options:'
  , '  md5-hex'
  , '  md5-b64'
  , '  sha1-hex'
  , '  sha1-hex'
  , '  sha256-hex'
  , '  sha256-b64'
  , '  sha512-hex'
  , '  sha512-b64'
  , '  rmd160-hex'
  , '  rmd160-b64'
  , '  b64-enc'
  , '  b64-dec'
  , '  crc32'
  , ''
  , 'Help:'
  , '  -h , --help, help'
  , ''
  , 'Current version:'
  , '  -v , --version, version'
  , ''
  , 'Examples:'
  , '  $ hashes sha1-hex "sample text!"'
  , ''
].join('\n');

options = [
   'md5-hex'
  ,'md5-b64'
  ,'sha1-hex'
  ,'sha1-hex'
  ,'sha256-hex'
  ,'sha256-b64'
  ,'sha512-hex'
  ,'sha512-b64'
  ,'rmd160-hex'
  ,'rmd160-b64'<commit_msg>allowing sha1-b64<commit_after>#!/usr/bin/env node
/**
 * Simple CLI to simplify common tasks :)
 * @beta
 */
var Hashes = require('../hashes'),
    args = process.argv,
    version = '1.0.4',
    usage, options;

// Usage dialog
usage = [
    'jsHashes ' + version
  , ''
  , 'Usage:'
  , '  hashes [option] [string]'
  , ''
  , 'Options:'
  , '  md5-hex'
  , '  md5-b64'
  , '  sha1-hex'
  , '  sha1-b64'
  , '  sha256-hex'
  , '  sha256-b64'
  , '  sha512-hex'
  , '  sha512-b64'
  , '  rmd160-hex'
  , '  rmd160-b64'
  , '  b64-enc'
  , '  b64-dec'
  , '  crc32'
  , ''
  , 'Help:'
  , '  -h , --help, help'
  , ''
  , 'Current version:'
  , '  -v , --version, version'
  , ''
  , 'Examples:'
  , '  $ hashes sha1-hex "sample text!"'
  , ''
].join('\n');

options = [
   'md5-hex'
  ,'md5-b64'
  ,'sha1-hex'
  ,'sha1-b64'
  ,'sha256-hex'
  ,'sha256-b64'
  ,'sha512-hex'
  ,'sha512-b64'
  ,'rmd160-hex'
  ,'rmd160-b64'
{'fraction_non_alphanumeric': 0.23340587595212187, 'fraction_numerical': 0.07997823721436344, 'mean_word_length': 2.1116751269035534, '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': '2514236', 'n_tokens_mistral': 972, 'n_tokens_neox': 870, 'n_words': 134}