node-banner
node-banner copied to clipboard
Easily integrate ASCII flavored banners to your CLI tool
Easily integrate ASCII flavoured banner to your CLI utility.
Usage
$ npm install --save node-banner
const showBanner = require('node-banner');
(async () => {
await showBanner('The Title', 'This is a suitable tagline');
})();

API
showBanner(title, tagLine?, titleColor?, tagLineColor?)
title: Name of the utility.tagLine: A suitable tagline.titleColor: Override the default title-color that defaults tored.tagLineColor: Override the default tagline-color that defaults toyellow.
Testing
$ npm test