boxen

Draw and display boxes around text in the terminal.

npmmacoslinuxwindows
Try with needOr install directly
Source

About

Create boxes in the terminal

Commands

boxes

Examples

put a border around some text$ echo 'Hello World' | boxes
draw a box with a specific style$ echo 'Important Message' | boxes -d stone
create a box around multiple lines of text$ printf 'Line 1\nLine 2\nLine 3' | boxes -d diamond
add padding inside the box$ echo 'Padded Text' | boxes -p a2
list all available box styles$ boxes -l