Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benaubin/emoji-supported
Test whether an emoji is supported by the browser.
https://github.com/benaubin/emoji-supported
Last synced: 17 days ago
JSON representation
Test whether an emoji is supported by the browser.
- Host: GitHub
- URL: https://github.com/benaubin/emoji-supported
- Owner: benaubin
- License: mit
- Created: 2020-06-29T18:36:18.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-08-12T16:17:29.000Z (over 3 years ago)
- Last Synced: 2024-08-10T21:17:24.466Z (5 months ago)
- Language: TypeScript
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
# Emoji Supported?
Test whether an emoji is supported by the browser.
Extracted from [GitLab FOSS](https://gitlab.com/gitlab-org/gitlab-foss/-/raw/ee189fd511e1a2c06f05e0d40e1d0b8875151391/app/assets/javascripts/emoji/support/unicode_support_map.js).
## Installation
```sh
npm i --save emoji-supportedyarn add emoji-supported
``````js
import emojiSupported from "emoji-supported";emojiSupported("πΊπΈ"); //=> boolean
emojiSupported("π"); //=> boolean
```## License
MIT