Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dudeofawesome/emoji-picker

Emoji Picking NPM module
https://github.com/dudeofawesome/emoji-picker

List: emoji-picker

emoji

Last synced: about 1 month ago
JSON representation

Emoji Picking NPM module

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