New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

box-console

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

box-console

box console for node

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
1
Created
Source

box-console Build Status npm dependents

Terminal box message

console

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.

  • boxen - Create boxes in the terminal

Keywords

console

FAQs

Package last updated on 04 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts