<commit_before># Connectr for Connect (Node.js)

Connectr complements Connect by allowing the insertion of middleware
before or after middlewares that already part of the stack.

# Install

    npm install connectr

# Usage

```javascript
var connectr = require('connectr')(app);

// Add labeled middleware
connectr.use(middleware).as(label);

// Insert before middleware
connectr.before(label).use(middleware).as(label);<commit_msg>Linked to Connect project page<commit_after># Connectr for [Connect](https://github.com/senchalabs/connect) (Node.js)

Connectr complements [Connect](https://github.com/senchalabs/connect) by allowing the insertion of middleware
before or after middlewares that already part of the stack.

# Install

    npm install connectr

# Usage

```javascript
var connectr = require('connectr')(app);

// Add labeled middleware
connectr.use(middleware).as(label);

// Insert before middleware
connectr.before(label).use(middleware).as(label);
{'fraction_non_alphanumeric': 0.1077720207253886, 'fraction_numerical': 0.0, 'mean_word_length': 5.483221476510067, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '4834230', 'n_tokens_mistral': 287, 'n_tokens_neox': 274, 'n_words': 85}