These are the projects for the JavaScript Level 2 module in Learn JS the Hard Way.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

8 lines
217 B

import fs from "fs";
const raw_log = fs.readFileSync(process.argv[2]);
const lines = raw_log.toString().split("\n");
// now you have to figure out how to split each line of the
// web log into something meaningful