unicode-emoji-modifier-base
v1.0.0
Published
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
6,470,071
Maintainers
Readme
unicode-emoji-modifier-base
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
| | |---| | Mathias Bynens |
License
unicode-emoji-modifier-base is available under the MIT license.