🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

cconsole

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cconsole

simple coloured console output

4.1.1
latest
Source
npm
Version published
Weekly downloads
6
-60%
Maintainers
1
Weekly downloads
 
Created
Source

cconsole Build Status

Zero-dependency simple coloured console output library.

Installation

Using npm:

$ npm install cconsole

API

cconsole(string)

Example

const cconsole = require('cconsole');

cconsole('{red(here is some red text)} and {blue(some blue)} text');

/*

    supports the following tags:

    {bold( .. text goes here .. )}
    {underline( .. text goes here .. )}
    {italic( .. text goes here .. )}
    {red( .. text goes here .. )}
    {blue( .. text goes here .. )}
    {green( .. text goes here .. )}
    {purple( .. text goes here .. )}
    {cyan( .. text goes here .. )}
    {yellow( .. text goes here .. )}
    {gray( .. text goes here .. )}
    {grey( .. text goes here .. )}
    {bg_red( .. text goes here .. )}
    {bg_blue( .. text goes here .. )}
    {bg_green( .. text goes here .. )}
    {bg_purple( .. text goes here .. )}
    {bg_cyan( .. text goes here .. )}
    {bg_yellow( .. text goes here .. )}
    {bg_gray( .. text goes here .. )}
    {bg_grey( .. text goes here .. )}
    {inverse( .. text goes here .. )}

*/

Keywords

console

FAQs

Package last updated on 29 Dec 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