Skip to content

The Emoji Interaction Library (EIL) is designed to seamlessly convert text emojis, such as :), into their actual emoji representations, e.g., ๐Ÿ™‚. This library supports customization, allowing users to register their own custom emojis or mappings.

Notifications You must be signed in to change notification settings

philipprost/eil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

13 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

EIL - Emoji Interaction Library

Convert emoji shortcodes into their actual emoji representations with ease!

Installation

npm:

npm install eil-js

cdn:

<script src="https://unpkg.com/eil-js@0.0.1/dist/emojiInteraction.js"></script>

Usage

import { EmojiInteraction } from "eil-js";

const ei = new EmojiInteraction();

console.log(ei.convert("RocknRoll :the_horns:")); // Outputs: RocknRoll ๐Ÿค˜

// Register custom mapping
ei.registerMapping("bad_mood", "๐Ÿ˜•");

Customization

ei.registerMapping("happy_smile", "๐Ÿ˜„");

๐Ÿ’ก Contributing

Contributions are welcomed!

License

MIT

About

The Emoji Interaction Library (EIL) is designed to seamlessly convert text emojis, such as :), into their actual emoji representations, e.g., ๐Ÿ™‚. This library supports customization, allowing users to register their own custom emojis or mappings.

Resources

Stars

Watchers

Forks

Packages

No packages published