6 lines
165 B
JavaScript
6 lines
165 B
JavaScript
const fs = require('fs');
|
|
const path = require('path');
|
|
|
|
module.exports = (day) =>
|
|
fs.readFileSync(path.resolve(__dirname, `../data/${day}.txt`)).toString();
|