Nostalgic Perogi Monogramming

    eyecatcher

    0.1.8 • Public • Published

    EyeCatcher

    Build Status Coverage Status npm version

    A tiny library that creates beautiful logging.

    Installation

    npm install eyecatcher

    Usage

    const eyecatcher = require('eyecatcher');
    

    Prints your message, time and position in the code:

    eyecatcher.log('Log', 'example');
    eyecatcher.info('Info', 'example');
    eyecatcher.warn('Warning example');
    eyecatcher.error('Error example');
    

    Prints a block with your message:

    eyecatcher.logBlock('Log block example');
    eyecatcher.infoBlock('Info block example. Array:', yourArray);
    eyecatcher.warnBlock('Warning block example. JSON:', yourJson);
    eyecatcher.errorBlock('Error block example.');
    

    You can use an array or an object.

    Examples

    EyeCatcher

    Tests

    npm test

    License

    The MIT License (MIT)
    Copyright (c) 2018 Tamas Szoke

    https://opensource.org/licenses/MIT

    Install

    npm i eyecatcher

    DownloadsWeekly Downloads

    5

    Version

    0.1.8

    License

    MIT

    Unpacked Size

    46.5 kB

    Total Files

    7

    Last publish

    Collaborators

    • tamasszoke