Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/orangecms/emoji-generator
ES2015 Generator for emoji :heart_eyes_cat: :turtle:
https://github.com/orangecms/emoji-generator
Last synced: about 1 month ago
JSON representation
ES2015 Generator for emoji :heart_eyes_cat: :turtle:
- Host: GitHub
- URL: https://github.com/orangecms/emoji-generator
- Owner: orangecms
- License: mit
- Created: 2016-04-28T08:18:20.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-09-02T21:15:42.000Z (over 8 years ago)
- Last Synced: 2024-11-19T21:47:50.085Z (about 2 months ago)
- Language: JavaScript
- Size: 13.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## About
This is an ES2015 Generator to provide you with the power of emoji.
It accepts two parameters which they will be created from using the
`String.fromCodePoint()` function.Three sets are provided by default:
- `catfaceEmoji` alias `kittyEmoji`
- `turtleEmoji`
- `noEvilEmoji` (like [emojiterator](https://github.com/rgbkrk/emojiterator))## Installation
```bash
npm i -S emoji-generator
```## Quick example
```javascript
const kitty = require('emoji-generator').kittyEmoji;
console.log(kitty.next().value);
```## Resources
You will probably need a list of
[emoji codes](http://unicode.org/emoji/charts/full-emoji-list.html). 🐞