0.0.33 • Published 2 years ago

emoji-library v0.0.33

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Getting started

Installation

Install with yarn or npm: yarn or npm:

# 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 ā­ļø if this project helped you!

Or buy me a coffee šŸ™ŒšŸ¾

šŸ“ License

Copyright Ā© 2022 Hebert F Barros. This project is MIT licensed.

0.0.33

2 years ago

0.0.31

3 years ago

0.0.32

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago