Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 725 Bytes

README.md

File metadata and controls

38 lines (29 loc) · 725 Bytes

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;