myconsolelog

1.0.8 • Public • Published

Myconsolelog

Lightweight console.log text highlighter with color and big font-size to differentiate the developer custom logs with the framework default err and info logs. Light weight than chalk js as it dosent contain un-nessesary features and dependencies. simple to use, nothing to learn for implimentation just use c() insted of console.log()

Installation

$ npm i myconsolelog --save

Usage

import {c} from 'myconsolelog';

c(1); // Outputs given highlighted number with big font and color

c(true); // Outputs given highlighted boolean with big font and color

c('my string'); // Outputs given highlighted string with big font and color

c('my array',[1,3,5]); // Outputs given array with highlighted text 'my array' with big font and color

let obj = {a:'text',b:'text'}

c('my object',obj); // Outputs given object with highlighted text 'my object' with big font and color

Package Sidebar

Install

npm i myconsolelog

Weekly Downloads

11

Version

1.0.8

License

MIT

Unpacked Size

1.64 kB

Total Files

3

Last publish

Collaborators

  • akhilmern