https://github.com/mathiasbynens/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`.
https://github.com/mathiasbynens/unicode-emoji-modifier-base
Last synced: about 2 months ago
JSON representation
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`.
- Host: GitHub
- URL: https://github.com/mathiasbynens/unicode-emoji-modifier-base
- Owner: mathiasbynens
- License: mit
- Created: 2016-06-23T12:09:31.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-06-23T12:18:01.000Z (almost 9 years ago)
- Last Synced: 2025-03-28T22:23:41.051Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 11.7 KB
- Stars: 8
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-MIT.txt
Awesome Lists containing this project
README
# unicode-emoji-modifier-base [](https://travis-ci.org/mathiasbynens/unicode-emoji-modifier-base) [](https://codecov.io/gh/mathiasbynens/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](http://unicode.org/Public/emoji/3.0/emoji-data.txt). See [_UTR51: Diversity Implementations_](http://unicode.org/reports/tr51/#Diversity_Implementations) for more information.
## Installation
To use _unicode-emoji-modifier-base_ programmatically, install it as a dependency via [npm](https://www.npmjs.com/):
```bash
$ npm install unicode-emoji-modifier-base
```Then, `require` it:
```js
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:
```js
emojiModifierBase.has(0x1F469)
// → true
```## Author
| [](https://twitter.com/mathias "Follow @mathias on Twitter") |
|---|
| [Mathias Bynens](https://mathiasbynens.be/) |## License
_unicode-emoji-modifier-base_ is available under the [MIT](https://mths.be/mit) license.