orange-console
v1.0.0
Published
box console for node
Downloads
5
Readme
box-console
Terminal box message
Install
$ npm install box-console
Usage
const chalk = require('chalk');
const boxConsole = require('box-console');
let msg = chalk(`New ${chalk.yellow('patch')} version of ${chalk.red('box-console')} available! ${chalk.red('0.1.0')} -> ${'0.1.1'}`);
let tip = chalk(`Registry ${chalk.cyan('https://github.com/snayan/box-console')}`);
let install = chalk(`Run ${chalk.green('npm i ' + 'box-console')} to update`);
boxConsole([msg, tip, install]);
or you can use for loading ESM modules.
import boxConsole from 'box-console';
API
boxConsole(messages) => string
messages
Type:string
|string[]
message be output.
Related
- boxen - Create boxes in the terminal