<commit_before>var http = require('http');
http.createServer(function (req, res) {
	res.writeHead(200, {'Content-Type': 'text/plain'});
	res.end('Hello World\n');
}).listen(1337, '127.0.0.1');

console.log('Server running at http://127.0.0.1:1337');<commit_msg>use express<commit_after>var express = require('express')
var app = express();
var port = process.env.PORT || 8080;

var morgan = require('morgan');

app.use(morgan('dev'));

app.use('/', function (req, res){
	res.send('Our First Express program.');
});

app.listen(port);
console.log('Server listening on port:', port);
{'fraction_non_alphanumeric': 0.21514629948364888, 'fraction_numerical': 0.04647160068846816, 'mean_word_length': 5.767441860465116, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '3147789', 'n_tokens_mistral': 215, 'n_tokens_neox': 202, 'n_words': 45}