/console-emojis

Custom Console Logging with Emoji.

Primary LanguageTypeScriptMIT LicenseMIT

console-emojis

Buy me a coffee Coverage Status npm version

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 !

Contributors

As always, thanks to our amazing contributors!

Made with github-action-contributors.

License

Licensed under the MIT License.