<commit_before>nrequire
========
If your NODE_ENV environment variable is set to 'development' (case does not
matter), nrequire re-implements the Node.js require statement, adding an
asynchronous check to see if your NPM module agrees with your package.json and
if you have the latest version from NPM.

By default, notifications go to standard output via console.log, but you can
override this behavior by supplying the correct options.

## Installation

    npm install nrequire

## Example

```JavaScript
// this function is optional and a simplification of the default
// implementation is shown
function logPackageJson(module, modVer, moduleLoc, packVer) {
    console.error('Module',module,'version',modVer,'at',moduleLoc,<commit_msg>Still designing nrequire, changing README<commit_after>nrequire
========
If your NODE_ENV environment variable is set to 'development' (case does not
matter), nrequire re-implements the Node.js require statement, adding an
asynchronous check to see if your NPM module agrees with your package.json and
if you have the latest version from NPM.

By default, notifications go to standard output via console.log, but you can
override this behavior by supplying the correct options.

If you use jshint, add `nrequire` to your globals section, e.g.

```JSON
{
    [...]
    "globals": {
        "nrequire": true
    }
}
```

Or you can add the following to each file where you use `nrequire`:

```JavaScript
/* global nrequire */
```

## Installation

    npm install nrequire

## Example

```JavaScript
// this function is optional and a simplification of the default
// implementation is shown
function logPackageJson(module, modVer, moduleLoc, packVer) {
    console.error('Module',module,'version',modVer,'at',moduleLoc,
{'fraction_non_alphanumeric': 0.08703071672354949, 'fraction_numerical': 0.0, 'mean_word_length': 4.674193548387096, 'pattern_counts': {'":': 2, '<': 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': '389958', 'n_tokens_mistral': 479, 'n_tokens_neox': 456, 'n_words': 210}