react-color-log

1.0.12 • Public • Published

React Color Log

Color log helper functions for React, ReactNative Apps.

Install

yarn add react-color-log

or

npm install react-color-log --save

Example

Use browser console window to see the color logs.

Example

import { _success, _info, _warning, _error } from 'react-color-log';

_success('log message'); // Output green color log in browser console.

_info('log message'); // Output blue color log in browser console.

_warning('log message'); // Output yellow color log in browser console.

_error('log message'); // Output red color log in browser console.

License

MIT © H.R. Hiran Peiris

Dependencies (0)

    Dev Dependencies (6)

    Package Sidebar

    Install

    npm i react-color-log

    Weekly Downloads

    52

    Version

    1.0.12

    License

    MIT

    Unpacked Size

    276 kB

    Total Files

    13

    Last publish

    Collaborators

    • hiranpeiris