Banners made simple
echo-banner helps you add clean metadata banners to builds and display beautiful ASCII titles in CLI applications.
npm install echo-banner
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
*/
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>