Boxes for use in the terminal
npm install cli-boxes> Boxes for use in the terminal
The list of boxes is just a JSON file and can be used anywhere.
``sh`
npm install cli-boxes
`js
import cliBoxes from 'cli-boxes';
console.log(cliBoxes.single);
/*
{
topLeft: '┌',
top: '─',
topRight: '┐',
right: '│',
bottomRight: '┘',
bottom: '─',
bottomLeft: '└',
left: '│'
}
*/
`
#### single
``
┌────┐
│ │
└────┘
#### double
``
╔════╗
║ ║
╚════╝
#### round
``
╭────╮
│ │
╰────╯
#### bold
``
┏━━━━┓
┃ ┃
┗━━━━┛
#### singleDouble
``
╓────╖
║ ║
╙────╜
#### doubleSingle
``
╒════╕
│ │
╘════╛
#### classic
``
+----+
| |
+----+
#### arrow
```
↘↓↓↓↓↙
→ ←
↗↑↑↑↑↖
- boxen - Create boxes in the terminal