https://github.com/bubkoo/boxup-preset
Some presets for boxup.
https://github.com/bubkoo/boxup-preset
Last synced: over 1 year ago
JSON representation
Some presets for boxup.
- Host: GitHub
- URL: https://github.com/bubkoo/boxup-preset
- Owner: bubkoo
- License: mit
- Created: 2016-04-04T18:56:07.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-06T03:30:46.000Z (about 10 years ago)
- Last Synced: 2025-03-07T13:46:43.688Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# boxup-preset
> Some presets for boxup.
[](https://github.com/bubkoo/boxup-preset/blob/master/LICENSE)
[](https://travis-ci.org/bubkoo/boxup-preset)
## Install
```
npm install boxup-preset --save
```
## Usage
```js
var presets = require('cli-boxes');
console.log(presets.single);
/*
{
"topLeft": "┌",
"topRight": "┐",
"bottomRight": "┘",
"bottomLeft": "└",
"vertical": "│",
"horizontal": "─"
}
*/
```
## API
### presets
#### `single`
```
┌────┐
│ │
└────┘
```
#### `double`
```
╔════╗
║ ║
╚════╝
```
#### `round`
```
╭────╮
│ │
╰────╯
```
#### `single-double`
```
╓────╖
║ ║
╙────╜
```
#### `double-single`
```
╒════╕
│ │
╘════╛
```
#### `classic`
```
+----+
| |
+----+
```
## Related
- [boxup](https://github.com/bubkoo/boxup) - box up text in the terminal
- [boxup-cli](https://github.com/bubkoo/boxup-cli) - cli for boxup