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

https://github.com/dergoogler/node-konsole

Powerful zero dependency and single import console logging tool for Node.js
https://github.com/dergoogler/node-konsole

Last synced: 12 months ago
JSON representation

Powerful zero dependency and single import console logging tool for Node.js

Awesome Lists containing this project

README

          

# node-konsole

Powerful zero dependency and single import console logging tool for Node.js

## Install

```shell
npm install --save node-konsole
```

## Usage

```js
// it doesn't matter it default imported or not
// import { konsole } from 'node-konsole';
import konsole from "node-konsole";

// <0> is the same like or
konsole.log("I'm blue underscored!<0>");
```

### Get by code

You can get the color by thier code, like this:

```js
import konsole from "node-konsole";

konsole.log("<30>Some colored text<0>");

// Expirental usage, may not work at all.
konsole.log("<30:5>Some colored text<0>");
```