분류
Nodejs
cli-columns - 컬럼으로 구분 된 unicode 및 ansi-safe 텍스트 목록입니다.
본문
https://github.com/shannonmoeller/cli-columns
const chalk = require('chalk'); const columns = require('.'); const values = [ 'blue' + chalk.bgBlue('berry'), '笔菠萝' + chalk.yellow('苹果笔'), chalk.red('apple'), 'pomegranate', 'durian', chalk.green('star fruit'), 'パイナップル', 'apricot', 'banana', 'pineapple', chalk.bgRed.yellow('orange') ]; console.log(columns(values));
- 이전글cfonts - 콘솔용 섹시한 ASCII 글꼴. 19.03.07
- 다음글columnify - 콘솔 출력에 적합한 텍스트 기반 열을 만듭니다. 셀 랩핑을 지원합니다 19.03.07