<commit_before>var Maya = require("maya");

// If you want to use some loader(babel, coffeescript, etc...)
// Write requre register here. (and install using module via `npm`)
// require("babel-register");
// require("coffee-script/register");

var options = Maya.App.parseArgs(process.argv.slice(2));
var app = new Maya.App(Object.assign(options, {
    appRoot: process.cwd()
}));

// If you want to use middleware.
// Write `app.use(middleware)` here.
app.use(require("body-parser"));
app.use(require("cookie-parser"));
app.use(require("express-session")({
    resave : false,
    saveUninitialized : false,
    secret : app.config.get("session.secret"),
}));
app.use(require("method-override"));

app.start();
<commit_msg>Update boilerplate app.js<commit_after>var Maya = require("maya").Maya;

// If you want to use some loader(babel, coffeescript, etc...)
// Write requre register here. (and install using module via `npm`)
// require("babel-register");
// require("coffee-script/register");

var options = Maya.parseArgs(process.argv.slice(2));
var app = new Maya(Object.assign(options, {
    appRoot: process.cwd()
}));

// If you want to use middleware.
// Write `app.use(middleware)` here.
app.use(require("body-parser"));
app.use(require("cookie-parser"));
app.use(require("express-session")({
    resave : false,
    saveUninitialized : false,
    secret : app.config.get("session.secret"),
}));
app.use(require("method-override"));

app.start();

{'fraction_non_alphanumeric': 0.18531228551818807, 'fraction_numerical': 0.0013726835964310226, 'mean_word_length': 4.586206896551724, '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': '3467923', 'n_tokens_mistral': 479, 'n_tokens_neox': 468, 'n_words': 108}