1.0.16 • Published 7 years ago

funsole v1.0.16

Weekly downloads
-
License
ISC
Repository
-
Last release
7 years ago

This will presumably make logging to the console a little more visually appealing. Includes options for giving front and background colors. The log is suffixed with datestamp.

First require the module.

var funsole = require('funsole');

Then for the console type :

funsole.log('Hello World !');
global['funsole'] = require('funsole');

and whereever you want to use,

funsole.log('Hello again !','yellow','red') 

For the color options, use the following syntax :

funsole.log(value,frontcolor,backgroundcolor);

For this version, the following colors are supported for each scheme.

Frontcolors :

white 
blue 
cyan 
green 
red 
purple 
brown 
lightgrey 
yellow 

Backgroundcolors :

blue
red

To use the color scheme;

funsole.log('Hello colorful world !', 'white' , 'blue' ); 

This will give blue background with white frontcolor.

Or, to just use the frontcolor ;

funsole.log('Hello colorful world !', 'yellow'); 

This will give the log in yellow colored text.

1.0.16

7 years ago

1.0.15

8 years ago

1.0.14

8 years ago

1.0.13

8 years ago

1.0.12

8 years ago

1.0.11

8 years ago

1.0.10

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago