4.0.1 • Published 10 months ago

cli-boxes v4.0.1

Weekly downloads
10,276,391
License
MIT
Repository
github
Last release
10 months ago

cli-boxes

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

import cliBoxes from 'cli-boxes';

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

API

cliBoxes

single

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

double

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

round

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

bold

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

singleDouble

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

doubleSingle

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

classic

+----+
|    |
+----+

arrow

↘↓↓↓↓↙
→    ←
↗↑↑↑↑↖

Related

  • boxen - Create boxes in the terminal
boxenarchetype-libraryeasy-select-rnreact-native-bluetooth2killi8n-react-native-fast-image@cashremit/cr-streamline-iconsairscanairscan-examplereact-native-esc-pos-sahaab@borisovart/atol-kkt-moduledeneme323112@ntt_app/react-native-custom-notificationdiscord-music-botsreact-native-covid-sdk@saeon/quick-formmysql-formatreact-native-printer-brothersreact-native-shekhar-bridge-testcogoportutilsdyx-react@oiti/documentoscopy-react-nativequoc-testunblock-block-save-variables@saaspe/componentsluminos-ui-core@everything-registry/sub-chunk-1335jawwy-sdkjawwy_gamification_releasereact-native-sphereuisphereuijawwy_libraryreact-native-credit-card-pkgreact-native-jawwy_samplegriffin-ui-library@wacoco/ytest-library-123test-haptik-libwolfsaywafflezweather-module-ololowifi_configuration_packagewhatsconctest-zeo-collectsvelte-component-libthe_helper_packagethe_helper_packagesvision-camera-plugin-face-detectorvision-camera-plugin-scan-facesvision-camera-base64-resizedvantiq-reactvite_vue3_ts_ssssdddddyyyy@dotconf-pro/dotconf-pro@dotconf-pro/dotenv@cristianps1988/ds-template@cs6/react-native-test-native-view-library@con-test/react-native-concent-common@damruravihara/react-native-testing-package@corelmax/react-native-my2c2p-sdk@blkmarketco/components-library@praella/localisationistjrennsoh88-react-native-scroll-indicatorjesh-calculationjnf-accesscontrol-rnttljordy-frijters-test-libkazuhakhaled-salem-custom-componentskydra3.0.0jawwy_library_newjawy_library_v1gamification-jawwy-libraryframework_test_library_sixdee_new_jawwytest_lib_module_aarquickcapture_react_nativern-agora-ios-mreact-native-omental-frameworkreact-native-sixdee_test_libtingzi-vuepressu-libraryuimotohsaka888-use-breakpointtwine-libtwine-library@amiruldev/wajs@amirdiafi/react-native-ios-haptics@apardellass/react-native-audio-stream@apaleslimghost/boxen@arb-protocol/tui@arielapaula/components@arielapaula/test@aviinash_jha/react-native-test_multiply@athenna/artisan@ali5049/react-native-buttons@baeta/ink@bee-icons/qwik@aysea/react-native-ui-library@bkrmadtya/sorting-steps@carllewi2/sapcdc-ally-driver@brootal/brosay@brantalikp/rn-resize
4.0.1

10 months ago

4.0.0

1 year ago

3.0.0

4 years ago

2.2.1

5 years ago

2.2.0

6 years ago

2.1.0

6 years ago

2.0.0

6 years ago

1.0.0

9 years ago