node-banner
TypeScript icon, indicating that this package has built-in type declarations

1.4.0 • Public • Published

Build Status

node-banner

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');
})();
 

Demo

API

showBanner(title, [tagLine], [titleColor], [tagLineColor])

  • title: Name of the utility.
  • tagLine: A suitable tagline.
  • titleColor: Override the default title-color that defaults to red.
  • tagLineColor: Override the default tagline-color that defaults to yellow.

Testing

 $ npm test

License

GNU GPL V3

Dependents (432)

Package Sidebar

Install

npm i node-banner

Weekly Downloads

500

Version

1.4.0

License

GNU GPL V3

Unpacked Size

39.5 kB

Total Files

5

Last publish

Collaborators

  • jamesgeorge007