xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

ASCII Art All In One

ASCII Art All In One

ASCII Arts

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

hui-cli


// 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",
        }),
    )
);

ASCII & shit demo

// 使用函数 draw 绘制图形,反斜杠 "\" 请使用 "\\" 转义
draw("  _   _      _ _    __        __         _     _ 
 | | | | ___| | | __\\ \\      / /__  _ __| | __| |
 | |_| |/ _ \\ | |/ _ \\ \\ /\\ / / _ \\| '__| |/ _` |
 |  _  |  __/ | | (_) \\ V  V / (_) | |  | | (_| |
 |_| |_|\\___|_|_|\\___/ \\_/\\_/ \\___/|_|  |_|\\__,_|
")


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

demos

chalk

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

https://github.com/chalk/chalk/issues/346

https://github.com/xgqfrms/hui-cli/issues/15

refs

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



©xgqfrms 2012-2021

www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!

原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!


posted @   xgqfrms  阅读(1334)  评论(7编辑  收藏  举报
编辑推荐:
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· .NET10 - 预览版1新功能体验(一)
历史上的今天:
2017-05-27 JavaScript interview Question - Create a Array with two papameters without using loop!
点击右上角即可分享
微信分享提示