Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Meijer committed Jul 16, 2017
1 parent 222203f commit b714fdd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ emoji.emojify('I :heart: :coffee:!') // replaces all :emoji: with the actual emo
emoji.random() // returns a random emoji + key, e.g. `{ emoji: '❀️', key: 'heart' }`
emoji.search('cof') // returns an array of objects with matching emoji's. `[{ emoji: 'β˜•οΈ', key: 'coffee' }, { emoji: ⚰', key: 'coffin'}]`
emoji.unemojify('I ❀️ πŸ•') // replaces the actual emoji with :emoji:, in this case: returns "I :heart: :pizza:"
emoji.find('πŸ•'); // Find the `pizza` emoji, and returns `({ emoji: 'πŸ•', key: 'pizza' })`;
emoji.find('pizza'); // Find the `pizza` emoji, and returns `({ emoji: 'πŸ•', key: 'pizza' })`;
```

## Options
Expand Down

0 comments on commit b714fdd

Please sign in to comment.