New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-color-log

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-color-log

Simple color log package for React and ReactNative Apps

latest
npmnpm
Version
1.0.12
Version published
Maintainers
1
Created
Source

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

Keywords

react

FAQs

Package last updated on 19 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts