Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dafrok/if-emoji
Check a character if it is a correctly supported emoji.
https://github.com/dafrok/if-emoji
emoji
Last synced: about 1 month ago
JSON representation
Check a character if it is a correctly supported emoji.
- Host: GitHub
- URL: https://github.com/dafrok/if-emoji
- Owner: Dafrok
- License: mit
- Created: 2016-12-22T02:52:54.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-04-17T08:09:54.000Z (8 months ago)
- Last Synced: 2024-10-31T11:04:29.260Z (about 2 months ago)
- Topics: emoji
- Language: JavaScript
- Homepage:
- Size: 12.7 KB
- Stars: 40
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# if-emoji
Check a character if it is a correctly supported emoji.
## Install
```
$ npm i if-emoji
```## Usage
```js
import ifEmoji from 'if-emoji'ifEmoji('蛤') // => false
ifEmoji('🐸') // => If your system / browser supports this emoji character correctly, the returned value will be true.
```