sumit-kr-das / console-colorify

A npm library for colorify your console log

Home Page:https://www.npmjs.com/package/console-colorify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Console Colorify

JavaScript Library for colorify your console log


Colorify Preview

Install

$ npm i console-colorify

Using React

// ES6 Imports
import React from 'react';
import { Log } from 'console-colorify';

// Console anywhere
const StyledPaper = () => {
  Log.primary("Object is Called.")
  Log.success("Form submitted successfully :)")
  Log.denger("Error in your module !")
  Log.warning("Don't use this local variable !")
  Log.info("Information ")
  return (
    <>
        <h1>Basic Use of Console Colorify</h1>
    </>
  );
};

export default StyledPaper;

About

A npm library for colorify your console log

https://www.npmjs.com/package/console-colorify


Languages

Language:TypeScript 100.0%