1.0.1 β€’ Published 2 years ago

unicode-rgi-emoji-modifier-sequence v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

unicode-rgi-emoji-modifier-sequence

unicode-rgi-emoji-modifier-sequence is the set of Unicode symbols that can serve as a base for emoji modifiers, i.e. those with the Emoji_Modifier_Base property.

It’s based on emoji-data.txt v15.0. See UTR51: Diversity Implementations for more information.

Installation

To use unicode-rgi-emoji-modifier-sequence programmatically, install it as a dependency via npm:

$ npm install unicode-rgi-emoji-modifier-sequence

Then, import it:

import modifiableEmoji from 'unicode-rgi-emoji-modifier-sequence'

Usage

This module exports a Set object. The most common usage is to check if a given code point is an emoji modifier base:

modifiableEmoji.has(πŸ––)
// β†’ true

Attribution & License

Original author: Mathias Bynens

unicode-emoji-modifier-base is available under the MIT license.