echo-banner
v0.3.0
Published
Generate multiline build banners and ASCII CLI titles
Downloads
797
Maintainers
Readme
echo-banner
Banners made simple
echo-banner helps you add clean metadata banners to builds and display beautiful ASCII titles in CLI applications.
Installation
npm install echo-bannerUsage
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): stringprint(options)
Prints a stylized ASCII banner for CLI applications. See the API docs
print(options: PrintOptions): Promise<void>