Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dudeofawesome/emoji-picker
Emoji Picking NPM module
https://github.com/dudeofawesome/emoji-picker
List: emoji-picker
emoji
Last synced: about 6 hours ago
JSON representation
Emoji Picking NPM module
- Host: GitHub
- URL: https://github.com/dudeofawesome/emoji-picker
- Owner: dudeofawesome
- Created: 2016-06-24T07:50:12.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-24T07:33:03.000Z (about 8 years ago)
- Last Synced: 2024-10-13T21:40:47.565Z (about 1 month ago)
- Topics: emoji
- Language: TypeScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Emoji Picker
Add more emoji to your life.## Example
```Javascript
import {EmojiPicker} from 'emoji-picker';console.log(`Emojis are so fun! ${EmojiPicker('happy')}`);
```## Usage
### Methods
* `EmojiPicker(emotion: EmojiOption | string, unicode: boolean = false): string`
* `emotion: EmojiOption | string`: The emotion you want emojied
* `unicode: boolean`: Whether you want unicode emojis or Slack-style ascii
* Returns an emoji to represent the specified emotion.
If it can't find an emoji to represent the specified emotion, then it will return an empty string### Properties
* `EmojiOption: enum`
* Emotions that are available to emojify