<commit_before>var pub = module.exports,
    Q = require('q'),
    _ = require('underscore'),
    heinzelNpm = require('heinzelmannchen-npm'),
    heinzelConfig = require('heinzelmannchen-config'),
    heinzelTemplate = require('heinzelmannchen-template'),
    Search = require('./lib/search'),
    Install = require('./lib/install'),
    Create = require('./lib/create'),
    dependancies = {
        Q: Q,
        _: _
    };

mixin(Search)
    .inject({
        npm: heinzelNpm
    });

mixin(Install)
    .inject({
        npm: heinzelNpm
    });

mixin(Create)
    .inject({
        template: heinzelTemplate,
        config: heinzelConfig
    });


function mixin(klass) {
    return {
        inject: function(additionalDependancies) {
            _.extend(pub, klass(_.extend(dependancies, additionalDependancies)));
        }
    };
}<commit_msg>renames constants<commit_after>var pub = module.exports,
    Q = require('q'),
    _ = require('underscore'),
    heinzelNpm = require('heinzelmannchen-npm'),
    heinzelConfig = require('heinzelmannchen-config'),
    heinzelTemplate = require('heinzelmannchen-template'),
    Search = require('./lib/search'),
    Install = require('./lib/install'),
    Create = require('./lib/create'),
    DEPENDANCIES = {
        Q: Q,
        _: _
    };

mixin(Search)
    .inject({
        npm: heinzelNpm
    });

mixin(Install)
    .inject({
        npm: heinzelNpm
    });

mixin(Create)
    .inject({
        template: heinzelTemplate,
        config: heinzelConfig
    });


function mixin(klass) {
    return {
        inject: function(dependancies) {
            _.extend(pub, klass(_.extend(DEPENDANCIES, dependancies)));
        }
    };
}
{'fraction_non_alphanumeric': 0.14757969303423848, 'fraction_numerical': 0.0, 'mean_word_length': 2.560924369747899, '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': '1712825', 'n_tokens_mistral': 548, 'n_tokens_neox': 537, 'n_words': 87}