Welcome header for Node.js CLI software.
npm install cli-welcomeconst welcome = require('cli-welcome');
// Use it.
welcome({title: `Welcome CLI`, tagLine: `by Ahmad Awais`});
// OR with all the options set like this:
welcome({
title: `Welcome CLI`,
tagLine: `by Ahmad Awais`,
bgColor: `#FADC00`,
color: `#000000`,
bold: true,
clear: true,
version: `v1.0`
});Type: object
Default: {}
You can specify the options below.
Type: string
CLI title with background color highlight.
Type: string
CLI tag line in front of the title without highlight but dimmed.
Type: string
CLI description below the title.
Type: boolean
Default: true
Clear console.
Type: boolean
Default: true
Bold heading text.
Type: string
Default: #ffffff
Background color highlight for heading.
Type: string
Default: true
Text color for heading.
Type: string
Default: (empty string)
Print version text.
β― Read the changelog here β
KEY: π¦ NEW, π IMPROVE, π FIX, π DOC, π RELEASE, and β
TEST
I use Emoji-log, you should try it and simplify your git commits.
- MIT Β© Ahmad Awais
- Code of Conduct





