<commit_before>
mixin badge(url)
  img(src='https://img.shields.io/' + url.replace(/^\//, '') + '.svg?style=' + badge_style)

mixin badge-npm(name)
  a(href='https://www.npmjs.org/package/' + name)
    +badge('/npm/v/' + name)

mixin badge-version(version)
  //- probably want different colors for different versions
  a(href='http://nodejs.org/download/')
    if (version)
      +badge('/badge/node.js->=_' + version + '-' + (version === '0.11' ? 'orange' : version === '0.10' ? 'green' : 'brightgreen'))
    else
      +badge('/badge/node.js-N%2FA-lightgrey')

mixin badge-david(repo)
  a(href='https://david-dm.org/' + repo)
    +badge('/david/' + repo)

mixin badge-travis(repo)
  a(href='https://travis-ci.org/' + repo)
    +badge('/travis/' + repo)

mixin badge-coverage(repo)
  a(href='https://coveralls.io/r/' + repo)
    +badge('/coveralls/' + repo)

mixin badge-downloads(npm)
  a(href='https://npmjs.org/package/' + npm)
    +badge('/npm/dm/' + npm)<commit_msg>fix nodejs version coloring<commit_after>
mixin badge(url)
  img(src='https://img.shields.io/' + url.replace(/^\//, '') + '.svg?style=' + badge_style)

mixin badge-npm(name)
  a(href='https://www.npmjs.org/package/' + name)
    +badge('/npm/v/' + name)

mixin badge-version(version)
  //- probably want different colors for different versions
  a(href='http://nodejs.org/download/')
    if ((version_cmp = Number(version.toString().split('.').slice(0, 2).map(function (n) { return (n < 10 ? '0' : '') + n }).join('.'))))
      +badge('/badge/node.js->=_' + version + '-' +
        (version_cmp >= 0.11 ? 'orange' : version_cmp >= 0.10 ? 'green' : 'brightgreen'))
    else
      +badge('/badge/node.js-N%2FA-lightgrey')

mixin badge-david(repo)
  a(href='https://david-dm.org/' + repo)
    +badge('/david/' + repo)

mixin badge-travis(repo)
  a(href='https://travis-ci.org/' + repo)
    +badge('/travis/' + repo)

mixin badge-coverage(repo)
  a(href='https://coveralls.io/r/' + repo)
    +badge('/coveralls/' + repo)

mixin badge-downloads(npm)
  a(href='https://npmjs.org/package/' + npm)
    +badge('/npm/dm/' + npm)
{'fraction_non_alphanumeric': 0.2312111057922451, 'fraction_numerical': 0.009095260890378171, 'mean_word_length': 3.3815513626834384, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 7, 'https://': 12, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2320253', 'n_tokens_mistral': 850, 'n_tokens_neox': 802, 'n_words': 131}