Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month ago
JSON representation
Custom Console Logging with Emoji.
- Host: GitHub
- URL: https://github.com/jaywcjlove/console-emojis
- Owner: jaywcjlove
- License: mit
- Created: 2018-01-04T10:55:16.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-07-09T13:09:16.000Z (6 months ago)
- Last Synced: 2024-10-29T23:50:29.266Z (about 2 months ago)
- Topics: console, console-emoji, console-emojis, emoji, emojis
- Language: TypeScript
- Homepage: https://jaywcjlove.github.io/console-emojis/
- Size: 163 KB
- Stars: 20
- Watchers: 4
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome - jaywcjlove/console-emojis - Custom Console Logging with Emoji. (TypeScript)
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.