import fs from "fs"; const raw_log = fs.readFileSync(process.argv[2]); const lines = raw_log.toString().split("\n"); console.log(lines);