Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jaywcjlove/console-emojis

Custom Console Logging with Emoji.
https://github.com/jaywcjlove/console-emojis

console console-emoji console-emojis emoji emojis

Last synced: 12 days ago
JSON representation

Custom Console Logging with Emoji.

Awesome Lists containing this project

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.