1.0.1 • Published 2 years ago

console-colorify v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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;