<commit_before><commit_msg>oops, I missed to add<commit_after>const express = require("express");
const Nightmare = require("nightmare");		
const mkdirp = require("mkdirp");

const app = express();
const nightmare = Nightmare({ show: false, width: 1500, height: 3400 });

mkdirp.sync(`${__dirname}/screenshot`);
app.use(express.static("dist"))

const server = app.listen(3000, () => {
  nightmare
    .goto("http://localhost:3000")
    .then(() => console.log("Open top page."))
    .then(() => nightmare.wait(100))
    .then(() => nightmare.screenshot(`${__dirname}/screenshot/index.png`))
    .then(() => console.log("Captured screenshot."))
    .then(() => nightmare.end())
    .then(() => server.close())
    .catch(x => {
      console.error(x);
      process.exit(1);
    })
  ;
})
{'fraction_non_alphanumeric': 0.21346886912325286, 'fraction_numerical': 0.025412960609911054, 'mean_word_length': 4.051282051282051, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '2747494', 'n_tokens_mistral': 270, 'n_tokens_neox': 252, 'n_words': 50}