console-colorify
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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;

Package Sidebar

Install

npm i console-colorify

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

2.59 kB

Total Files

4

Last publish

Collaborators

  • sumitkumardas