The solution I found was create an txt file that contains the ascii art, and use the fs module, like this
const fs = require('fs');
fs.readFile('./ascii.txt', 'utf8', (err, data) => {
if (err) {
console.error('Error reading the file:', err);
return;
}
console.log(data);
});