npm i figlet
var figlet = require("figlet");
module.exports = {
start: function (text) {
figlet(text, function (err, data) {
if (err) {
console.log("Something went wrong...");
console.dir(err);
return;
}
console.log(data);
});
},
}
const starter = require('./lib/starter')
starter.start('HELLO EXPRESS');