UNPKG

rgb-console-log

Version:

Enhance user engagement and streamline log readability with our vibrant console package. Effortlessly grab user attention and categorize logs based on their purpose using colorful formatting. Upgrade your console output to not only inform but also captiva

62 lines (32 loc) 2.23 kB
[![rgb-console-log](https://nodei.co/npm/rgb-console-log.png)](https://nodei.co/npm/rgb-console-log/) # rgb-console-log ![Node Version](https://img.shields.io/badge/node.js-%3E=_4.0.0-green.svg?style=flat-square) ![NPM Version](https://img.shields.io/npm/v/rgb-console-log) ![NPM Downloads](https://img.shields.io/npm/dm/rgb-console-log) ![NPM License](https://img.shields.io/npm/l/rgb-console-log?logo=npm) ![GitHub License](https://img.shields.io/github/license/md-haroon/rgb-console-log?logo=github) ![GitHub forks](https://img.shields.io/github/forks/md-haroon/rgb-console-log) Enhance user engagement and streamline log readability with our vibrant console package. Effortlessly grab user attention and categorize logs based on their purpose using colorful formatting. Upgrade your console output to not only inform but also captivate users with visually distinct messages Moreover, incorporating [Bootstrap](https://getbootstrap.com) inspired properties into my package has broadened its appeal. Users from diverse backgrounds and skill levels can easily relate to and engage with the interface, thanks to its familiarity. ## Package Installation ```bash npm i rgb-console-log ``` ## Style Properties The properties of this package find their roots in the design philosophy of [Bootstrap alerts](https://getbootstrap.com/docs/4.0/components/alerts/). By leveraging the visual and functional elements that Bootstrap provides, I've ensured that this package inherits a familiar and intuitive user interface. - Primary - Secondary - Success ## Examples Here is the one to get you started: ```js import rgbConsole from "rgb-console-log"; rgbConsole.Primary.log("Primary style console log") rgbConsole.Secondary.log("Secondary style console log") rgbConsole.Success.log("Success style console log") ``` ![Alt text](https://github.com/md-haroon/rgb-console-log/blob/main/asset/out-put-console-window.png) ## LICENSE ![NPM License](https://img.shields.io/npm/l/rgb-console-log?logo=npm) ![GitHub License](https://img.shields.io/github/license/md-haroon/rgb-console-log?logo=github) `rgb-console-log` is released under the MIT license.