Skip to content

teneplaysofficial/echo-banner

Repository files navigation

echo-banner

Banners made simple

npm version Downloads codecov

echo-banner helps you add clean metadata banners to builds and display beautiful ASCII titles in CLI applications.

Installation

npm install echo-banner

Usage

import { banner } from 'echo-banner';
import pkg from './package.json';

const result = banner({ pkg });

console.log(result);
/*!
 * echo-banner v1.0.0
 * Banners made simple
 *
 * (c) 2026 TenE
 * Released under the MIT License
 *
 * https://example.com
 * https://github.com/teneplaysofficial/echo-banner
 */

API

banner(options)

Generate a formatted banner string. See the API docs

banner(options: BannerOptions): string

print(options)

Prints a stylized ASCII banner for CLI applications. See the API docs

print(options: PrintOptions): Promise<void>

Packages

 
 
 

Contributors