An open API service indexing awesome lists of open source software.

https://github.com/nandovejer/console.cool

Console.log() of Javascript with styles
https://github.com/nandovejer/console.cool

Last synced: 2 months ago
JSON representation

Console.log() of Javascript with styles

Awesome Lists containing this project

README

        

# console-cool

![alt logo content](./assets/content.png)

`Console.cool` is a JavaScript library designed to enhance and customize the debugging and logging experience in the browser console. It provides several functions and styles that go beyond the standard JavaScript console capabilities, allowing developers to not only debug their code more effectively, but also to do so in a visually appealing and organized manner.

## How use

Don't forget use first letter **C** uppercase `Console.option(value);`

``` js
// Don't forget uppercase in the first letter
import Console from './console.cool.js';
```

## Status Console

**Success**

![alt success](./assets/success.png)

```javascript
Console.success("Line type Success");
```

**Info**

![alt info](./assets/info.png)

```javascript
Console.info("Line type Info");
```
**Warning**

![alt Warning](./assets/warning.png)

```javascript
Console.warn("Line type warning");
```

**Error**

![alt error](./assets/error.png)

## Format Console

![alt all formats](./assets/format.png)

```javascript
Console.error("Line type error");
```

**Italic**

```javascript
Console.italic("Line Italic");
```

**Bold**

```javascript
Console.bold("Line Bold");
```

**Underline**

```javascript
Console.underline("Line underline");
```

**Text Red**

```javascript
Console.red("Line red");
```

**Text Blue**

```javascript
Console.blue("Line blue");
```

**Text Green**

```javascript
Console.green("Line green");
```

## Nerd Console

**Poo**

![alt poo](./assets/poo.png)

```javascript
Console.poo("Nerd Time: poo");
```

**Gandalf**

![alt gandalf](./assets/gandalf.png)

```javascript
Console.gandalf("Nerd Time: gandalf");
```

**WonderWoman**

![alt wonderwoman](./assets/ww.png)

```javascript
Console.wonderwoman("Nerd Time: wonderwoman");
```