innovationDriveApp/node_modules/cli-boxes
2018-07-08 22:49:17 +10:00
..
boxes.json added Now Ui react dashboard with logo 2018-07-08 19:21:40 +10:00
index.js added Now Ui react dashboard with logo 2018-07-08 19:21:40 +10:00
license added Now Ui react dashboard with logo 2018-07-08 19:21:40 +10:00
package.json deleted homepage in package.json 2018-07-08 22:49:17 +10:00
readme.md added Now Ui react dashboard with logo 2018-07-08 19:21:40 +10:00

cli-boxes Build Status

Boxes for use in the terminal

The list of boxes is just a JSON file and can be used wherever.

Install

$ npm install --save cli-boxes

Usage

const cliBoxes = require('cli-boxes');

console.log(cliBoxes.single);
/*
{
    "topLeft": "┌",
    "topRight": "┐",
    "bottomRight": "┘",
    "bottomLeft": "└",
    "vertical": "│",
    "horizontal": "─"
}
*/

API

cliBoxes

single

┌────┐
│    │
└────┘

double

╔════╗
║    ║
╚════╝

round

╭────╮
│    │
╰────╯

single-double

╓────╖
║    ║
╙────╜

double-single

╒════╕
│    │
╘════╛

classic

+----+
|    |
+----+
  • boxen - Create boxes in the terminal

License

MIT © Sindre Sorhus