nodejs在控制台打印艺术字
const figlet = require("figlet");
figlet("SUCCESS", function (err, data) {
if (err) {
console.log("Something went wrong...");
console.dir(err);
return;
}
console.log(data);
});
参考链接:
https://www.npmjs.com/package/figlet
人工智能学习网站