<commit_before>var express = require('express'),
    libmojito = require('mojito'),
    app = express();

app.set('port', process.env.PORT || 8666);

libmojito.extend(app);

app.use(libmojito.middleware());
app.use(require('./node_modules/mojito-debug/middleware/mojito-debug.js')({
    Y: app.mojito.Y,
    store: app.mojito.store
}));
app.mojito.attachRoutes();

app.listen(app.get('port'));<commit_msg>Moved mojito-debug middleware above mojito's middlewares.<commit_after>var express = require('express'),
    libmojito = require('mojito'),
    app = express();

app.set('port', process.env.PORT || 8666);

libmojito.extend(app);

app.use(require('./node_modules/mojito-debug/middleware/mojito-debug.js')({
    Y: app.mojito.Y,
    store: app.mojito.store
}));
app.use(libmojito.middleware());
app.mojito.attachRoutes();

app.listen(app.get('port'));
{'fraction_non_alphanumeric': 0.1955503512880562, 'fraction_numerical': 0.00936768149882904, 'mean_word_length': 5.107142857142857, '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': '7428373', 'n_tokens_mistral': 332, 'n_tokens_neox': 326, 'n_words': 42}