UNPKG

eil-js

Version:

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.

9 lines (8 loc) • 206 B
export declare class Eil { private map; constructor(initialMap?: { [key: string]: string; }); convert(text: string): string; registerMapping(key: string, value: string): void; }