unicode-emoji-modifier-base

The set of Unicode symbols that can serve as a base for emoji modifiers, i.e. those with the `Emoji_Modifier_Base` property set to `Yes`.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
unicode-emoji-modifier-base
801.0.06 years ago6 years agoMinified + gzip package size for unicode-emoji-modifier-base in KB

Readme

unicode-emoji-modifier-base Build status Code coverage status
unicode-emoji-modifier-base is the set of Unicode symbols that can serve as a base for emoji modifiers, i.e. those with the Emoji_Modifier_Base property set to Yes.
It’s based on emoji-data.txt v3.0. See UTR51: Diversity Implementations for more information.

Installation

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

Then, require it:
const emojiModifierBase = require('unicode-emoji-modifier-base');

Usage

This module exports a Set object. The most common usage is to check if a given code point is an emoji modifier base:
emojiModifierBase.has(0x1F469)
// → true

Author

| twitter/mathias | |---| | Mathias Bynens |

License

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