<commit_before>[![npm](https://nodei.co/npm/repl-here.png)](https://nodei.co/npm/repl-here/)

# repl-here

[![Build Status](https://travis-ci.org/eush77/repl-here.svg?branch=master)](https://travis-ci.org/eush77/repl-here) [![Dependency Status][david-badge]][david]

Node REPL that autoloads all modules in `./node_modules/` at startup, just like core libs.

[david]: https://david-dm.org/eush77/repl-here
[david-badge]: https://david-dm.org/eush77/repl-here.png

## CLI

### `Usage:  repl-here [OPTION]...`

Options:

<dl>
<dt><code>-v, --verbose</code></dt>
<dd>
Print a name table describing how a particular module is named inside the REPL. Variable names are effectively camel-cased versions of module names.
</dd>

<dt><code>-l, --load-main</code></dt>
<dd>
Loads main module at the current working directory.
</dd>

<dt><code>-i MODULE, --ignore=MODULE</code></dt>
<dd>
Ignore module by name.
</dd>
</dl>

## API

### `ee = replHere(repl, basedir, [opts])`

Require all modules from `basedir/node_modules` into the repl (first argument).<commit_msg>(readme) Fix loads<commit_after>[![npm](https://nodei.co/npm/repl-here.png)](https://nodei.co/npm/repl-here/)

# repl-here

[![Build Status](https://travis-ci.org/eush77/repl-here.svg?branch=master)](https://travis-ci.org/eush77/repl-here) [![Dependency Status][david-badge]][david]

Node REPL that autoloads all modules in `./node_modules/` at startup, just like core libs.

[david]: https://david-dm.org/eush77/repl-here
[david-badge]: https://david-dm.org/eush77/repl-here.png

## CLI

### `Usage:  repl-here [OPTION]...`

Options:

<dl>
<dt><code>-v, --verbose</code></dt>
<dd>
Print a name table describing how a particular module is named inside the REPL. Variable names are effectively camel-cased versions of module names.
</dd>

<dt><code>-l, --load-main</code></dt>
<dd>
Load main module at the current working directory.
</dd>

<dt><code>-i MODULE, --ignore=MODULE</code></dt>
<dd>
Ignore module by name.
</dd>
</dl>

## API

### `ee = replHere(repl, basedir, [opts])`

Require all modules from `basedir/node_modules` into the repl (first argument).
{'fraction_non_alphanumeric': 0.19281663516068054, 'fraction_numerical': 0.007561436672967864, 'mean_word_length': 4.3867684478371505, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, 'https://': 12, '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': '3764498', 'n_tokens_mistral': 814, 'n_tokens_neox': 791, 'n_words': 189}