<commit_before># barney ![Build Status](https://codeship.com/projects/ce6bd040-ac83-0132-acda-4e5346bb67f3/status?branch=v1.0)

[![NPM version](https://badge.fury.io/js/barney.svg)](http://badge.fury.io/js/barney)
[![Coverage Status](https://coveralls.io/repos/mkretschek/node-barney/badge.svg?branch=v1.0)](https://coveralls.io/r/mkretschek/node-barney?branch=v1.0)

Change the module loading mechanism.

`barney` allows you to hook into the module loading mechanism to
easily trigger functions or return a given value everytime a
module is required. Just make sure you know what you're doing, as this is
intended to be used mainly during testing or development.

## Instalation

As usual:<commit_msg>docs(badge): update badges to branch v1.1<commit_after># barney ![Build Status](https://codeship.com/projects/ce6bd040-ac83-0132-acda-4e5346bb67f3/status?branch=v1.1)

[![NPM version](https://badge.fury.io/js/barney.svg)](http://badge.fury.io/js/barney)
[![Coverage Status](https://coveralls.io/repos/mkretschek/node-barney/badge.svg?branch=v1.1)](https://coveralls.io/r/mkretschek/node-barney?branch=v1.1)

Change the module loading mechanism.

`barney` allows you to hook into the module loading mechanism to
easily trigger functions or return a given value everytime a
module is required. Just make sure you know what you're doing, as this is
intended to be used mainly during testing or development.

## Instalation

As usual:
{'fraction_non_alphanumeric': 0.12849162011173185, 'fraction_numerical': 0.034916201117318434, 'mean_word_length': 5.312775330396476, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, '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': '1103481', 'n_tokens_mistral': 524, 'n_tokens_neox': 489, 'n_words': 124}