4.1.1 • Published 5 years ago

cconsole v4.1.1

Weekly downloads
13
License
MIT
Repository
github
Last release
5 years ago

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 .. )}

*/
4.1.1

5 years ago

4.1.0

5 years ago

4.0.0

9 years ago

0.10.1

10 years ago

0.10.0

10 years ago

0.9.2

10 years ago

0.9.1

10 years ago

0.9.0

10 years ago

3.0.0

10 years ago

2.0.0

10 years ago

1.0.0

10 years ago

0.3.4

10 years ago

0.3.3

10 years ago

0.3.2

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.7

10 years ago

0.2.6

10 years ago

0.2.5

10 years ago

0.2.4

10 years ago

0.2.3

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.11

10 years ago

0.1.10

10 years ago

0.1.9

11 years ago

0.1.8

11 years ago

0.1.7

11 years ago

0.1.6

11 years ago

0.1.5

11 years ago

0.1.4

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago

0.0.1

11 years ago