ASCII Art


ASCII Art

https://npms.io/search?q=ASCII art

ASCII Art

Text to ASCII Art Generator (TAAG)

http://patorjk.com/software/taag/#p=testall&h=0&v=0&f=Fuzzy&t=xgqfrms

cowsay

https://www.npmjs.com/package/cowsay

$ npm install -g cowsay

$ cowsay JavaScript FTW!
# OR
$ cowthink node.js is cool

https://github.com/sindresorhus/cows

figlet & colors

https://www.npmjs.com/package/figlet

https://github.com/patorjk/figlet.js


// libs
const program = require("commander");
const shell = require("shelljs");
// const fs = require("fs");
const chalk = require("chalk");
const colors = require("colors");
const clear = require("clear");
const figlet = require("figlet");


// clear();
console.log(
    chalk.yellow(
        figlet.textSync("hui-cli",{
            horizontalLayout: "full",
        }),
    )
);

// libs
const program = require("commander");
const shell = require("shelljs");
const chalk = require("chalk");
const colors = require("colors");
const clear = require("clear");
const figlet = require("figlet");

// build-in
// const fs = require("fs");

// json
const jsonObj = require("./package.json");

// process.argv
const args = process.argv.slice(2) || [];

const log = console.log;

// clear();
// console.log(
//     colors.green(
//         figlet.textSync("hui-cli",{
//             horizontalLayout: "full",
//         }),
//     )
// );
// console.log(
//     chalk.yellow(
//         figlet.textSync("hui-cli",{
//             horizontalLayout: "full",
//         }),
//     )
// );
console.log(
    chalk.rgb(0, 255, 0).bgBlack(
        figlet.textSync("xgqfrms",{
            horizontalLayout: "full",
        }),
    )
);


https://en.wikipedia.org/wiki/ASCII_art

https://www.asciiart.eu/


https://www.npmjs.com/package/ascii-art

https://www.npmjs.com/package/asciiart-logo

https://www.npmjs.com/package/image-to-ascii


ASCII & shit demo

// 使用函數 draw 繪制圖形,反斜杠 "\" 請使用 "\\" 轉義
draw("  _   _      _ _    __        __         _     _ 
 | | | | ___| | | __\\ \\      / /__  _ __| | __| |
 | |_| |/ _ \\ | |/ _ \\ \\ /\\ / / _ \\| '__| |/ _` |
 |  _  |  __/ | | (_) \\ V  V / (_) | |  | | (_| |
 |_| |_|\\___|_|_|\\___/ \\_/\\_/ \\___/|_|  |_|\\__,_|
")


https://leetcode-cn.com/u/xgqfrms



Flag Counter

&copyxgqfrms 2012-2020

www.cnblogs.com 發布文章使用:只允許注冊用戶才可以訪問!



免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM