댓글 검색 목록

[Nodejs] cli-columns - 컬럼으로 구분 된 unicode 및 ansi-safe 텍스트 목록입니다.

페이지 정보

작성자 운영자 작성일 19-03-07 12:47 조회 415 댓글 0

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));


screenshot 


댓글목록 0

등록된 댓글이 없습니다.

웹학교 로고

온라인 코딩학교

코리아뉴스 2001 - , All right reserved.