📦 emoji-library
Set of searchable emojis for web
Systems on which it has been tested:
Did you like the project? Please, considerate a donation to help improve!
Set of searchable emojis for web
Getting started
Installation
Install with yarn or npm:
yarn
ornpm
:
# yarn
yarn add emoji-library
# npm
npm i emoji-library --save
Import the lib with es6 or cjs
// es6
import emoji from 'emoji-library';
// cjs
const emoji = require('emoji-library');
Usage examples
services
EmojiService
#!/usr/bin/env node
const { EmojiService } = require("emoji-library");
const emojiService = new EmojiService();
const emojiList = emojiService.getEmojiList(); // returns a list of all emojis
console.log('emojiList', emojiList[0]); // prints the first emoji
const emojiById = emojiService.getEmojiById('5ff7f6536ea31b02c0a37893');
console.log('emojiById', emojiById); // returns an emoji by id
const emojiByTitle = emojiService.getEmojiByTitle('Grimacing');
console.log('emojiByTitle', emojiByTitle); // returns an emoji by title
const emojiListByKeyword = emojiService.getEmojiListByKeyword('Grimacing');
console.log('emojiListByKeyword', emojiListByKeyword); // returns a list of emojis by keyword
data
emoji_list
#!/usr/bin/env node
const { emoji_list } = require("emoji-library");
console.log(emoji_list[0]); // prints the first emoji
🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Show your support
Give a
Or buy me a coffee 🙌🏾
📝 License
Copyright © 2022 Hebert F Barros.
This project is MIT licensed.