Locaft/auth/node_modules/cli-boxes
Priyatham-sai-chand 1f1d823ec8 user auth register backend 2020-11-08 22:58:21 +05:30
..
boxes.json user auth register backend 2020-11-08 22:58:21 +05:30
index.d.ts user auth register backend 2020-11-08 22:58:21 +05:30
index.js user auth register backend 2020-11-08 22:58:21 +05:30
license user auth register backend 2020-11-08 22:58:21 +05:30
package.json user auth register backend 2020-11-08 22:58:21 +05:30
readme.md user auth register backend 2020-11-08 22:58:21 +05:30

readme.md

cli-boxes Build Status

Boxes for use in the terminal

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

Install

$ npm install cli-boxes

Usage

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

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

API

cliBoxes

single

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

double

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

round

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

bold

┏━━━━┓
┃    ┃
┗━━━━┛

singleDouble

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

doubleSingle

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

classic

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

Get professional support for this package with a Tidelift subscription
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.