1.0.11 • Published 4 years ago

vincentxman-tools v1.0.11

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

vincentxman-tools

Mini lightweight console color logger.

install

> npm install vincentxman-tools 

demo.js

// demo.js
require("vincentxman-tools");

console.i("console.info");
console.e("console.error");
console.w("console.warn");
console.d("console.debug\n");

console.log("there is a " + "info".info + " e\n".e);
console.log("there is a ".black.whiteBG + "warn\n".blue.yellowBG.bold);

demo.ts

// demo.ts
import { _console } from "vincentxman-tools";
_console.init();

console.i("console.info");
console.e("console.error");
console.w("console.warn");
console.d("console.debug\n");

console.log("there is a " + "info".info + " e\n".e);
console.log("there is a ".black.whiteBG + "warn\n".blue.yellowBG.bold);

Style

function
colorwhitegreyblackbluecyangreenmagentaredyellow
backgroundwhiteBGblackBGblueBGcyanBGgreenBGmagentaBGredBG yellowBG
stylebolditalicunderlineinverse strikethrough
loginfoidebug d error e warn w
1.0.11

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.10

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago