UNPKG

pretty-console-colors

Version:

🌈 Show your console messages much more visible and intuitive. The terminal much more friendly.

87 lines (62 loc) • 2.5 kB
<p align="center"> <img src="./assets/banner.jpg" /> </p> <h1 align="center">Pretty Console Colors</h1> <p align="center">🌈 Show your console messages much more visible and intuitive. The terminal much more friendly.</p> <p align="center"> <a title="MIT License" href="LICENSE.md"> <img src="https://img.shields.io/github/license/gridsome/gridsome.svg?style=flat-square&label=License&colorB=6cc24a"> </a> <a title="Twitter: JoseJ_PR" href="https://twitter.com/JoseJ_PR"> <img src="https://img.shields.io/twitter/url?color=1991DA&label=Twitter%20%40JoseJ_PR&logo=twitter&logoColor=FFFFFF&style=flat-square&url=https%3A%2F%2Ftwitter.com%2FJoseJ_PR"> </a> <a title="Github: Sponsors" href="https://github.com/sponsors/JoseJPR"> <img src="https://img.shields.io/twitter/url?color=032f62&label=Github%20Sponsors%20%40JoseJPR&logo=github&logoColor=FFFFFF&style=flat-square&url=https%3A%2F%2Fgithub.com%2Fsponsors%2FJoseJPR"> </a> <br /> <br /> </p> <p align="center"> <img src="assets/screen.jpg" /> </p> ## šŸ”– Description This module improve the User Experience when he has to detect information within the log of his terminal. You can display information in a friendly and easy to read. ## šŸ“ How to work with this project Install this module into your project. ```bash npm i pretty-console-colors ``` ## šŸš€ Run Include the library in your main file. ```js // Get color Console Libary import 'pretty-console-colors'; // Show pretty console logs console.log('šŸ‘‹ Log: Hi from NodeJS'); console.info('šŸ‘‹ Info: Hi from NodeJS'); console.warn('šŸ‘‹ Warn: Hi from NodeJS'); console.error('šŸ‘‹ Error: Hi from NodeJS'); ``` ## šŸ“‚ Code Scaffolding ```any / ā”œā”€ā”€ assets 🌈 # Images Sources. ā”œā”€ā”€ doc # QAC Documentation. ā”œā”€ā”€ example # Local example. ā”œā”€ā”€ src šŸ“¦ # Main file library. └── ... ``` ## ā›½ļø Review and Update Sependencies For review and update all npm dependencies of this project you need install in global npm package "npm-check-updates" npm module. ```bash # Install and Run $npm i -g npm-check-updates $ncu ``` ## License [MIT](LICENSE.md) ## Happy Code Created with JavaScript, lot of ā¤ļø and a few ā˜•ļø ## This README.md file has been written keeping in mind [GitHub Markdown](https://guides.github.com/features/mastering-markdown/) \ [Emoji Cheat Sheet](https://www.webfx.com/tools/emoji-cheat-sheet/)