Skip to content
Custom Console Logging with Emoji.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test Add file. Jan 4, 2018
.gitignore Add ignore file. Jan 4, 2018
.npmignore Update .npmignore Jun 10, 2018
README.md Update README.md Jun 10, 2018
console.png Add file. Jan 4, 2018
index.js Add file. Jan 4, 2018
package.json released v1.0.3 Jun 10, 2018

README.md

console-emojis

Emojis enhance just about any user experience. All Emoji come from the WebpageFX/emoji-cheat-sheet.com repository. help you write better code and make debugging more fun:

console emojis

Install

npm install console-emojis

Usage

require('console-emojis');
// es6
import 'console-emojis';

Examples

// Logging to the console
console.cn(" Welcome to China!");
console.u5408(" Hello -> u5408 !")
console.u6e80(" Hello -> u6e80 !")
console.u7981(" Hello -> u7981 !")
console.a(" Hello -> a !")
console.b(" Hello -> b !")
console.ab(" Hello -> ab !")
console.cl(" Hello -> cl !")
console.o2(" Hello -> o2 !")
console.sos(" Hello -> sos !")
console.no_entry(" Hello -> no_entry !")
console.name_badge(" Hello -> name_badge !")
console.no_entry_sign(" Hello -> no_entry_sign !")
console.x(" Hello -> x !")
console.o(" Hello -> o !")
console.stop_sign(" Hello -> stop_sign !")
console.anger(" Hello -> anger !")
console.hotsprings(" Hello -> hotsprings !")

// Output
🇨🇳  Welcome to China!

🈴  Hello -> u5408 !
🈵  Hello -> u6e80 !
🈲  Hello -> u7981 !
🅰️  Hello -> a !
🅱️  Hello -> b !
🆎  Hello -> ab !
🆑  Hello -> cl !
🅾️  Hello -> o2 !
🆘  Hello -> sos !
⛔  Hello -> no_entry !
📛  Hello -> name_badge !
🚫  Hello -> no_entry_sign !
❌  Hello -> x !
⭕  Hello -> o !
🛑  Hello -> stop_sign !
💢  Hello -> anger !
♨️  Hello -> hotsprings !
You can’t perform that action at this time.