koulis-js icon indicating copy to clipboard operation
koulis-js copied to clipboard

Replace your boring console.log with the awesome koulis.log

koulis-js

Replace your boring console.log with the awesome koulis.log

Installing

The easiest way to install koulis-js is through npm

npm install --save koulis-js

Usage

Import koulis-js in your project

import { koulis } from 'koulis-js';

Use koulis.log for all your logging needs.

koulis.log("Hello world!");

Get awesomeness

There is built-in support for logging objects and functions. Running this code

const answer = 42;
const me = {
    name: "fedonman",
    job: "dev",
    github: "https://github.com/fedonman"
};
const add = (a, b) => a + b;

koulis.log("This is a number:", answer, ", this is an object:", me, "and this is a function:", add);

will result to this

Author

License

This project is licensed under the MIT License - see the LICENSE.md file for details