cli-logo
v0.3.0
Published
A standar way to create logos for CLIs using ASCII art and the package version.
Downloads
36
Readme
cli-logo
A standar way to create logos for CLIs using ASCII art and the package version.
Install
npm install --save cli-logo
How to use it:
var logoCli = require('cli-logo'),
version = 'v' + require('./package.json').version,
description = require('./package.json').description;
logoConfig = {
"name": "CoolName",
"description": description,
"version": version
};
logoCli.print(LogoConfig);
This will be the result:
As optional parameters on the logoConfig you can use also:
"type":"Standard"
&"color":"green"
type
is the font type supported by figlet
color
is the color name supported by colors