An Angular Library That Displays Cool Messages In Console


Cool Console is a angular library that displays cool messages in the console.

console log javascript example, display console.messages javascript, console.log in angular html, console error messages in angular

How to make use of it:


npm install cool-console --save

Add CoolConsoleModule to App NgModule

import { CommonModule } from '@angular/common';
import { CoolConsoleModule } from 'ng-cool-console';
  imports: [
  bootstrap: [App],
  declarations: [App]
class MainModule {}


import { CoolConsoleModule } from 'ng-cool-console';
export class YourComponent {
  constructor(private cc: CoolConsoleService) {'✔ Successfully Initialized!');'⚠ Global Warning!');'💀 World is in danger!');'🕊 Everything will be okay!');{ name: 'ng-cool-console' });
    /* Custom Log
    *  @param1 args
    *  @param2 color
    *  @param3 backgroundColor 
    */'🕊 Everything will be okay!', 'black', 'red');

Global Options

Global options include the following options:

paddingstring‘5px 10px’Sets the padding for the console string box
borderRadiusstring‘2px’Sets the border radius for the console string box
fontSizestring’16px’Classes used on toastr service methods

Displays Cool Messages In Console, Cool Console Plugin/Github

See Demo And Download

Official Website(eneajaho): Click Here

This superior jQuery/javascript plugin is developed by eneajaho. For extra Advanced Usages, please go to the official website.