Vinícius Ernani de Carvalho 6c4544a079 Create the backend | %!s(int64=6) %!d(string=hai) anos | |
---|---|---|
.. | ||
boxes.json | %!s(int64=6) %!d(string=hai) anos | |
index.js | %!s(int64=6) %!d(string=hai) anos | |
license | %!s(int64=6) %!d(string=hai) anos | |
package.json | %!s(int64=6) %!d(string=hai) anos | |
readme.md | %!s(int64=6) %!d(string=hai) anos |
Boxes for use in the terminal
The list of boxes is just a JSON file and can be used wherever.
$ npm install --save cli-boxes
const cliBoxes = require('cli-boxes');
console.log(cliBoxes.single);
/*
{
"topLeft": "┌",
"topRight": "┐",
"bottomRight": "┘",
"bottomLeft": "└",
"vertical": "│",
"horizontal": "─"
}
*/
single
┌────┐
│ │
└────┘
double
╔════╗
║ ║
╚════╝
round
╭────╮
│ │
╰────╯
single-double
╓────╖
║ ║
╙────╜
double-single
╒════╕
│ │
╘════╛
classic
+----+
| |
+----+
MIT © Sindre Sorhus