# console-emojis **Repository Path**: mirrors/console-emojis ## Basic Information - **Project Name**: console-emojis - **Description**: 调试代码 console 输出结果中显示 emoji 图标,帮助您编写更好的代码,并使调试变得更有趣,如下,在命令行中你的调试前面加上了 emoji 图标,使用方法很简单,cons - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: https://www.oschina.net/p/console-emojis - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2018-01-05 - **Last Updated**: 2026-01-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README console-emojis === [![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor) [![Coverage Status](https://jaywcjlove.github.io/console-emojis/badges.svg)](https://jaywcjlove.github.io/console-emojis/lcov-report/) [![npm version](https://img.shields.io/npm/v/console-emojis.svg)](https://www.npmjs.com/package/console-emojis) [![](https://img.shields.io/github/issues/jaywcjlove/console-emojis.svg)](https://github.com/jaywcjlove/console-emojis/issues) [![](https://img.shields.io/github/forks/jaywcjlove/console-emojis.svg)](https://github.com/jaywcjlove/console-emojis/network) [![](https://img.shields.io/github/stars/jaywcjlove/console-emojis.svg)](https://github.com/jaywcjlove/console-emojis/stargazers) [![](https://img.shields.io/github/release/jaywcjlove/console-emojis)](https://github.com/jaywcjlove/console-emojis/releases) Emojis enhance just about any user experience. All Emoji come from the [WebpageFX/emoji-cheat-sheet.com](https://github.com/WebpageFX/emoji-cheat-sheet.com) repository. help you write better code and make debugging more fun: [![console emojis](https://github.com/jaywcjlove/console-emojis/assets/1680273/bb8073f8-d456-4785-88ae-13ee1df537bd)](https://jaywcjlove.github.io/console-emojis) ## Install ```bash npm install console-emojis ``` ## Usage ```js require('console-emojis'); // es6 import 'console-emojis'; ``` ## Examples ```js // 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](https://github.com/jaywcjlove/github-action-contributors). ## License Licensed under the MIT License.