0.3.0 • Published 7 years ago

cli-logo v0.3.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

Build Status codecov npm Turbo Commit bitHound Code Climate

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

This package was genareted with envinator -> Fast develoment 😎🙌