Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 861 Bytes

README.md

File metadata and controls

42 lines (32 loc) · 861 Bytes

Coolsole

Description

Make your console output more pretty.
console.log with colored font & cool-askii-faces.
Funny face will say/inform/yell/shout with your message.

Install

yarn add coolsole
npm install --save coolsole

Import

import coolsole from 'coolsole'
const coolsole = require('coolsole')

Usage

coolsole.log("just String");
coolsole.info("arrays", {1: "with", 2: "Object"});
coolsole.warn([1, 2, 3]);
coolsole.warn("or", "arrays", "okay");
coolsole.error({1: "and Object", 2: "should be okay"});

Output

node

node

browser

browser

Author

[email protected]

License

MIT