![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /usr/local/n/versions/node/14.15.4/lib/node_modules/npm/node_modules/cli-boxes/ |
Upload File : |
# cli-boxes [](https://travis-ci.org/sindresorhus/cli-boxes) > Boxes for use in the terminal The list of boxes is just a [JSON file](boxes.json) and can be used wherever. ## Install ``` $ npm install --save cli-boxes ``` ## Usage ```js 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` ``` +----+ | | +----+ ``` ## Related - [boxen](https://github.com/sindresorhus/boxen) - Create boxes in the terminal ## License MIT © [Sindre Sorhus](http://sindresorhus.com)