Log to console with emojis 🦄
npm install emoji-logLog to console with emojis 🦄
❤️ it? ⭐️ it on GitHub or Tweet about it.
``
Art by Colin J. Randall
\
\
\\
\\
>\/7
_.-(6' \
(=___._/ \
) \ |
/ / |
/ > /
j < _\
_.-' : `..
\ r=._\
<\\_ \ .-.
\ r-7 -. ._ ' . \
\, -.7 7) )-._
\/ \| \' /
|| .'
\\ (
>\ >
,.-' >.'
<.'_.''
<'
``
- Installation
- Usage
- Issues
- 🐛 Bugs
- LICENSE
Ensure you have Node.js 10 or later installed. Then run the following:
`npm
npm install emoji-log
Usage
`
commonjs
require('emoji-log');js or ts
import 'emoji-log';Logging
> console.emoji();
> console.emoji(null);
> console.emoji(undefined);
> console.emoji('hello world');
> console.emoji('🦄', 'hello world'); # with custom emoji & data
> console.emoji('🐸', {hello: 'world'}); # maybe objects
> console.emoji('🔥', new Error('I set the length and emoji'), 15); # with custom emoji, data & line limit length`Browser

Node

Issues
_Looking to contribute? Look for the Good First Issue
label._
$3
Please file an issue here for bugs, missing documentation, or unexpected behavior.
Linting & TypeScript Config
@abhijithvijayan/eslint-config
- Shared TypeScript Configuration - @abhijithvijayan/tsconfigCredits
- Thanks to Robert Steele for the idea of unifying emojis
- This is sort of a fork of this idea by wesbos
- Special thanks to Jason Laster for transferring
emoji-log` nameMIT © Abhijith Vijayan